☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
Computers & IT
>
Programming & Development
> Visual Basic 2005 > Sendkeys Multiline Textbox
1
2
Next
Add Reply
New Topic
New Poll
Views: 342
Replies: 10
Track Topic
emsee2
Member
Posts: 686
Joined: Jun 26 2008
Gold
:
27.40
#1
May 28 2012 06:35pm
trying to send a multiline textbox to notepad 1 line at a time anyone able to help?
carteblanche
Member
Posts: 32,925
Joined: Jul 23 2006
Gold
:
3,804.50
#2
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?
emsee2
Member
Posts: 686
Joined: Jun 26 2008
Gold
:
27.40
#3
May 28 2012 06:37pm
just trying to refresh memory of using multiline textboxes and playing with sendkeys
carteblanche
Member
Posts: 32,925
Joined: Jul 23 2006
Gold
:
3,804.50
#4
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
emsee2
Member
Posts: 686
Joined: Jun 26 2008
Gold
:
27.40
#5
May 28 2012 06:46pm
ya no idea how to do any of that
carteblanche
Member
Posts: 32,925
Joined: Jul 23 2006
Gold
:
3,804.50
#6
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
emsee2
Member
Posts: 686
Joined: Jun 26 2008
Gold
:
27.40
#7
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
emsee2
Member
Posts: 686
Joined: Jun 26 2008
Gold
:
27.40
#8
May 28 2012 07:40pm
no one able to show me how to do this?
carteblanche
Member
Posts: 32,925
Joined: Jul 23 2006
Gold
:
3,804.50
#9
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.
emsee2
Member
Posts: 686
Joined: Jun 26 2008
Gold
:
27.40
#10
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
1
2
Next
Add Reply
New Topic
New Poll
© 2003-2026 d2jsp
Contact