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

Running a visual c++ program question

Status
Not open for further replies.

dukeyukon

IS-IT--Management
Jul 6, 2004
2
US
I'm learning Visual Studio .Net and just recently created a program that calls the ShellExecute API. The problem is when I click on the executable, a black screen pops up, opens a file, and then disappears. How do I make it so that the screen does not show up and just let the program run in the background?
Thanks for any help,
-KGD
 
if you run a console application the screen will appear anyway.
Instead of ShellExecute you may use CreateProcess.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top