|
-
Nov 4th, 1999, 01:54 PM
#1
Thread Starter
New Member
For Vb compiling, on component I selected ADO Data COntrol 6.0, Common Dialog Control 6.0, Rich Textbox Control 6.0, Windows Common Controls 6.0 then using Vb application wizard to make application from northwind database, I follow the suggestion on screen till finish. On compiling , he showed compiling error: user-defined type not defined.
Please solve my probllem for me. On myself, I try to select some possible component but It didn't the right way, he showed the same error.
Best Regards,
Sanondh Brahmaphalin
-
Nov 4th, 1999, 09:28 PM
#2
Junior Member
Check all your variable definitions, check their spelling and whether their defined type is maintained throughout your code.
------------------
Paul Stermann
DSI-Houston
-
Nov 4th, 1999, 10:56 PM
#3
New Member
In your code you've done 1 of a few different things:
1. You have a reference to a type that wasn't declared in your code (enable Option Explicit)
2. You reference a TYPE that wasn't added in the General Declarations of your form or at all in a module.
If you're using API calls they usually reference a TYPE. You can check which one is missing based upon the compile error, look it up in the API viewer, add it to your code and life is good again.
If you still get this error, e-mail me the code and I'll check it out.
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
|