Results 1 to 3 of 3

Thread: DLL startup

  1. #1

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444

    Post

    I want to make a DLL that shows form1 at startup. My choice is a "Sub Main" or none.
    if I chose "Sub Main" I still cant make it work.
    In the class module I have
    Sub Main()
    form1.show
    end sub

    when I try to run it I get an error that sub Main() does not exist
    how do I get this to work?
    The reason I want it to have a form is that I am using VB to customize AutoCAD. It seems that a DLL performs better then an exe when it comes to working on AutoCAD elements.
    thank you for your time and have a good day

    ------------------
    I am so skeptacle, I can hardly believe it!

  2. #2

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444

    Post


  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Nice trick to keep your questions at top

    anyways, COM Dlls are not meant to have a user interface, or run in their own process, which means they have to be created by another process. They can't run by themselves.

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