Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB 5.0 Keyboard Output Command
Message
De
16/09/1997 15:14:30
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
VB 5.0 Keyboard Output Command
Divers
Thread ID:
00050258
Message ID:
00050258
Vues:
60
I am writing a VB app. to log a user into a database.
With this app. I can simulate all of the keystrokes that are needed to login.
While doing this I am running into 2 problems.

FIRST:
Whenever I use the " {enter} " or " ~ " command with this program the output
comes up with another symbol that I did not enter. This symbol looks like a
" : U " (put the : on top of the U and rotate the : 90*) This is messing up my app.
Does anyone know how to get rid of it? Or what is is?

Second:
In the same app I am having a problem with timeing. I need this program to wait
after a line for 1 sec. Does anyone know how to do that. This is 1 way communication
so I can not send data back to the VB app. Here is the code in this app.
___________________________________________
Option Explicit
___________________________________________
Private Sub cmdClear_Click()
txtUserArea.Text = ""
End Sub
___________________________________________
Private Sub cmdExit_Click()
End
End Sub
___________________________________________
Private Sub cmdSend_Click()
AppActivate "UNIX"
SendKeys txtUserArea.Text, True
End Sub
___________________________________________
Private Sub Form_Load()
Dim ID
ID = Shell("dejawint.exe", 1)
End Sub
__________________________________________

In the Text box called txtUserArea.txt I input my keystrokes.
Between keystrokes I need a pause line or something.
Répondre
Fil
Voir

Click here to load this message in the networking platform