Sinisterly
Question!!!! - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework)
+--- Thread: Question!!!! (/Thread-Question--38084)



Question!!!! - 3r3bus - 10-07-2011

Hey,
I would like to know how to bind a server to a VB app.
I'd like the server will execute when the user pushes a button (in the program) rather than when the program is executed.


RE: Question!!!! - Coder-san - 10-07-2011

You can execute another program from your program by:
  1. Adding in resources then dropping it somewhere and running by Shell / Process.Start
  2. Adding in resources then using RunPE
  3. Downloading it somewhere then running by Shell / Process.Start
  4. Downloading it to memory and using RunPE (untested)



RE: Question!!!! - 3r3bus - 10-07-2011

(10-07-2011, 02:54 PM)Coder-san Wrote: You can execute another program from your program by:
  1. Adding in resources then dropping it somewhere and running by Shell / Process.Start
  2. Adding in resources then using RunPE
  3. Downloading it somewhere then running by Shell / Process.Start
  4. Downloading it to memory and using RunPE (untested)
KK, ill give it a go tomoz, and i will tell you how i go, Thanks



RE: Question!!!! - 3r3bus - 10-08-2011

(10-07-2011, 02:59 PM)M0Th3rL4Mb Wrote:
(10-07-2011, 02:54 PM)Coder-san Wrote: You can execute another program from your program by:
  1. Adding in resources then dropping it somewhere and running by Shell / Process.Start
  2. Adding in resources then using RunPE
  3. Downloading it somewhere then running by Shell / Process.Start
  4. Downloading it to memory and using RunPE (untested)
KK, ill give it a go tomoz, and i will tell you how i go, Thanks
Ok Please remember I am a beginner.
I am still unsure of how to put the server into the program i make and when the button is pushed it will execute.
The only command i could think of for this to work is: System.Diagnostics.Process.Start
But the file has to be on your PC already ???



RE: Question!!!! - Coder-san - 10-08-2011

Check the "Stub and builder" tutorial for the basics, rest is upto you though.