Re: Access db accessibility (permissions??)
- From: "TC" <aatcbbtccctc@xxxxxxxxx>
- Date: 18 May 2005 22:35:07 -0700
"Object variable or with block variable not set" is a simple
programming error. It indicates that the programmer is trying to use an
object variable, but that variable has not been set.
For example:
dim o as object
set o = createobject("access.application")
msgbox o.name
If the createobject did not return a value (for some reason), the next
line would get that error, or something similar. The programmer should
have coded a check along the following lines:
if o is nothing then 'oops, didn't work.
I'm not saying that createobject /can/ return no value, or that your vb
app /would be/ using "access.application" to access the database. That
code is just for the purpose of showing you how the error in question,
occurs.
So, my bet is, that the locked-down environment is causing a
createobject or similar statement to fail, & the vb code does not check
the success of the statement concerned. So the app trundles on, until
it tries to /use/ the unitialized object variable, at which point, the
error occurs.
If you have access to the vb sourcecode, it should be easy to find from
here.
Cheers,
TC
.
- Follow-Ups:
- Re: Access db accessibility (permissions??)
- From: caeriel
- Re: Access db accessibility (permissions??)
- References:
- Access db accessibility (permissions??)
- From: Cathy Finnegan
- Re: Access db accessibility (permissions??)
- From: TC
- Re: Access db accessibility (permissions??)
- From: caeriel
- Access db accessibility (permissions??)
- Prev by Date: Re: How do I get the data?
- Next by Date: Re: Open Exclusive
- Previous by thread: Re: Access db accessibility (permissions??)
- Next by thread: Re: Access db accessibility (permissions??)
- Index(es):
Relevant Pages
|
Loading