unhandled exception jet40.dll 
Author Message
 unhandled exception jet40.dll

I was happily coding away when all of the sudden when I ran a certain
function VB6 would crash without warning. I was offered to debug and got the
message "unhandled exception in msjet40.dll" I tried reinstalling VBS6,
office 97. Not luck.
I sepped through the function that was appeared to be crashing and it ran
fine until the end of the End Function statement, then crashed. I even
renamed the msjet40.dll to amsjet40.dll and still had the same problem. I
dont even think I use msjet40.dll, I use MSjet3.5.
I eventually created a new project and basically cut and pasted my old code
into the new project and it seems to work now.
I am at a loss. I dont know how I broke it, or what exactly fixed it. A
google search for the error produced less than usefull information so I am
once again in the NG looking for help. Has anyone had this problem before?

Thanks Rob



Fri, 18 Nov 2005 22:01:30 GMT  
 unhandled exception jet40.dll
Hello Rob

I had been working a lot of time with Jet 3.5 and I got same problem
when i missed close objects correctly, try finding any opendatabase,
openrecordset, and use

database.close
set database=nothing

recordset.close
set recordset=nothing

if you still having problems, try updating your vb references to Jet 4

good luck
Sguindaw

Quote:

> I was happily coding away when all of the sudden when I ran a certain
> function VB6 would crash without warning. I was offered to debug and got the
> message "unhandled exception in msjet40.dll" I tried reinstalling VBS6,
> office 97. Not luck.
> I sepped through the function that was appeared to be crashing and it ran
> fine until the end of the End Function statement, then crashed. I even
> renamed the msjet40.dll to amsjet40.dll and still had the same problem. I
> dont even think I use msjet40.dll, I use MSjet3.5.
> I eventually created a new project and basically cut and pasted my old code
> into the new project and it seems to work now.
> I am at a loss. I dont know how I broke it, or what exactly fixed it. A
> google search for the error produced less than usefull information so I am
> once again in the NG looking for help. Has anyone had this problem before?

> Thanks Rob

--
Sguindaw -> "gesteo onis: hacer que las cosas sean"


Fri, 18 Nov 2005 22:33:36 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Unhandled exception in Visdata.exe(rpcrt4.dll)

2. VBScript "Unhandled Exception" MSO9.DLL W2k

3. Unhandled exception in system.windows.forms.dll (in my main form) - argh

4. Unhandled exception in Visdata.exe(rpcrt4.dll)

5. Unhandled exception in Visdata.exe(rpcrt4.dll)

6. Unhandled Exception Err MSAcc97

7. Return from unhandled exceptions after Application.ThreadException event

8. Unhandled exception error

9. Unhandled Exception is thrown

10. Getting unhandled exception error with WNetOpenEnum

11. Unhandled exception vb.net

12. The F2 shortcut key causes an unhandled exception in the datagrid

 

 
Powered by phpBB® Forum Software