Need help with ProcessStart

Results 1 to 5 of 5
  1. #1
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Need help with ProcessStart

    Basically, it's simple..


    But he ask me for "How to open the file?"

    I will start (Fiesta.bin) with a Launcher...

    Visual Basic
    Code:
    Process.Start("Fiesta.bin", ipbox.Text & "-p 9010 -k " & accountbox.Text & "#" & passwortbox.Text)
    CSharp
    Code:
    string username = Acc_box.Text;
    string passwort = Pass_box.Text;
    string arguments = "";
    arguments += "-i 127.0.0.1 -p 9010 -k" + username + "#" + passwort;
    Process start = new Process();
    start.StartInfo.FileName = "Fiesta.bin";
    start.StartInfo.Arguments = arguments;
    start.Start();
    VB and C# not work ._.

    How i can Start Fiesta.bin with a Launcher/Patcher ?



    I hate windows xDDDDD


  2. #2
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: Need help with ProcessStart

    PSI.UseShellExecute

  3. #3
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: Need help with ProcessStart

    Quote Originally Posted by iStu View Post
    PSI.UseShellExecute
    And for noob ? xDDDD

    More info please and thanks for your answer...

    You mean this ?

    Code:
    ProcessStartInfo psi = new ProcessStartInfo("Fiesta.bin");

  4. #4
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: Need help with ProcessStart

    ProcessStartInfo PSI = new ProcessStartInfo();
    PSI.FileName
    PSI.UseShellExecute = false;
    PSI.Arguments
    Process.Start(PSI);

  5. #5
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: Need help with ProcessStart

    Quote Originally Posted by iStu View Post
    ProcessStartInfo PSI = new ProcessStartInfo();
    PSI.FileName
    PSI.UseShellExecute = false;
    PSI.Arguments
    Process.Start(PSI);

    Thank you very much iStu ^^



Advertisement