?
Solved

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

Posted on 2004-08-04
4
Medium Priority
?
166 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 500 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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 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