Link to home
Start Free TrialLog in
Avatar of vivian1
vivian1

asked on

make dll in the component services run automatically when windows startup (URGENT)

i had simply wrote an activeX dll using vusual basic that it will pop up a msgbox whenever it was call.

And now the problem i meet is that i don't want an execute file to call the dll. I need to put it in the component services application that i had create. I had also register it using the regsvr32.

But how to make it pop up the msgbox once i start the windows? I tried but it never works. is that i need to write somethg in the coding or i miss some important part i need to do?

thanks for help...
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

You can't execute a dll on its own, it needs to be called by something.
Avatar of vivian1
vivian1

ASKER

thank you carl....so this means that i need an exe file or an asp file to call the dll.

so what is the purpose i need to put the dll file in the component service? after i put the dll in the component services, i still need to put an exe file in the startup to call the dll so it can run when i start the windows.is it the only solution to launch a dll file at startup?
ASKER CERTIFIED SOLUTION
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vivian1

ASKER

to carl,thanks for your answer.
Let's put aside the component services. How about services? will the services run the execute file automatically after the windows start? can we put our own execute file into the services to make it start automatically?