I have imported a Net Express project that uses Dialog System into Visual COBOL. When I try to run in I get "DSRUN error 18,0,0".
I have added the Addpack for Visual Studio 2012: compataddpack2012_222.msi
Is there some other step I am missing?
I have imported a Net Express project that uses Dialog System into Visual COBOL. When I try to run in I get "DSRUN error 18,0,0".
I have added the Addpack for Visual Studio 2012: compataddpack2012_222.msi
Is there some other step I am missing?
I have imported a Net Express project that uses Dialog System into Visual COBOL. When I try to run in I get "DSRUN error 18,0,0".
I have added the Addpack for Visual Studio 2012: compataddpack2012_222.msi
Is there some other step I am missing?
Please see the KB article here:
Thanks.
I have imported a Net Express project that uses Dialog System into Visual COBOL. When I try to run in I get "DSRUN error 18,0,0".
I have added the Addpack for Visual Studio 2012: compataddpack2012_222.msi
Is there some other step I am missing?
Sorry the link I gave to you probably isn't accessible. Here is the article:
DSRUN error 18 - How to configure Visual Studio to run Dialog System Character mode applications
Problem:
Even if you have installed the Dialog System Addpack to be able to edit Dialog System applications, Visual Studio is not able to run Character mode Dialog System applications.
You will often get DSRUN error 18 when trying to run application from Visual Studio.
Resolution:
From within a Visual Studio command prompt you need to configure the DS Char environment to be used by Visual Studio 2010/2012. To do this you need to run two .bat files:
C:\\Program Files (x86)\\Micro Focus\\Visual COBOL for Visual Studio 2012>CreateEnv.bat
C:\\Program Files (x86)\\Micro Focus\\Visual COBOL for Visual Studio 2012\\bin>dscharenv.bat
Your environment will then be configured and you can launch Visual Studio from within the command prompt:
C:\\DSChracterApplication>devenv DSChracterApplication.sln
You should then be able to run DS Char type applications.
I have imported a Net Express project that uses Dialog System into Visual COBOL. When I try to run in I get "DSRUN error 18,0,0".
I have added the Addpack for Visual Studio 2012: compataddpack2012_222.msi
Is there some other step I am missing?
I can partly answer this myself now - if I copy the *.GS files to the \\DEVUG directory it now works.
But what is the proper solution? How do I make Visual Studio copy the screen files automatically, so that they are right now and anytime I change them in the future?
I have imported a Net Express project that uses Dialog System into Visual COBOL. When I try to run in I get "DSRUN error 18,0,0".
I have added the Addpack for Visual Studio 2012: compataddpack2012_222.msi
Is there some other step I am missing?
OK, so you are using the GUI Dialog System.
In solution explorer click on the .gs files and in the property window set the copy to output folder property to always or when newer.
Then whenever the project is built it will copy the files to the DEBUG folder.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.