Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Launch notepad
 

 

 

Description

This example shows how to launch notepad from your application . Note you can actually launch any app as long as you know the path to the executable file.

Code

/**************************************
launch notepad
***************************************/
#include <stdio.h>
#include <windows.h>
#include <conio.h>


int main(void)
{

printf("Explorer will launch.\n");
/*replace with the path to your explorer.exe*/
system("h:\\windows\\explorer.exe");
return 0;
}

Information

tested using Visual C++ 6

 

 

 

 

 

Download

launchnote.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Do while example(ASP)
check a directory exists(C Sharp)
getprotobynumber function(PHP)
display a list of IE favorites(VBScript)
getprotobyname function(PHP)
Random Amazon book link(PHP)
16 or 32 bit computer(ASP.net)
change the priority of a process(VBScript)

    




Copyright © 2003 by programmershelp.co.uk