Iron Skull
Dec 3rd, 2006, 04:51 AM
Hi I need to call my Program like this:
C:\program.exe name
And I want to show the Agrument name in a label.
I tryed to do this like this:
namespace HelloWorld
{
public partial class frmMain : Form
{
public frmMain()
{
InitializeComponent();
}
private void frmMain_Load(object sender, EventArgs e)
{
lblMsg.Text = "Hello" + e + "to this world!";
}
}
}
I figured out that this was wrong..
I didn't find anything on google.
And I asked my C# Teacher.. And she had NO CLUE were I was talking about..
(Ok, she is really a noob, she only knows or textbook inside - out but ok..)
Is here ayone how can help me out ^^?
C:\program.exe name
And I want to show the Agrument name in a label.
I tryed to do this like this:
namespace HelloWorld
{
public partial class frmMain : Form
{
public frmMain()
{
InitializeComponent();
}
private void frmMain_Load(object sender, EventArgs e)
{
lblMsg.Text = "Hello" + e + "to this world!";
}
}
}
I figured out that this was wrong..
I didn't find anything on google.
And I asked my C# Teacher.. And she had NO CLUE were I was talking about..
(Ok, she is really a noob, she only knows or textbook inside - out but ok..)
Is here ayone how can help me out ^^?