RE: Monitoring a folder
So you wish to have this functionality in a Windows Forms project is that correct? If you want this monitoring to be done in the background you will have to make this multithreaded by creating Worker...
View ArticleRE: 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 ArticleConsuming WCF in NAtive Code via Managed Code in Visual COBOL
Hi Chris,The objective is to Consume the WCF Created in .NET 4.5 in Visual COBOL.(In Native Code VIA Managed Code)To Do this I have followed following Steps:1. Created an Managed Project in Visual...
View ArticleRE: 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 so...
View ArticleRE: 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 ArticlePDF 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 these...
View ArticleRE: 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 is...
View ArticleRE: 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 ArticleRE: 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 what...
View ArticleRE: 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 ArticleSystem.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 ArticleRE: 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 ArticleRE: 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 ArticleMessageBoxResult
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 ArticleRE: What options are there for embedded SQL access in COBOL?
Your link to the information appears to be a broken link.
View ArticleWhat options are there for embedded SQL access in COBOL?
[Migrated content. Thread originally posted on 20 February 2012]Using embedded SQL statements in a COBOL program is a fairly common thing to do but even if you've been doing this for a while, it's not...
View ArticleHow to do Popup list from Master-Slave tables
Hi,I'm looking for an example that shows the best way to do a popup list that allows the user to choose a detail(slave) record that they can then edit.I'm writing small program that allows a user to...
View ArticleRE: 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 ArticleRE: 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