RE: Inheritance
I checked with development and the use of inherited data items as host variables in OpenESQL is not currently supported in the product.I would suggest that you open up a support incident with Customer...
View ArticleRE: Find Objects in combobox WPF
Can you please clarify what it is exactly that is in the Items collection? You have a class defined with the two properties shown above and you are adding instances of that class to the combobox?Can...
View ArticleFind Objects in combobox WPF
I have a combobox filled with a list of objects itemAttributes that is defined as 01 value-id pic 99999999 value 0 property as "ID". 01 attribute-value pic x(30) value spaces property as "VALUE".im...
View ArticleRE: Find Objects in combobox WPF
Yes, is class with 2 properties. set lblAttrib1::Content to category-attributes(idx)::NAMEset cbAttrib1::ItemsSource to category-attributes(idx)::VALUESset cbAttrib1::DisplayMemberPath to "VALUE"set...
View ArticleRE: 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 ArticleRE: 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 ArticleRE: 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 ArticleRE: 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 ArticleRE: One click to run the Project?
Hi ChrisThanks - 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 ArticleOne click to run the Project?
I have Micro Focus Visual COBOL 2.2 (Personal Edition) Version 2.2.00151 with Visual Studio 2012 running under Windows 8.1, and all is wellI have written a specific backup program in COBOL that copies...
View ArticleRE: Sharing an instance of an object between classes.
Hallo KarlYou can possibly define xfakt as a static property in a class. So you can invoke it by myclass.xfakt.Freundliche GrüsseWerner Lanter
View ArticleRE: 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_patternEssentially, a class with a static method that maintains a...
View ArticleRE: 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 ArticleSharing 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 ArticleRE: 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 Articlehow 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 was...
View ArticleRE: 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 ArticleRE: Adding resouces to project
This is my code: declare img as type System.Drawing.Image set img to type System.Drawing.Image::FromFile("S:\V60\AWMGD\AG_100_EnterTrans\AG_100_MaintTrans\Resources\Checks.jpg")...
View Article