Added: 3 years ago
From: youhakim
Views: 2,341
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (6)

Sign In or Sign Up now to post a comment!
  • great video man

    and your English is CHARMING btw

  • Excellent video!

    How long did it take you to build up such an extensive knowledge of computers?

    Your videos are really helping me man, thank you.

  • Is doing this in c# is similar?

  • private void Form1_Load(object sender, EventArgs e){StringBuilder s=new StringBuilder(); for(int i=1; i<Environment.GetCommandLineAr­gs().Length;i++){s.Append(Envi­ronment.GetCommandLineArgs()[i­]); s.Append(" ");} s.Remove(s.Length - 1, 1);label1.Text=s.ToString();} private void Form1_Click(object sender, EventArgs e){for(int i=1; i<Environment.GetCommandLineAr­gs().Length;i++){MessageBox.Sh­ow(Environment.GetCommandLineA­rgs()[i]);}}

  • dima9917, Thanks for your comment :)

    Above -or below- is the c# code that does the same thing as the VB code in the video, things are different with c# because the name of the program itself is considered an argument and because there is no such thing as "My" name space alias that makes life easier for VB programmers.

    (The code looks messy because of the limit number of characters I am allowed to post!).

  • Its Working!

    Cool!

    Thanks!

  • Great video.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more