Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB Script for UT login does not work!
Message
 
 
To
02/06/2003 13:53:32
General information
Forum:
Internet
Category:
VBScript
Miscellaneous
Thread ID:
00795325
Message ID:
00796447
Views:
33
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform