PDA

Click to See Complete Forum and Search --> : DLL startup


badgers
Jan 20th, 2000, 04:54 AM
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!

badgers
Jan 20th, 2000, 10:03 PM

Clunietp
Jan 21st, 2000, 11:08 AM
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.