shahab_qureshi 0 Newbie Poster

we want to add functionality like "run" in windows.
add one text box and button
under button write this code

-->

System.Diagonestics.process.Start(TexBox1.Text);

now run it. here you have to give name of processes.
for example process name for windows media player is wmplayer so when you write this in textbox and press button it will open windows media player for you. thnx


Shahab Qureshi

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.