Results 1 to 5 of 5
  1. #1
    Av3rage505's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    13
    My Mood
    Happy

    opening program...

    i am making a loading form, so when u press a button , form 2 shows up and it has to close when the program opens.

    and i like to know the code for opening the program as well.

    thank you !

  2. #2
    Cryptonic's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    United Provinces of Canada
    Posts
    1,313
    Reputation
    44
    Thanks
    190
    My Mood
    Bored
    I'm not too sure what you're asking but, to open a form you do formname.Show()

  3. #3
    Av3rage505's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    13
    My Mood
    Happy
    i mean when i press 'login' on form 1 than form 2 shows up.

    but when form2 shows up there must be starting a program like minecraft.exe automaticly. after 'minecraft.exe' opened form2 has to close automaticly.
    Last edited by Av3rage505; 07-18-2013 at 01:27 PM.

  4. #4
    Sazor98's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    X:13 Y:3 Z:7
    Posts
    154
    Reputation
    23
    Thanks
    64
    Shell("Minecraft.exe")
    Me.close

  5. #5
    atom0s's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    403
    Reputation
    139
    Thanks
    104
    Process.Start:
    Process.Start Method (System.Diagnostics)

    In the event that you want more control of what you are launching etc.
    - Gone; this is another shit forum with children as administrators. Not worth contributing to.

Similar Threads

  1. [Solved] Open Program On Startup
    By Amkay in forum Visual Basic Programming
    Replies: 3
    Last Post: 05-26-2012, 02:26 PM
  2. [Help] rez opening program
    By dakky in forum CrossFire Mods & Rez Modding
    Replies: 4
    Last Post: 09-30-2010, 11:30 PM
  3. CA crashes when opening a program.
    By lasts3cond in forum Combat Arms Discussions
    Replies: 3
    Last Post: 09-04-2009, 08:39 PM
  4. [req]how to open a program in C++
    By Stelthkid in forum C++/C Programming
    Replies: 21
    Last Post: 08-22-2009, 03:37 AM
  5. Make a C++ program open website?
    By Iamazn in forum C++/C Programming
    Replies: 0
    Last Post: 07-27-2009, 10:58 AM