I have a problem starting a Progress application with the ShellExecute function
I have defined the ShellExecute function and this is my sourcecode to
execute it:
retval = ShellExecute(Me.hwnd, "open", strApplication, "", "", 3)
strApplication is a bat file with two statements:
cd g:\application\dlc\
g:\application\dlc\application.exe -basekey ini
The application start with a MS-error: Progress Prowin32 has encountered a
problem and needs to close. We are sorry .....
When I start the bat file from the command-line there is no problem at all
and when I remove the parameters -basekey and ini there is no error but the
program does'nt react at all.
Who has experience with Progress an VB?
Thank you in advance
Leiden, The Netherlands
Karl E. Peterson - 23 Jun 2005 22:44 GMT
> I have a problem starting a Progress application with the
> ShellExecute function
[quoted text clipped - 17 lines]
>
> Who has experience with Progress an VB?
Not I! But a wild guess might be for you to add another line to the batch file, to
make the G: drive current?
Or, rearrange everything by caching the current drive/directory, changing to the
desired ones using ChDrive and ChDir, then spawning the EXE directly. That avoids
the need for the batch file altogether, right?

Signature
Working Without a .NET?
http://classicvb.org/petition