Solved

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

Posted on 2004-08-04
4
164 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

690 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