RE: Visual Cobol PE
You should never uninstall a product by cleaning out the registry. A simple uninstall from Control Panel should be enough. The registry may be in an inconsistent state now.If you look in Control Panel...
View ArticleRE: Get Datagrid items with checkbox collumn selected.
If you show me the C# code you use I will convert it to COBOL.
View ArticleRE: Get Datagrid items with checkbox collumn selected.
Something like this.Just typing out of my head im sure theres some erros. foreach(GridViewRow row in dgCaregories.Rows){ // Get the Checkbox cell value }
View ArticleRE: Get Datagrid items with checkbox collumn selected.
Something like this:perform varying row as type GridViewRow thru dgCategories::Rows *> Get the Checkbox cell valueend-performThis is documented in the language comparison chart here:Look at...
View ArticleRE: Get Datagrid items with checkbox collumn selected.
i get "System.Windows.Controls.DataGrid' has no member with name 'Rows'perform varying row as type System.Windows.Controls.DataGridRow thru dgCategory::Rows *> Get the Checkbox cell valueend-perform
View ArticleRE: Get Datagrid items with checkbox collumn selected.
DataGrid id based on ItemsControl, so use dgCategory::Items.Why are you not using Binding, which gives you all values in a simple collection with a condition-value for the checkbox?
View ArticleGet Datagrid items with checkbox collumn selected.
HelloCurrently I have a datagrid with 3 columns, ID - Name - Selected. The Selected column is a checkbox column. Im triying to fing a way to get all items in the datagrid with the Selected colum...
View ArticleRE: Work with a CALENDAR in WPF
Hi Chris,Thanks again for your solution. It wroks good.Best regardsAlberto Ferraz
View ArticleSqlcode 1403/1405
Hello,I use VisualCobol with a ado.net connection to oracle. In my programs the test of end of fetch is 1403 but ado.net returns 100 How can I the sql mode to oracle? Now i must change the test from...
View ArticleRE: Sqlcode 1403/1405
Hi Arno,Beginning with Visual COBOL V2.3 we added the directive SQL(PROCOB) for programs compiled to managed code using DBMAN=ADO. This will provide better compatibility with applications that used to...
View ArticleRE: How make a text with variables
Something like this: 01 mytext string value "This is booking: @numres for checkin on @dateent and checkout on @datsai". 01 resnum pic 9(4) value 2748. 01 checkin pic x(10) value...
View ArticleRE: How make a text with variables
Hi,Again a clear shot, It works perfectly.Thank you very much.Best RegardsAlberto Ferraz
View ArticleRE: How make a text with variables
Another approach is to use the String::Format method with replacement variable numbers instead.working-storage section.01 mytext string value"This is booking: {0} checkin on {1} and checkout on...
View ArticleRE: How make a text with variables
Thank you.It also works well. Now I see what the best option will be.
View ArticleHow make a text with variables
Hello again.At the end of a process of booking a hotel need to send a mail to the end customer with the booking confirmation.I have a pre-defined text (but can be changed) with the following...
View Articlenative COBOL calling object
Hi,Using Miicro Focus native COBOL in Visual Studio, I want to call an object, but I don't know how to reference it (it has been registered). in Visual Studio.Very similar to what I did, with much...
View ArticleRE: native COBOL calling object
Hi Fran,The native to managed interface in Visual COBOL is the same as it is in Net Express. You would register your .NET assembly for use with COM Interop and then you would use the native OO COBOL...
View ArticleRE: RichTextBox
A RichTextBox can contain other elements besides basic text so it is more complicated to use. If you are simply trying to input and display standard text data then Textbox would probably be more...
View ArticleRE: File remains locked after managed COBOL returns to ASPX caller
One possible solution would be to add exception processing for certain errors that could be detected. In your example of "File Not Found" you could add that check and then if the file is not there go...
View ArticleError in debuging
Hello,Since the operating system has an update and installed io .NET Framework 4.6 that can not run the Visual Colbol (with Visual Studio 2015) in debug mode, always gives an error in the...
View Article