vb6 Send Text To Anything

You can talk about VB programming here

vb6 Send Text To Anything

Postby MrAlone » Mon Apr 19, 2010 9:34 am


The title says all :vexxler:
Attachments
SendTextToAnyThing.zip
(8.08 KiB) Downloaded 114 times
MrAlone
imFiles Newbie
imFiles Newbie
 
Posts: 18
Joined: Fri May 30, 2008 2:12 am

Re: vb6 Send Text To Anything

Postby MrAlone » Sat Aug 14, 2010 6:26 am

Olala ! no comment ??? :?
MrAlone
imFiles Newbie
imFiles Newbie
 
Posts: 18
Joined: Fri May 30, 2008 2:12 am

Re: vb6 Send Text To Anything

Postby String » Sun Aug 15, 2010 8:49 am

I'm not sure what kind of comments your looking for. The thread title suggests that this project will "Send Text To Anything", yet, it doesn't send text to anything. Perhaps you did not upload the complete project.

If you're new to coding and are looking for comments regarding your code... You should learn to indent your code. Will make it a lot easier for you ( and those your sharing it with) to read and understand what you are doing.

In your Timer1 code, you have this:
Code: Select all
For i = 1 To Text2.Text
SendKeys Text1.Text
Next i
Declare your variables. Such as i

Although it will work,The Text2.Text in this bit of code shouldn't be used in this manner. But, if you insist on doing so, it should at least be written Val(Text2)

You should avoid using SendKeys. SendKeys is no longer functional under vista/win7. Have a look here.

Hope that helps.
-= Please ask your questions in the forum, not in pm.
String
imFiles Senior
imFiles Senior
 
Posts: 313
Joined: Mon Mar 10, 2008 7:06 am
Location: IDE


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

cron