Page 1 of 1

Please Help: Open file from within FiveWin

Posted: Tue Dec 06, 2005 3:55 pm
by Jeff Barnes
Hi Everybody,

I have a problem opening a file from within my program.
The file name is a bit unusual and is causing problems.

From Windows I can click on the file and it launches its program without any problems but it will not work from within FineWin.

An example of the filename is: "ABR, Demo 03-14-2005 16-30-48.sd"

I have tried:
WaitRun("\mypath\ABR, Demo 03-14-2005 16-30-48.sd")
WinExec("\mypath\ABR, Demo 03-14-2005 16-30-48.sd")
ShellExecute("\mypath\ABR, Demo 03-14-2005 16-30-48.sd")

and none are able to open the file.

I can not modify the filename to change its structure.

Can anyone suggust a way to do it?

Thanks,
Jeff

Re: Please Help: Open file from within FiveWin

Posted: Tue Dec 06, 2005 3:59 pm
by Enrico Maria Giordano
SHELLEXECUTE( 0, 0, "\mypath\ABR, Demo 03-14-2005 16-30-48.sd", 0, 0, 1 )

EMG

Posted: Tue Dec 06, 2005 4:21 pm
by Jeff Barnes
Enrico,

Once again you have saved the day :-))

Thanks for the fast reply.

Jeff