Solved

change a project to a activex exe

Posted on 2002-06-24
14
271 Views
Last Modified: 2010-05-02
i once had my project as an activex exe now its a standalone exe. when i try changing to back to an activex exe i get this error:
No creatable public component detected. Press F1 for more information.
0
Comment
Question by:Jambyte
  • 5
  • 3
  • 3
  • +3
14 Comments
 
LVL 51

Accepted Solution

by:
Ryan Chong earned 50 total points
ID: 7103201
Start a new project, try add those Class file or modules that use in your active exe project. Then save the new project.
0
 
LVL 2

Author Comment

by:Jambyte
ID: 7103207
nope. i get the same error.
0
 
LVL 2

Expert Comment

by:priya_pbk
ID: 7103255
Open an 'New' ActiveX exe project, then copy or include your class modules into it. This will save it as ActiveX exe project which in turn when complied gives you ActiveX exe

Hope this info helps!

-priya
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:priya_pbk
ID: 7103279
also check this at design time:

Go to Project properties Menu->General tab and check what is Project type. Set it to ActiveX exe

-priya

0
 
LVL 2

Expert Comment

by:corvanderlinden
ID: 7103732
You have to have a Instancing MultiUse class or SingleUse or PublicNotCreatable

(choose in the properties of the class)
0
 
LVL 2

Author Comment

by:Jambyte
ID: 7105652
i don't have a class. i have a normal module.
0
 
LVL 2

Expert Comment

by:priya_pbk
ID: 7106537
Can you tell us what type of project are you making? I mean..is it a normal application or are you creating your own class, for which you can create object and use it later in your appln(most of the suggestions given above were for those)

-priya



0
 
LVL 2

Author Comment

by:Jambyte
ID: 7107825
i want to have an exe that doesn't require vb6runtimes
0
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 7109783
If you develop your application in VB environment, you do NEED vb runtimes. Most basically, at least you need MSVBVM60.dll (if it's develop under VB6) to run your application.
0
 
LVL 2

Author Comment

by:Jambyte
ID: 7109999
even if its an active x control?
0
 
LVL 2

Author Comment

by:Jambyte
ID: 7110000
err not control but activex exe i mean
0
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 7110007
I'm not develop any activex exe before, but conceptially speaking the answer is Yes.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7962889
Hi Jambyte,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept ryancys's comment(s) as an answer.

Jambyte, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 8023226
Per recommendation, force-accepted.

Netminder
EE Admin
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question