Solved

vb6 run time error 3426

Posted on 2000-03-25
4
674 Views
Last Modified: 2012-05-04
I'm making a program and it was working fine untill I added a database and every time I try to run the program I get a run time 3426 message. Can some one help me with this.
Thanks
0
Comment
Question by:garybear
  • 2
4 Comments
 

Author Comment

by:garybear
ID: 2657493
Adjusted points from 50 to 75
0
 
LVL 1

Accepted Solution

by:
PatrickVD earned 75 total points
ID: 2657499
Hi Gary,

There is actually a knowledge base article on MS website that might solve your problem depending on the context where you got this runtime error..
Have a look at it. It contains even the source code to solve this problem.

http://support.microsoft.com/support/kb/articles/Q189/8/51.ASP?LNG=ENG&SA=ALLKB&FR=0

Hope this will solve your problem !

Patrick.
0
 

Expert Comment

by:jstitt
ID: 2657501
Runtime error '3426' means that the 'action was cancelled by an associated object'.  I suspect in your case that the sequence of database commands may not be correct.  Possible solutions are to add 'exception processing' to your code (e.g. Try/Except) or comment out the code near the database activity until the runtime error is 'isolated'. Then correct the sequence of events.

For example:
You might have methods such as 'Edit' and 'Update' out of sequence.
0
 

Author Comment

by:garybear
ID: 2657530
Thanks alot you were right and I appreciate your help.

Thanks again
Gary
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now