alexk Posted May 4, 2003 Posted May 4, 2003 How can I Get or Put text to TextBox control at another application?? For example: Click on button in my application will Put string "Hello" into opened windows Notepade application. Thanks Quote
ailzaj Posted May 4, 2003 Posted May 4, 2003 To write from TextBox to file: FileOpen(1, "C:\VS.NET\stock.txt", OpenMode.Input) Input(1, txtStock.Text) FileClose() To write from file to TextBox FileOpen(1, "C:\VS.NET\stock.txt", OpenMode.Input) Input(1, stock) txtStock.Text = stock FileClose() Depending on whether you intend to add to the file or rewrite the file, change OpenMode. If there are several TextBoxes, then you will have to use an array. ailzaj Quote
Guest mutant Posted May 4, 2003 Posted May 4, 2003 To access another's application control you would need to play some time with Win32 API. Get window handles, and all that :) Quote
alexk Posted May 5, 2003 Author Posted May 5, 2003 There are no advanced methods to do it in VB.NET? Quote
*Gurus* divil Posted May 5, 2003 *Gurus* Posted May 5, 2003 No. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts