Solved

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

Posted on 2004-08-04
4
152 Views
Last Modified: 2013-12-25
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...
0
Comment
Question by:vivian1
  • 2
  • 2
4 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 11731127
You can't execute a dll on its own, it needs to be called by something.
0
 

Author Comment

by:vivian1
ID: 11732346
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?
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 125 total points
ID: 11733446
An COM+ application in component services isn't an application in the usual terms.  Components Services basically manages all memory allocation and object activation/deactivation and also allows transactions, and a load of other stuff.

Unless you specifically require the features provided by component services then you probably don't need to use it.
0
 

Author Comment

by:vivian1
ID: 11733663
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?
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now