• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

Register dll

What .NET classes can I use to check and see if a dll is regestered and if not - regester it.
0
thenrich
Asked:
thenrich
1 Solution
 
tgannettsCommented:
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
 
Bob LearnedCommented:
What kind of DLL is it?  Is it home cooked or 3rd party?

Bob
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now