Solved

Register dll

Posted on 2004-05-03
2
436 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
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…

749 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