?
Solved

change a project to a activex exe

Posted on 2002-06-24
14
Medium Priority
?
273 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 3
  • +3
14 Comments
 
LVL 53

Accepted Solution

by:
Ryan Chong earned 200 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 53

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 53

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

752 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