Solved

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

Posted on 2004-08-04
4
158 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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