|
-
Mar 9th, 2000, 03:09 AM
#1
Thread Starter
New Member
I developed an app in VB4. Recently I upgraded to VB6. The app was onverted to VB6, but when I try a full compile I get an error which says "Function or interface marked or restricted, or function uses an Automation type not supported by Visual Basic"
This occurs when at one of my classes at a property of the class. This property exposes a form for the class. ie. the property statement is Property Set ClassForm(aForm as frmSite) etc., where frmSite is the form for this specific class.
This is a standard procedure I use in many classes, but the compile error seems to happen only at the one class (unless of course this is the first of the many and the compile has not successfully compiled any of these type of classes).
Anyway, while the app won't compile, I can still run it without a full compile.
Anyone have any ideas? Any help would be greatly appreciated.
Steve
-
Mar 9th, 2000, 06:01 AM
#2
Hyperactive Member
When you opened your VB4 app in VB6 for the very first time did it come up with any errors?
There are numerous problems that can occur when migrating from 4 to 6 because the architectures are so different and a large number of controls have been updated.
.log files should have been created for each of the forms that had problems in it and I would have a look in your source directory for these...
Some of the main problems occur with new controls that do not interact with older versions of controls but they are not automatically updated when you import into VB6.
I would have a look for these and see if any interesting messages come out of it
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
|