Results 1 to 4 of 4

Thread: about activex

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Location
    Dhaka, Bangladesh
    Posts
    102

    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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Location
    Dhaka, Bangladesh
    Posts
    102

    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

  4. #4
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    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
  •  



Click Here to Expand Forum to Full Width