Open a VB application from VBA

Discussion in 'AutoCAD' started by talledo, Aug 5, 2004.

  1. talledo

    talledo Guest

    Hello, I make a VB application than interact with acad. Does it exist any way to open my VB application with a VBA macro?

    Tanks
    Diego Alejandro Talledo
     
    talledo, Aug 5, 2004
    #1
  2. Make you VB application an ActiveX Object in an
    ActiveX DLL, and you can use it in VBA.
     
    Tony Tanzillo, Oct 20, 2004
    #2
  3. talledo

    lorier Guest

    I don't know, but would the shell command work for this?

    ' Specifying 1 as the second argument opens the application in
    ' normal size and gives it the focus.
    Dim RetVal
    RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run
     
    lorier, Oct 20, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.