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

Forum Post: RE: Inheritance

I ask that you please do not send private messages to me directly on this forum as the private message function of this community site does not currently allow me to reply to messages. All questions...

View Article


Forum Post: RE: One click to run the Project?

Hi Paul, I am not sure why you need to start Visual COBOL in order to run the application. If you have created an .exe as your output file you should be able to create a shortcut on your desktop that...

View Article


Forum Post: RE: Find Objects in combobox WPF

Is this what you are looking for? This example displays the VALUE property in the list and then allows you to set the selected item to the one that matched the ID property given. 01 entry1 type...

View Article

Forum Post: RE: Find Objects in combobox WPF

basically im looking how to do ComboBox.FindString(String) Returns the index of the first item in the ComboBox that starts with the specified string. But I think it will be better if I use...

View Article

Forum Post: RE: One click to run the Project?

Hi Chris Thanks - that works fine now.  I also came across the 'missing cblrtsm.dll' problem and was able to google a solution you wrote up and I set the Run-time Model property to Dynamic, created a...

View Article


Forum Post: Sharing an instance of an object between classes.

Hi, I have a program consisting of 2 forms and several classes, i.e. customerclass, materialclass etc. These call an interop xfakt.dll which requires a new login for each new created instance. What I...

View Article

Forum Post: RE: Sharing an instance of an object between classes.

Hallo Karl You can possibly define xfakt as a static property in a class. So you can invoke it by myclass.xfakt. Freundliche Grüsse Werner Lanter

View Article

Comment on Knowledge Base

Dear Sirs Today we P5 processor development and production have at least P7, the issue becomes more complex since we are compiling in P5 processors and these binaries will be promoted to Production....

View Article


Forum Post: RE: Sharing an instance of an object between classes.

Not sure how the login requirement fits in but the usual approach is to implement the singleton pattern: en.wikipedia.org/.../Singleton_pattern Essentially, a class with a static method that maintains...

View Article


Forum Post: RE: Sharing an instance of an object between classes.

I think this would be the way to do it. Do you have any cobol examples on how to build the singleton class and the calls to it from other classes?

View Article

Forum Post: how to update run-time to version 2.2?

Hi, I've installed  vcvs2012_222.exe  in win 8 dev environment as suggested by mf support to resolve an issue. (1) How do i update the run-time? The current installation in our run-time environment...

View Article

Forum Post: RE: how to update run-time to version 2.2?

Hi Linden, Yes, there is always a companion COBOL Server version to any Visual COBOL upgrade. If you currently have a serial number for the COBOL Server product which is on maintenance then you should...

View Article

Forum Post: RE: how to update run-time to version 2.2?

Thanks once again Chris. I can't see the cs in my product updates though can see the 222 vc and addpack. I've contacted MF support. Regards, Linden

View Article


Forum Post: Adding resouces to project

I have several .jpg files that I would like to add as resources.  I use these to display a variable background color for a control at run time.  I have not found a way to add them under...

View Article

Forum Post: RE: Adding resouces to project

This is my code:             declare img as type System.Drawing.Image             set img to type...

View Article


Forum Post: Link error

Below is the link error we are getting in Visual Cobol that we did not get in our Net Express 3.1. What steps do I need to take to resolve this error ? Is this a missing parameter or  modules that has...

View Article

Forum Post: Get the date and time the local server

I need to get the date and time of the local server and write a file. It can not be the workstation because the user can change them. Is there some function or class that execute this process? VC 2.2...

View Article


Forum Post: RE: Get the date and time the local server

You can use the NetRemoteTOD WINAPI function to do this. The docs can be found here: A COBOL example of this would be: identification division. program-id. Program1. environment division....

View Article

Forum Post: RE: Get the date and time the local server

Hi Chris, The your example worked in Net Express but two hours forward already in Visual Cobol 2.2 .NET show the following error (attached). It would be the missing of a namespace?

View Article

Forum Post: RE: Get the date and time the local server

This is a native Windows API function and not a .NET Framework class so when it is being called from managed code P/Invoke.is being used under the covers. The warning you are getting is normal in this...

View Article
Browsing all 5819 articles
Browse latest View live


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