Solved

Register dll

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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 …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now