Windows Develop Bookmark and Share   
 index > Windows Forms General > help with winforms
 

help with winforms

how do i create a winforms app that runs external appsin Vc#? and can it be done using eventhandelers?
not yet compiled

using

System;

using

System.Collections.Generic;

using

System.ComponentModel;

using

System.Data;

using

System.Drawing;

using

System.Linq;

using

System.Text;

using

System.Windows.Forms;

using

basics.exe;

namespace

Project1

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private void button1_Click(object sender, EventArgs e)

{

this.Close();

}

private void button2_Click(object sender, EventArgs e)

{

}

}

}

lego-man  Wednesday, September 30, 2009 4:52 PM
Are you takling about starting a program from your code.
If so try System.Diagnostics.Process.Start method.

ex:
System.Diagnostics.

Process.Start("Excel");

Tamer Oz  Wednesday, September 30, 2009 5:03 PM
Tamer Oz  Wednesday, September 30, 2009 5:46 PM
Are you takling about starting a program from your code.
If so try System.Diagnostics.Process.Start method.

ex:
System.Diagnostics.

Process.Start("Excel");

Tamer Oz  Wednesday, September 30, 2009 5:03 PM
yep that the one. by the still quite new to the programming enviroment and to the community. can you tell me what that method does im not completly familiar with that?
lego-man  Wednesday, September 30, 2009 5:39 PM
Tamer Oz  Wednesday, September 30, 2009 5:46 PM

You can use google to search for other answers

Custom Search

More Threads

• Vista-style MenuStrip
• Issues with form positioning
• Porting web co-ordinates to windows co-ordinates
• Datagrid question
• Windows API for Domain Logon
• User Control constructors
• Window Services Authentication question
• Class level variable initializers stopped working at Design Time
• Make Listview is readonly
• RTFBox only scrolls after recieving focus?