[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

vb6 run time error 3426

Posted on 2000-03-25
4
Medium Priority
?
818 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

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

Accepted Solution

by:
PatrickVD earned 300 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

650 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