Vb.NET: Passing Parameters from one application to another (Visual Basic 2008/2010)

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 44

  • @philtaylor3098
    @philtaylor3098 2 роки тому

    I hope the person who made this can still see comment. This is good: I've been through dozens of videos and tutorials trying to find a simple answer that "actually works" and this one did. Plain and simple and not paragraph after paragraph of nonsense. I can't thank you enough.

  • @gereral1_jackofalltrades
    @gereral1_jackofalltrades 7 років тому

    is it possible to right click on a file. do nothing and use%1 which is argument for the file path to pass to a public variable. then launch VB program and after its loaded extract the public variable to use path to do other things with?

  • @johnedwards1968
    @johnedwards1968 5 років тому

    Is there a way to send information from the app launched by process, back to the program which contains process?

  • @Grandus11
    @Grandus11 7 років тому

    is there a way to send another instance of data to receiver without using process.start
    the current tutorial works good but it starts another instance of receiver if you enter more data and click a second time

  • @hm_techsphere
    @hm_techsphere 6 років тому

    Please I've just installed the Visual Studio 2010 Professional and I'm been asked to choose my default environrnent, which of them should i choose

  • @gereral1_jackofalltrades
    @gereral1_jackofalltrades 7 років тому

    how about once receiver is loaded you have the receiver send back to the sender..... just use command() to communicate. reason I ask is to use this to call a custom msg box and the yesno can be passed to the first app. this would allow my 4 programs to use one set msgbox

  • @08calf
    @08calf 12 років тому

    ahm. is there any way to send parameters from one application to another currently running application? im hoping for your response. thanks in advance.....

  • @slayerxyz0
    @slayerxyz0 13 років тому

    @BrandonioProductions What if I added a / or - in front of the command?

  • @jitendrakumardas
    @jitendrakumardas 2 роки тому

    In the same manner, I would like to pass 3 string variable from Excel VBA to VB,Net application. Could you please help to provide the code. Thank you

  • @VictorWembanyamaHighlights
    @VictorWembanyamaHighlights 5 років тому

    can we do it in C# application also ?

  • @StephenKarl_Integral
    @StephenKarl_Integral 10 років тому +2

    Why don't use Environment.GetCommandLineArgs() ? (Or My.Application.CommandLineArgs ? - since you used VB's Msgbox)

  • @eliaspizarro3290
    @eliaspizarro3290 8 років тому

    what about if i want to send args to the same form in a single instance?

  • @mantumalakar8081
    @mantumalakar8081 9 років тому

    Hello, Can you help me to receive The error code generated by other application? into my application?

  • @Eduardconstantin92
    @Eduardconstantin92 11 років тому

    any idea how to send command from textbox 1 , textbox2 , check box1, to cstrike process ?

  • @08calf
    @08calf 12 років тому

    from this video it only shows how to send to a non-running application (receiver)... how abt to a running one?

  • @jameskuch
    @jameskuch 9 років тому

    Hey there, thanks for the tutorial. Definitely useful in certain circumstances where you are starting another application. Is there a modification of this technique (or a totally different technique that you could recommend) where an already-in-memory listener program receives data constantly from a sender program?

    • @BrandonioProductions
      @BrandonioProductions  9 років тому +1

      +James Kuchenbecker Unfortunately, I am not well versed in the details of message passing in VB.NET. However, an easy way to implement this without knowing the details of message passing would be to have the sender write to a file and the receiver read from that file.
      Hope this helps! The keyword to look for the technique you describe would be "Message passing".

  • @llssssll
    @llssssll 10 років тому

    Hi, I tried to use Dim InCommd As String = Command(), it worked, but after I added the ADODB object to my project, the Command() became an unrecognised type, any help?

    • @llssssll
      @llssssll 10 років тому

      I tried the "Environment.GetCommandLineArgs()" from Stephen Karl's reply, it works! Thanks

  • @kenw2736
    @kenw2736 3 роки тому

    This works perfectly but how do you send more than one parameter?

    • @philtaylor3098
      @philtaylor3098 2 роки тому

      concatenate the parameters with a "& " sign and a put in a comma, then on the other side split them with the comma being the separator. "blah blah " & " , " & "blahblah". Now you have two

  • @jecktamsi4966
    @jecktamsi4966 6 років тому

    after showing receiver form. is there a way to hide (not close) receiver form from sender form? ? btw thanks for this tut.. it help a lot

  • @alecgealone1083
    @alecgealone1083 5 років тому

    can you do that in c# windows form application

  • @CV_CA
    @CV_CA 8 років тому

    1:20 Reciever?

  • @w33dp0w3r
    @w33dp0w3r 12 років тому

    hi there , very helpful this app :) i need to know how to send to another running ( or not ) application like yahoo messanger . i wanna send my username and passwd . any help ?
    thanks ... submiting right now .

  • @aliAli-li8lz
    @aliAli-li8lz 9 років тому

    Thank you. this is what I need but I need the codes for vb6.0 would you help me

  • @2dumb2type
    @2dumb2type 12 років тому

    Thanks for this tutorial, im going to use it in my new application in order to get working the updater.

  • @Japanwale
    @Japanwale 5 років тому

    How to second form to first form data

  • @nreh0
    @nreh0 9 років тому

    Thank you so much, extremely useful for the programs I'm trying to make.

    • @BrandonioProductions
      @BrandonioProductions  9 років тому +2

      +Ztrex I'm glad you found the video helpful. Thanks for watching!

  • @08calf
    @08calf 12 років тому

    thanks for this video! keep it up dude!!

  • @unrealskillVIP
    @unrealskillVIP 9 років тому

    I Love You! Nice Tutor!

  • @ivanllorente2919
    @ivanllorente2919 2 роки тому

    Thank youuuuuuu for this video!

  • @lamvo925
    @lamvo925 8 років тому

    Thank you so much, This video is useful for me.

  • @dcal1736
    @dcal1736 9 років тому

    To easy of an example. How about doing an example where you everytime a row is updated, the other app gets the new row.

  • @zigydk
    @zigydk 8 років тому

    I love you had Mass Effect on there.

  • @L3SAN360TUTORIALS
    @L3SAN360TUTORIALS 12 років тому

    form to form as you saw in the video.

  • @ArifYusifov
    @ArifYusifov 5 років тому

    This is not about passing parameters, your application does not pass the varaibles. The correct name of your video is "start other applications with defined parameters"

  • @mdalijaffry7836
    @mdalijaffry7836 10 років тому

    Thanks was very useful

  • @michael_azzer
    @michael_azzer 9 років тому

    Thank you very much -(( very helpful tut))

  • @sharminshirgaonkar4081
    @sharminshirgaonkar4081 5 років тому

    working....thanks

  • @AlexShynkarenko
    @AlexShynkarenko 13 років тому

    Last!

  • @Plasms
    @Plasms 12 років тому

    Lol, 6:38

  • @hm_techsphere
    @hm_techsphere 6 років тому

    Please I've just installed the Visual Studio 2010 Professional and I'm been asked to choose my default environrnent, which of them should i choose