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

Forum Post: RE: Debugging

The default location for the compiler and run-time system files: NX: C:\program files (x86)\Micro Focus\Net Express 5.1\base\bin and C:\program files (x86)\Micro Focus\Net Express 5.1\base\bin\WIN64...

View Article


Forum Post: WM_COPYDATA

Hello, please help. I have 2 applications - managed and native - and need to use WM_COPYDATA message to pass (in this case just one string) data from managed to the native one. The most important is...

View Article


Forum Post: RE: Debugging

Thanks for all your help, but I think, I didn't explain our problem properly. We are developing module for Infor SunSystems. And SunSystems is complied in Net Express 5.1. And of course we are unable...

View Article

Forum Post: RE: Debugging

Whatever initiates the starting process (PID) is going to determine the runtime used. So the first COBOL element to be used will load that (whatever it was compiled with) runtime into memory. So if I...

View Article

Forum Post: RE: Debugging

Ok, thanks for explanation. But in this solution: starter NX 5.1 compiled program VS Cobol program will be called via CBL_EXEC_RUN_UNIT for new process (I suppose?) but how will be path defined for...

View Article


Forum Post: RE: Debugging

This is all  how that exe was compiled. When you compile a COM component or executable it can be set to dynamic binding. Therefore when this executable is started, then embedded code will look in the...

View Article

Forum Post: RE: Debugging

Ok, I am testing it now. Just to be sure, in Visual Studio setup for dynamic binding is: Project properties - COBOL Link - Run-time Model - Dynamic And if in application folder is DLL library from NE...

View Article

Forum Post: Looking for Resource

Does anyone know of a Visual Cobol expert looking for a job in Orange County, CA. I have an open position for a contract to hire position.

View Article


Forum Post: RE: Debugging

Must your newly compiled program reside in the same folder? Rather have it in a sub folder, or better still totally different folder. If there are runtime files in the same folder this might not work...

View Article


Forum Post: RE: Controls autosize in Visual cobol winforms

Windows Forms are not a Micro Focus technology. They are part of the .NET Framework which is from Microsoft. For questions relating to .NET specific topics like resizing Windows Forms it is usually...

View Article

Forum Post: Cobol .Net Exception Handling

Why does the exception handling var myex always reference "object reference not set to an instance of object"   Catch myex as type Exception set str = str::Append("Source " & myex::Source) set str...

View Article

Forum Post: RE: Cobol .Net Exception Handling

Try the following:          Catch myex as type Exception              set str to "Source " & myex::Source              set str = str & "Number " & myex::StackTrace              set str =...

View Article

Forum Post: RE: Cobol .Net Exception Handling

Sorry Chris, I should have been a little more explicit.  This is in visual studio for starters.  I am using the Stringbuilder class where I am referencing the var str so that part works fine.  When I...

View Article


Forum Post: RE: Cobol .Net Exception Handling

Never mind, I figured it out.  It is truly the exception "object reference not set..."   I am testing my Try Catch statement with several different exception types.  In this particular case, my...

View Article

Forum Post: Visual COBOL for eclipse

I'm running Windows 10. I've downloaded a student trial version of Visual COBOL for Eclipse - vce_23.exe  I run the .exe and it loads Eclipse Luna JAVA EE - but doesn't offer me a new COBOL project...

View Article


Forum Post: RE: Visual COBOL for eclipse

Edit: I've tried redownloading, the file and I've tried upgrading Eclipse. Both didn't work.

View Article

Forum Post: RE: Cobol .Net Exception Handling

How are you doing your database connection? I would think that you should be able to trap the MySqlException if you are connecting directly using the MySqlConnection  class but it probably would not...

View Article


Forum Post: RE: Cobol .Net Exception Handling

I have the connection string info in the app.config file.  Here is the connection code.  If you have any suggestions, please let me know.  I come from a C#/VB .net background and I am teaching myself...

View Article

Forum Post: RE: Cobol .Net Exception Handling

Sorry, correction.  My question is why doesn't it fall through to the Catch statement when the exception type is MySqlException.

View Article

Forum Post: RE: Cobol .Net Exception Handling

I don't have MySQL readily available but I tested this same thing with the SQL Server SqlClient provider and the exception handling works for me. If I pass an invalid connection string it jumps to the...

View Article
Browsing all 5819 articles
Browse latest View live


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