Transfering a string from one vb.net application to another? -


so have 2 apps in first app have settings , example: ip port file instalation etc

and want second app recive strings , , save them , used, without my.setting , because second app portable (just .exe) , should able run on more pc same config.

i figured out sending , receving code: sending:

    process.start(my.application.info.directorypath + "/windowsapplication3.exe", textbox1.text & environment.newline & textbox2.text & environment.newline & textbox3.text) 

reciving:

    dim recivedtext string = command()     msgbox(recivedtext) 

so example if sending string is: 192.168.1.5 2425 c:\instalpath\

i want write exe file enter image description here

im using visual studio 2015

have @ tcp listener class , tcp client class on msdn

both pages contain sample code communicate 1 application another

there wcf option if want investigate that


Comments