Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: RE: Consuming WCF in NAtive Code via Managed Code in Visual COBOL

Hi Chris, I did the same what you suggested in the Managed Program which is instantiating & calling the WCF service. Now i am getting the Error as "Cannot Register the Assembly...

View Article


Forum Post: PDF printing very slow

Hi all, Hope all is well. I just have a query about printing to pdf.  Basically, we moved from Net Express to Visual Studio 2010 a short while ago. Some of our programs stayed as native code. One of...

View Article


Forum Post: RE: Consuming WCF in NAtive Code via Managed Code in Visual COBOL

Not all assemblies can be registered for COM Interop. You must ensure that only COM compatible types are being passed in and out of the interface. I would suggest that you make your COM layer simple...

View Article

Forum Post: RE: PDF printing very slow

When you are comparing the Net Express compiled program to the Visual COBOL compiled program are you running on the same computer? I am just wondering if the difference in speed is actually caused by...

View Article

Forum Post: RE: PDF printing very slow

Many thanks for the quick reply Chris. I am using the same PC and OS for both Net Express and Visual Cobol (version is 2.1 but am planning to install Cobol Server in the next week or so). The program...

View Article


Forum Post: RE: Monitoring a folder

Chris, thank you for help, that's exactly what I need, this process will run and when new files in the folder it shows to the user that there are new things for him there.

View Article

Wiki Page: Unable to set the Just-In-Time debugging options

Problem: The Just-In-Time debugging options are disabled and cannot be changed, and the following error occurs when attempting to check any options: "Just-In-Time debugging registration errors...

View Article

Forum Post: RE: Monitoring a folder

I have found a pretty good demo in C# and have rewritten it in Visual COBOL. I have published a new KB article here that has the demo attached to it. Please give it a try and let me know if this is...

View Article


Wiki Page: Using FileSystemWatcher class to monitor a folder in .NET

FileChangeNotifierVC.zip Problem: Is it possible to monitor a specified folder or filename for any changes that may occur from within a Visual COBOL Windows Forms application? Resolution: Yes it is...

View Article


Forum Post: RE: Consuming WCF in NAtive Code via Managed Code in Visual COBOL

I think that we might have discovered a problem in the area of calling a WCF Service when passing certain types of parameters by value in and out of the interface. The error message that we are...

View Article

Forum Post: RE: Monitoring a folder

Perfect, that's what I needed, but thank you very much.

View Article

Forum Post: System.IO.FileStream

Hi, Does any one have a Visual Cobol example of how to read a text file one character at a time using the System.IO.FileStream method so I can display the data in a TextBox ? Thanks in advance for any...

View Article

Forum Post: RE: System.IO.FileStream

Here is an example that creates a new file one byte at a time using FileStream and then reads it back one byte at a time using FileStream::ReadByte to verify what was written. $set ilusing"System.IO"...

View Article


Forum Post: MessageBoxResult

Good morning, I'm new to the forum, a query because the method does not appear MessageBoxResult? Any doubt I am to order. regards, Oscar Velasquez G. Panama

View Article

Forum Post: RE: MessageBoxResult

Hi Oscar, The MessageBoxResult enumeration is used in WPF applications. If you are creating a Windows Forms application then you should be using DialogResult instead:          evaluate type...

View Article


Forum Post: RE: What options are there for embedded SQL access in COBOL?

Your link to the information appears to be a broken link.

View Article

Forum Post: RE: How to do Popup list from Master-Slave tables

Hi C, I hope you're having a good summer. Any suggestions on doing popups with green screen? If not, I'll work it out, I just thought I'd ping you one more time. Thanks.

View Article


Forum Post: RE: System.IO.FileStream

Hi Chris, Thanks for that. Between what you gave me above and what I found on the internet I came up with the following code. Do you think this is the most efficient way of reading a flat file using...

View Article

Forum Post: RE: System.IO.FileStream

      method-id btnGo_Click final private.       01  ls-CharsRead pic 9(09).       01  ls-CharsReadx redefines ls-CharsRead.           03  filler   pic 9(06).           03  ls-Chars1000 pic 9(03)....

View Article

Forum Post: RE: System.IO.FileStream

Above works on a Button Click called "BthGo" then reads the import file which is over 1MB in size one byte at a time.

View Article
Browsing all 5819 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>