Re: Problems with Runtime 2007
- From: "Chris O'C via AccessMonster.com" <u29189@uwe>
- Date: Sun, 29 Jun 2008 20:52:10 GMT
Two things you can do to help troubleshoot the prob. Add error handling in
this procedure and make sure the msgbox shows the error number and
description, like this:
MsgBox Err.Number & vbCrLf & Err.Description
Sometimes you don't get an error message, but if you do it should help narrow
down what's going on.
2nd, to speed up testing you can test under (mostly) Access runtime
conditions with the retail version of Access. (At least you could in Access
2000 through 2003. I'm not positive about Access 2007 yet.) Make a shortcut
to open the db with the /runtime switch. Like this (all one line in the
target):
"C:\Program Files\Microsoft Office\OFFICE12\msaccess.exe" "C:\db1.mdb"
/runtime
That way you won't have to jump back and forth between two PCs that are
configured differently while you're testing your app. You won't be wondering
about missing references, because if the references for the db are good
*without* the /runtime switch on a certain PC, they'll be good *with* it.
Chris
Microsoft MVP
Nutcroft5 wrote:
Hi Chris
Thanks for responding...i think it's the FileSystemObject that is failing as
it doesn't even get to opening the email bit. I wondered if it was a
reference issue? I had to download Visual Basic for one of the bits of code
i put in but I have been developing this database for so long i can't
remember if it was this one!
It's hard to make suggestions for troubleshooting when there's no error[quoted text clipped - 53 lines]
message or discription of which part is failing.
Kill ("c:\FileName.txt")
--
Message posted via http://www.accessmonster.com
.
- References:
- Re: Problems with Runtime 2007
- From: Chris O'C via AccessMonster.com
- Re: Problems with Runtime 2007
- From: Nutcroft5
- Re: Problems with Runtime 2007
- Prev by Date: Re: Problems with Runtime 2007
- Next by Date: Re: Problems with Runtime 2007
- Previous by thread: Re: Problems with Runtime 2007
- Next by thread: Re: Problems with Runtime 2007
- Index(es):
Relevant Pages
|