Click here to Skip to main content
15,910,872 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HELLO

in my project C# windows application in have button that display ( Team Viewer)
i use this code

Process p = Process.Start(@"C:\Program Files (x86)\TeamViewer\Version9\TeamViewer.exe");
Thread.Sleep(500); // Allow the process to open it's window
SetParent(p.MainWindowHandle, this.Handle);





and it work fine :)
but now i want to send the textbox.text contain IPaddress directly to fill ( PartnerID )field ?
please help me
Posted
Comments
[no name] 25-Apr-14 11:32am    
Did you look at the StartInfo class?
sam9787 25-Apr-14 11:38am    
what ?
[no name] 25-Apr-14 12:01pm    
Which part of "Did you look at the StartInfo class" did you not understand?
[no name] 25-Apr-14 12:03pm    
Sorry, it actually a property.
sam9787 25-Apr-14 12:13pm    
man ... i don't understand how to use StartInfo class .
i Google it but nothing useful
please help me with code if you can :)
thanks a lot :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900