FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour shellexecute
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
shellexecute
Posted: Thu Feb 12, 2009 11:15 PM

To All

I have two different programs that I cut and past a simple shellexecute statement into :

Curl := "http://www.yahoo.com"
msginfo( Curl )

SHELLEXECUTE(nil,"open", cURL,0,0,1)

One program this works and the other different program it does not .. Driving me absolutely nuts .. I have created a 3 line test program with the above lines and it works .. However, the Shellexecure that will not respond nor will it fail in a try, catch, end try statement... just does not work. Granted, this code is buried at least 3 levels deep from and MDI main window..

1) Main MDIchild browse listbox .. click on a line for details
2) detail form is a modal dialog
3) click on a button for relational records to a modal listbox
4) click on a line for detail
5) click on a detail button to launch shellexec .. where it fails

Any ideas why this code will not work in all instances ??

Rick Lipkin

Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: shellexecute
Posted: Fri Feb 13, 2009 04:00 AM

To All

I don't know what happened .. I decided to re-build the application ( old app ) one module at a time and fixing some .rc's and some sloppy code .. and Shellexecute is working just fine ..

Go Figure

Thanks
Rick Lipkin

Continue the discussion