Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Browsing all 4356 articles
Browse latest View live

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 Article


RE: Get Datagrid items with checkbox collumn selected.

If you show me the C# code you use I will convert it to COBOL.

View Article


RE: 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 Article

RE: 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 Article

RE: 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 Article


RE: 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 Article

Get 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 Article

RE: Work with a CALENDAR in WPF

Hi Chris,Thanks again for your solution. It wroks good.Best regardsAlberto Ferraz

View Article


Sqlcode 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 Article


RE: 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 Article

RE: 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 Article

RE: How make a text with variables

Hi,Again a clear shot, It works perfectly.Thank you very much.Best RegardsAlberto Ferraz

View Article

RE: 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 Article


RE: How make a text with variables

Thank you.It also works well. Now I see what the best option will be.

View Article

How 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 Article


native 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 Article

RE: 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 Article


RE: 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 Article

RE: 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 Article

Image may be NSFW.
Clik here to view.

Error 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
Browsing all 4356 articles
Browse latest View live


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