shellexecute

shellexecute

Postby Rick Lipkin » 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
User avatar
Rick Lipkin
 
Posts: 2634
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: shellexecute

Postby Rick Lipkin » Fri Feb 13, 2009 4: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
User avatar
Rick Lipkin
 
Posts: 2634
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 42 guests