Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / December 2004



Tip: Looking for answers? Try searching our database.

Error durig ActiveX DLL Creation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Singh_Gautam_Bir - 23 Dec 2004 11:13 GMT
While trying to create an ActiveX DLL in VB 6.0 (File>Make DLLName.DLL), I
get the following message:

"No Creatable Public Component Detected"

I have three class modules and all of these have a Class_Initialize
functions defined.


Jan Hyde - 23 Dec 2004 13:42 GMT
"Singh_Gautam_Bir"
<Singh_Gautam_Bir@discussions.microsoft.com>'s wild thoughts
were released on Thu, 23 Dec 2004 03:13:01 -0800 bearing the
following fruit:

>While trying to create an ActiveX DLL in VB 6.0 (File>Make DLLName.DLL), I
>get the following message:
[quoted text clipped - 3 lines]
>I have three class modules and all of these have a Class_Initialize
>functions defined.

And how many of these classes are public?

Look at the Instancing property of each class in the project
explorer.

(The answer is none)

In other words there is No Creatable Public component.

Jan Hyde (VB MVP)

Signature

The past does not repeat itself, but it rhymes.

Mark Twain

[Abolish the TV License - http://www.tvlicensing.biz/]

Adrian Enders - 23 Dec 2004 17:09 GMT
Check the "Instancing" property of each class. At least one of your classes
must have this property set to "MultiUse" or "GlobalMultiUse".

Adrian

> While trying to create an ActiveX DLL in VB 6.0 (File>Make DLLName.DLL), I
> get the following message:
[quoted text clipped - 3 lines]
> I have three class modules and all of these have a Class_Initialize
> functions defined.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.