|
-
May 6th, 2002, 01:57 AM
#1
Thread Starter
New Member
Error Using
I have been tyring to use the VB 6 Data Form Wizard Add-In which supposedly automates the creation of certain forms that connect to a Microsoft Database. After succesfully going through the wizard, I get the following error message when I try to run the form that the wizard created for me . . .
Error message is, "Compile Error: Procedure Declaration does not match description of event or procedure having the same name."
The highlted part of the source code is,
"Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset"
Again, I didn't write any of the code, the wizard did all the work so its all gobbly-gook to my beginner brain!
Has anyone had trouble using the VB 6 Data form Wizard Add-In in this way?
I am using VB 6.0 Professional and I have Service Pack 5 Installed.
Thank you so much
ccabaner
-
May 7th, 2002, 03:02 AM
#2
You are using the wizard!?!?!?
Have you looked at the tutorials (I think they are on the left now) as these will help you develop without wizards. And believe me when I say you won't be a developer if you use wizards..! 
Anyway, use the tutorials to get you into the coding using datacontrols, then see about not using datacontrols and coding your own connections to fill the list boxes etc...
Just an idea.
As to the problem, its probably that the coding uses an event which isn't defined. Say if its built it for DAO and you are using ADO(X). Just a guess.
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
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
|