Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB Script for UT login does not work!
Message
 
 
À
02/06/2003 13:53:32
Information générale
Forum:
Internet
Catégorie:
VBScript
Divers
Thread ID:
00795325
Message ID:
00796447
Vues:
32
>This VB Script no longer works:
>-------------------------------
>
>' UTLogin.vbs
>
>Set oIE = CreateObject("InternetExplorer.Application")
>
>oIE.Visible = True
>
>oIE.Navigate("www.levelextreme.com")
>
>while oIE.Busy: wend ' wait for page to load...
>
>while oIE.Document.ReadyState <> "complete": wend
>
>oIE.Document.Forms(0).Username.Value = "XXXX"
>
>oIE.Document.Forms(0).Password.Value = "XXXXXX"
>
>oIE.Document.Forms(0).Submit
>
>-----------------------------------------------------------
>
>The error message says that this line is the problem:
>
>oIE.Document.Forms(0).Username.Value = "XXXX"
>
>"Object doesn't support this property or method..."
>
>Any suggestions?
>Thanks,
>Terry Harris


I go this to work:

oIE.Document.Forms("Login2").Username.value = "xxxxxx"
oIE.Document.Forms("Login2").Password.value = "xxxxxx"
oIE.Document.Forms("Login2").Submit
- Andy Rice
San Diego, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform