Please Help: Open file from within FiveWin

Post Reply
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Please Help: Open file from within FiveWin

Post 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
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

Enrico,

Once again you have saved the day :-))

Thanks for the fast reply.

Jeff
Post Reply