Wrox Programmer Forums
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 13th, 2004, 04:23 PM
Authorized User
 
Join Date: Nov 2003
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default Intercepting ADO Errors in VB6

Hi,

I am not able to intercept ADO Errors in VB6 with the "ON ERROR GOTO..." statement. For example, if a user has no acces rights to a MS-SQL table and I still try to read from it via a recordset, the program does not jump to the error processing label in my software; instead it displays the usual "run-time error message bla-bla, bla-bla" ...

What can I do about it ?
Has anyone encountered this ?

(Perhaps move on to VB.net :-) )

Thanx

Mike


 
Old January 28th, 2005, 11:08 PM
Authorized User
 
Join Date: Jul 2004
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to chipset Send a message via MSN to chipset Send a message via Yahoo to chipset
Default

yes i have, but its being a long time. the error then was in a particular line of code. why not searh the code in the forum so
that i can look/others can look throug it. am waiting!!!:)

Arowolo





Similar Threads
Thread Thread Starter Forum Replies Last Post
ADO querying Excel errors nautica Excel VBA 0 April 28th, 2006 08:25 AM
vb6 generated errors JENKINSACTIVE Beginning VB 6 1 February 15th, 2005 01:03 PM
ADO UPDATE Errors rborloz Pro VB Databases 0 January 20th, 2005 04:20 AM
Intercept ADO Errors mike123abc Pro VB Databases 1 September 28th, 2004 07:33 AM
ok with VB6.0 , errors for ASP !!! mmd Pro VB 6 1 February 5th, 2004 11:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.