Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Invalid page fault in module RPCRT4.DLL

Excel 97
Windows 98SE
Internet Explorer 5.5

Getting the following error message (crashes Excel) when trying to run
a bunch of routines that automate Internet Explorer other than opening
a new browser :
EXCEL caused an invalid page fault in module RPCRT4.DLL at
0167:7fbd0894.

Routines that fail basically either :

- Refresh a browser's hyperlink given certain links
- Cycle through open browsers to refresh one with a given handle
- Open a browser and login

-------------------------------------------------------

Some example code that stopped working (no problems before). I left
out declarations :

-------------------------------------------------------

Set oSW = New ShellWindows
For Each oIE In oSW Crashes here
If InStr(1, oIE.LocationURL, "bigcharts.marke****ch.com") < 0
Then
If InStr(1, oIE.LocationURL, "nasdaq") < 0 Then oIE.Refresh
End If
Next oIE

-------------------------------------------------------

Set ie2 = CreateObject("InternetExplorer.Application")
With ie2
.Navigate ("https://wwws.ameritrade.com/cgi-bin/apps/Main")
.Visible = True
Do While ie2.ReadyState < READYSTATE_COMPLETE
Sleep 1000
Loop
Set oDoc = ie2.Document.all.Item("USERID") Fails here
If Not oDoc Is Nothing Then oDoc.Value = "myloginID"
Set oDoc = Nothing
Set oDoc = ie2.Document.all.Item("PASSWORD")
If Not oDoc Is Nothing Then oDoc.Value = "mypassword"
Set oDoc = Nothing
Set oDoc = ie2.Document.all.Item("loginBtn")
If Not oDoc Is Nothing Then oDoc.Click
End With

-------------------------------------------------------

The only thing I did just prior to having the problem : I had
downloaded some software to play DVDs the prior day. I believe that
the installation changed (overwrote) some files without asking for
confirmation. I uninstalled the software. Next morning I started to
have problems.

* Tried repairing IE6 through Control Panel. Control Panel
Add/Remove Programs IE6 Tools Repair.
* Scanned for viruses with AVG. Ran Spybot and Ad-Aware.
* I replaced RPCRT4.DLL from .cab files.
* I replaced Schannel.dll from .cab files.
http://support.microsoft.com/kb/315209
* No missing references for any of the files (in the VBE)

Any ideas on how to deal with this issue would be greatly appreciated.
I'm at a loss.

Thanx,
Paul


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid Page Fault when I copy a page k.armstrong-bridges Excel Programming 0 January 25th 07 11:20 PM
what causes "invalid page fault in module AVWIZRES.DLL" Clarew Excel Discussion (Misc queries) 2 February 28th 06 12:53 AM
Invalid page fault excel 97, win98 R D S Excel Discussion (Misc queries) 0 February 23rd 05 09:40 PM
EXCEL caused an invalid page fault Parthiban S Excel Discussion (Misc queries) 1 January 16th 05 08:39 PM
excel caused an invalid page fault in module excel.exe 0177:3003b3fd jasque Excel Programming 0 December 18th 03 08:58 AM


All times are GMT +1. The time now is 11:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"