Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Why is my VBScript not logging in properly? This .vbs script should open reddit and automatically login. Instead I get an error stating I need

Why is my VBScript not logging in properly? This .vbs script should open reddit and automatically login. Instead I get an error stating I need an object? (The username and password fields are not an actual account).

Set objIE = CreateObject("InternetExplorer.Application")

Call objIE.navigate("https://old.reddit.com")

objIE.Visible = True

Do Until objIE.ReadyState = 4 : Call WScript.Sleep(100) : Loop

With objIE.Document .getElementByID("user").value = "username" .getElementByID("passwd").value = "mypass" .getElementByID("submit").submit

End With

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions

Question

7. Be able to distinguish productive from destructive conflict.

Answered: 1 week ago

Question

Define marketing.

Answered: 1 week ago

Question

What are the traditional marketing concepts? Explain.

Answered: 1 week ago

Question

Define Conventional Marketing.

Answered: 1 week ago

Question

Define Synchro Marketing.

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago