[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 829
  • Last Modified:

vb6 run time error 3426

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
garybear
Asked:
garybear
  • 2
1 Solution
 
garybearAuthor Commented:
Adjusted points from 50 to 75
0
 
PatrickVDCommented:
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
 
jstittCommented:
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
 
garybearAuthor Commented:
Thanks alot you were right and I appreciate your help.

Thanks again
Gary
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now