How to check a DLL exists in system or not

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2007
Posts: 35
Reputation: manjusaharan is an unknown quantity at this point 
Solved Threads: 0
manjusaharan manjusaharan is offline Offline
Light Poster

How to check a DLL exists in system or not

 
0
  #1
May 5th, 2008
Hi all,


I have an once click application which uses microsoft.mshtml.dll(size 8 mb). I want that this DLL should be downloaded only when client machine dosenot have this DLL otherwise it should skip this file's downloading.

Can anybody tell me how to check whether a dll present in the system or not?

Kindly help me in solving this problem.
Thanks in advance.

Manju Saharan
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 47
Reputation: Jens is an unknown quantity at this point 
Solved Threads: 5
Jens's Avatar
Jens Jens is offline Offline
Light Poster

Re: How to check a DLL exists in system or not

 
0
  #2
May 5th, 2008
Ah great, onceclick. I'm also making an application for it and I must say that sometimes the deployment of these things can be a pain. (In my opinion at least).

That being said, I think the only way to do this is to pack in the packages in your publish - properties. But I think your dll is independant of one of the microsoft redistributables. (That, and my clickonce doesn't work well with the publisher).

I found a msdn - post about your subject too:

Clickie

Hope this helps,
Jens
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC