S
sparkane
Guest
Hi. I'm new here.
I'm having a problem with a module I've written in Access. It searches (with Find) through a series of txt documents, opened with Word, for "http".
Currently, when I run the module on my home computer, it crashes the app. Message: "MSACCESS caused an invalid page fault in
module OLEAUT32.DLL at 015f:65346ab0."
The specific line of code that causes the crash is: 'dRange.Find.Execute FindText:="http", Forward:=True'. (dRange is a Word Range object. It refers to the entire text of the doc when it is first executed.)
This module runs no problem on the computer I use at work. Home is win98, work is NT.
Possibilities I've considered: 1) old version of oleaut32.dll, and I found a MS help doc which stated that this dll causes problems in VStudio, however my version (2.3 or so) is up to date according to this doc; 2) the line of code is faulty, however, it runs fine on NT; 3) references to ole libraries are wrong, I really don't think this is it, as the module interacts with Word fine until it reaches the above line of code (creates Word object, creates instance of app, searches files for txt docs, opens 1st doc in series before crashing), and also the db runs fine at work, which indicates the problem is not with the internal ole references; 4)erroneous registry entry, but haven't been able to find anything suspicious in searching for "oleaut32" (haven't searched at work); 5) problem with db itself, seems unlikely as other modules in same db run fine.
If anyone has any further avenues to try, I'd be very grateful.
s
I'm having a problem with a module I've written in Access. It searches (with Find) through a series of txt documents, opened with Word, for "http".
Currently, when I run the module on my home computer, it crashes the app. Message: "MSACCESS caused an invalid page fault in
module OLEAUT32.DLL at 015f:65346ab0."
The specific line of code that causes the crash is: 'dRange.Find.Execute FindText:="http", Forward:=True'. (dRange is a Word Range object. It refers to the entire text of the doc when it is first executed.)
This module runs no problem on the computer I use at work. Home is win98, work is NT.
Possibilities I've considered: 1) old version of oleaut32.dll, and I found a MS help doc which stated that this dll causes problems in VStudio, however my version (2.3 or so) is up to date according to this doc; 2) the line of code is faulty, however, it runs fine on NT; 3) references to ole libraries are wrong, I really don't think this is it, as the module interacts with Word fine until it reaches the above line of code (creates Word object, creates instance of app, searches files for txt docs, opens 1st doc in series before crashing), and also the db runs fine at work, which indicates the problem is not with the internal ole references; 4)erroneous registry entry, but haven't been able to find anything suspicious in searching for "oleaut32" (haven't searched at work); 5) problem with db itself, seems unlikely as other modules in same db run fine.
If anyone has any further avenues to try, I'd be very grateful.
s