d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Visual Basic 2005 > Sendkeys Multiline Textbox
12Next
Add Reply New Topic New Poll
Member
Posts: 686
Joined: Jun 26 2008
Gold: 27.40
May 28 2012 06:35pm
trying to send a multiline textbox to notepad 1 line at a time anyone able to help?
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 28 2012 06:36pm
what's the point of this? Is it sufficient to just use IO to write to a file as a stream instead of using notepad?
Member
Posts: 686
Joined: Jun 26 2008
Gold: 27.40
May 28 2012 06:37pm
just trying to refresh memory of using multiline textboxes and playing with sendkeys
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 28 2012 06:44pm
i think you can simply call the Text property to get the string, then you can break it on newline (System.Environment.Newline iirc) if you only want a single line at a time

This post was edited by carteblanche on May 28 2012 06:45pm
Member
Posts: 686
Joined: Jun 26 2008
Gold: 27.40
May 28 2012 06:46pm
ya no idea how to do any of that
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 28 2012 06:51pm
if you dont know how to invoke properties from the UI controls, i suggest reading up tutorials before using UI controls.

if you dont know how to break a string, google is your friend

http://lmgtfy.com/?q=visual+basic+break+string
Member
Posts: 686
Joined: Jun 26 2008
Gold: 27.40
May 28 2012 06:52pm
Quote (carteblanche @ May 28 2012 07:51pm)
if you dont know how to invoke properties from the UI controls, i suggest reading up tutorials before using UI controls.

if you dont know how to break a string, google is your friend

http://lmgtfy.com/?q=visual+basic+break+string


ya still not help to me ty tho
Member
Posts: 686
Joined: Jun 26 2008
Gold: 27.40
May 28 2012 07:40pm
no one able to show me how to do this?
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 28 2012 07:43pm
this isn't the trade forum. don't bump it in under an hour.

you probably shouldn't be messing with external processes if you're this new, tbh.
Member
Posts: 686
Joined: Jun 26 2008
Gold: 27.40
May 28 2012 07:44pm
Quote (carteblanche @ May 28 2012 08:43pm)
this isn't the trade forum. don't bump it in under an hour.

you probably shouldn't be messing with external processes if you're this new, tbh.


gee and here i thought sendkeys was pro
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll