|
-
Apr 11th, 2005, 06:46 AM
#1
Thread Starter
Lively Member
about activex
I have made all my applications with Standard EXE in VB.
Now I want to develop my new projects with activex exe.
But if I take a new project with a new form and try to run. It does not run.
The form is just a form. nothing else.
I just want to start with activex.
What I have to change in activex to run a project?
Please help me.
--Rajib
-
Apr 11th, 2005, 07:13 AM
#2
Re: about activex
From the new project window, you have a choice of creating:
ActiveX Exe
ActiveX Dll
ActiveX Document Dll
ActiveX Document Exe
Create whatever new project suites you current needs.
-
Apr 12th, 2005, 06:28 AM
#3
Thread Starter
Lively Member
Re: about activex
Ok, I have already selected ActiveX EXE. The problem was not there.
I want to know do I need to change anything from Standard EXE to run the project?
If I add a form and try to run then it asks something.
Rajib
-
Apr 12th, 2005, 06:32 AM
#4
Re: about activex
Is there a specific reason you are using an ActiveX exe?
Anyway, try adding a standard module to the project and using a Sub Main to bring up your form.
Code:
Public Sub Main()
Dim frm As Form1
Set frm = New Form1
frm.Show
End Sub
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
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
|