Solved

Register dll

Posted on 2004-05-03
2
440 Views
Last Modified: 2010-04-24
What .NET classes can I use to check and see if a dll is regestered and if not - regester it.
0
Comment
Question by:thenrich
[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 Comments
 
LVL 5

Accepted Solution

by:
tgannetts earned 125 total points
ID: 10984934
Your best bet is to look outside the .Net Framework to accomplish this:

For checking if a class is registered, something like the following:

http://www.developerfusion.com/show/3479 (vb not vb.net)

For registering a DLL, you'll need to run RegSvr32:

result = Shell("RegSvr32 " & Chr(34) & DLLfullpath & Chr(34), AppWinStyle.NormalFocus, True)

Tom
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10985749
What kind of DLL is it?  Is it home cooked or 3rd party?

Bob
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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

691 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