|
-
December 8th, 1999, 11:47 PM
#1
ADO Error
Hi again,
I'm running ADO2.1 with VB5.0 on an NT machine. Once in a while, I get this error that ADO can't create my Connection object.
I would like to capture this error and force my application to end. Any suggestions? Another question is, what causes this error in the first place?
Thanks...
____________________________________
The VB Bugs in my Life...
-
December 10th, 1999, 02:07 AM
#2
Re: ADO Error
Is the error on the CreateObject function?
if so then just put in a:
on error resume next
set o = CreateObject("ADODB.Connection")
If Err then
Unload me
Exit Sub
End If
--
Chizl
[email protected]
http://www.chizl.com/
-
December 10th, 1999, 02:11 AM
#3
Re: ADO Error
nope...
Just wanted to know why ADO irritated NT4 sometimes.
anyway, i got it fixed. =)
thanks,
____________________________________
The VB Bugs in my Life...
-
December 10th, 1999, 02:15 AM
#4
Re: ADO Error
I use ADO every day on NT for XML and I have never had a problem. I use ADO 2.11 and havn't had a chance to move to 2.5 yet..
--
Chizl
[email protected]
http://www.chizl.com/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|