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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

button to open a file in a word processor 1

Status
Not open for further replies.

xxhockeyplaya311

Technical User
Joined
Feb 10, 2005
Messages
1
Location
US
i made most of my dialog already and i cant figure out how to make my program open a file wen i click the button
so if i had a file called info.txt under my documents and i have a button called info how would i make the button open that
 
ShellExecute(NULL, "open", "info.txt", NULL, NULL, SW_SHOW);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top