?
Solved

Register dll

Posted on 2004-05-03
2
Medium Priority
?
444 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 500 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

718 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