could you show me a example
Main Topics
Browse All TopicsIs there an equvelent to vb6 for this vb script I only want the answer to vb6
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here is a module for doing the SendKeys as an object that will also work on Vista
Just put this in your vb6 as a ClassModule and name it cSendKeys
Then use as such
' Declare this in a module where you might have a sub Main...
Public cSK As New cSendKeys
Private Your Sub
cSK.KeyDown vbKeyTab
' For the Pause there are two ways that I do it..
' one is use a Pause Function
Pause 10 ' wait 10 seconds
' the other is to put a timer on your form and set the seconds...
' enable the timer - then in the timer disable it again.
tmrPause.Interval = 10000
tmrPause.enabled = true
End Sub
Public Sub Pause(ByVal S As Integer)
1301 WaitTime = Timer + S
1302 Do While WaitTime > Timer
1303 DoEvents
1304 Loop
End Sub
Private Sub tmrPause_Timer()
tmrPause.enable = false
End Sub
Business Accounts
Answer for Membership
by: Brook1966Posted on 2009-10-20 at 14:00:35ID: 25618552
For Sendkeys there is
and for Sleep you could do a wait...
There is a vb6 SendKeys Command but it has problems with Vista