Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening external program

Status
Not open for further replies.

cyberant

Programmer
Sep 21, 2003
44
ZA
Hi all!

I've created an Email browser program. I'm needing for my attachments to open in the programme required for their extensions. How would I go about opening my *.doc file and actually have word open it?

I really have'nt a clue on what to do, I've only been programming for approx. 3 months.

Thanks alot!

 
I guess this is easiest, include 'shellapi' in your uses and use this code:

ShellExecute(Handle, 'open', 'yourworddocument.doc', nil, nil, SW_SHOW);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top