ShellExecute

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

ShellExecute

Postby llmclaughlin » Sat Oct 30, 2004 4:26 pm

Need help running a pcanywhere .chf file. I can get this to work
ShellExecute("NULL,NULL,"c:\\path\\file.chf",NULL,NULL,SW_SHOW);

I'm writing a helpdesk program, in the clients table I have column for the path of the .chf file posted to it. So, when you go to a specfic client need to click a button and the ShellExec looks at the table column to execute the remote session file. Does anyone no away to get to do this.

I've tried
ShellExecute("NULL,NULL,"tblClientspcnaywhere_chf->AsString",NULL,NULL,SW_SHOW);

I've tried pointing to the TEdit where the file name is for the client
ShellExecute("NULL,NULL,"txtPcanywhere->Text",NULL,NULL,SW_SHOW);

Any help appreciated

Thanks
llmclaughlin
 

See Tek-Tips

Postby 2ffat » Mon Nov 01, 2004 11:47 am

llmclaughlin,
Look at my suggestion at http://www.tek-tips.com/viewthread.cfm?qid=943338 .
James P. Cottingham

Look at me still talking
when there is science to do.
User avatar
2ffat
Forum Mod
Forum Mod
 
Posts: 433
Joined: Wed Jun 23, 2004 7:07 am
Location: South Hill, VA


Return to Technical

Who is online

Users browsing this forum: Google [Bot] and 16 guests