Access Violation at Address 023D...8 In Module IEauto.dll

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
AutomationIsMyMoney
Newbie
Posts: 1
Joined: Sat Apr 21, 2007 9:17 pm

Access Violation at Address 023D...8 In Module IEauto.dll

Post by AutomationIsMyMoney » Sat Apr 21, 2007 9:26 pm

HI fellows!
I use web recorder to do a simple automation on a web page. MS had worked for me before with an identical code, now however when it gets to a point in the code where it comes a great alert message stating:"Access Violation at Address 023D...8 In Module IEauto.dll..."

My goal is to go the site Kuvake.net login. find a random user(thats when the code crashes) and then post a message and logout.
All of the steps have worked before with a nearly identical code. Please look at my code and suggest what you think is the problem.

Here is the code: (I have *** the password and login fields to protect my account data)

// Generated by MacroScript WebRecorder 1.72
// Recorded on Saturday, April 21, 2007, at 03:12 PM
LibLoad>IEAuto.dll,hIE
If>hIE=0
MessageModal>Could not load IEAuto.dll, make sure it is in the path or edit the LibLoad line.
Goto>end_script
EndIf

//Move the mouse cursor out of harm's way to avoid causing mouseover events to interrupt
MouseMove>0,0
Let>delay=1

LibFunc>hIE,CreateIE,IE[0],0

LibFunc>hIE,Navigate,r,%IE[0]%,http://kuvake.net
LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

Let>FrameName={""}
Let>FormName={""}
Let>FieldName={"login_username"}
Let>FieldValue={"***"}
LibFunc>hIE,FormFill,r,%IE[0]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0

Let>FrameName={""}
Let>FormName={""}
Let>FieldName={"login_password"}
Let>FieldValue={"***"}
LibFunc>hIE,FormFill,r,%IE[0]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0

Let>FrameName={""}
Let>FormName={""}
Let>TagValue={""}
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

Let>FrameName={""}
Let>FormName={""}
Let>TagValue={"Random"}
LibFunc>hIE,ClickTag,r,%IE[1]%,str:FrameName,str:FormName,A,TEXT,str:TagValue

LibFunc>hIE,WaitIE,r,%IE[1]%
Wait>delay

Let>FrameName={""}
Let>FormName={"commentform"}
Let>FieldName={"message"}
Let>FieldValue={"Test"}
LibFunc>hIE,FormFill,r,%IE[1]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0

Let>FrameName={""}
Let>FormName={"commentform"}
Let>TagValue={"comment_submit"}
LibFunc>hIE,ClickTag,r,%IE[1]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue

LibFunc>hIE,WaitIE,r,%IE[1]%
Wait>delay

Let>FrameName={""}
Let>FormName={""}
Let>TagValue={"Ulos"}
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,A,TEXT,str:TagValue

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFree>hIE
Label>end_script

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts