.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Find version of DLL from .NET code

Posted By:      Posted Date: October 06, 2010    Points: 0   Category :.NET Framework

Hi All,

How to find version of DLL from .NET code?





View Complete Post

More Related Resource Links

Code Reviews: Find and Fix Vulnerabilities Before Your Application Ships


Code defects can be found using many approaches, but manual code reviews stand out in terms of precision and quality. We provide some best practices for planning and executing code reviews on your own team.

M. Chmielewski, N. Clift, S. Fonrobert, and T. Ostwald

MSDN Magazine November 2007

Toolbox: Find Bottlenecks, Code Similarities, and More


This month, find performance and memory bottlenecks, essential security reading, and more.

Scott Mitchell

MSDN Magazine July 2007

Are You in the Know?: Find Out What's New with Code Access Security in the .NET Framework 2.0


Unlike role-based security measures, code access security is not based on user identity. Instead, it is based on the identity of the code that is running, including information such as where the code came from. Here Mike Downen discusses the role of code access security (CAS) in .NET and outlines some key new features and changes in CAS for the .NET Framework 2.0.

Mike Downen

MSDN Magazine November 2005

Where can I find the code of the Twitter or Facebook or WebGrid helpers?


Just in general, where can I find the code to take a look at and learn from them? Or at least look at the functions available to me as I do get the feeling that the insufficient documentation at the moment reveals all.

unable to find a version of the runtime to run this application

I have an application written using Visual studio 2005 (in VB.Net). When I run it on any machine I get "unable to find a version of the runtime to run this application” and this same application successfully some other PCs   And these following processes I have already done: Repair and reinstall .net framework2.0 I also rebuild my application setup. Scan my PC with antivirus and install new updated antivirus I have format my pc and reinstall dotnet framwork2.0 and my project. And also download .net framework cleanup tool install it.     So if any one has solution excluding the above then plz give me as soon as possible.      

How to Find out Windows service application path from Code ?

Dear frnds, Could you please help me to find out the path of  windows serivce exe ( application path ) from code?   Regards. Sajid P K  

More illusive code (an inline style I can't seem to find)

I just *thought* was done. The issue is with the tree view in a document center. So with the help of the IE Developer Tools, I've managed to narrowed it down to an inline style but it doesn't tell me where that inline style resides (unlike everything else listed).  The culprit is a font-size:1em. The code in the source is: <td><img src="/_layouts/images/tvblank.gif" alt="" /></td><td><a href="javascript:_spNavigateHierarchy(this,'TreeViewDataSource','30:ListNode:df253e52-42eb-498a-8fc9-7bfabf220bfb:bbd65828-90c9-4b75-b4a8-ac304d01744e:160e6be3-d556-4fb9-887e-c1204f716aab','\u002fit\u002fPMO\u002fIntranet\u002fDocuments',false,'ListNode')" title="Documents" id="ctl00_PlaceHolderLeftNavBar_WebTreeViewt0i" tabindex="-1"><img src="/_layouts/images/itdl.gif" alt="Documents" style="border-width:0;" /></a></td><td class="ms-navitem ctl00_PlaceHolderLeftNavBar_WebTreeView_2" style="white-space:nowrap;"><a class="ctl00_PlaceHolderLeftNavBar_WebTreeView_0 ms-navitem ctl00_PlaceHolderLeftNavBar_WebTreeView_1" href="javascript:_spNavigateHierarchy(this,'TreeViewDataSource','30:ListNode:df253e52-42eb-498a-8fc9-7bfabf220bfb:bbd65828-90c9-4b75-b4a8-ac304d01744e:160e6be3-d556-4fb9-887e-c1204f716aa

find control in datalist by javascript(Not by Code Behind CS Page or ItemDatabound)


Hello all,

I am facing a problem with javascript.Following is the scenario:

I am working on survey application......

I have taken a datalist in which the question in survey are bound in a label control

now user can change color of the question using color picker

color picker have a popup which is closed when user selects a color and

the color of question will be updated as popup closes

So i have to find label control(in which i bound questions)

in datalist by javascript only (not by Cs page or by itemdatabound event because of color picker popup i can not use cs page)

and update the color of label selected by color picker

I googled and found following code but it show null value

var lbl = document.getElementById('<%= Page.Master.FindControl("ContentPlaceHolder1").FindControl("dList").FindControl("lblQuestion") %>');

when I saw the page source following id is generated for label

and so on


gridview find invisible row from code behind


hi all,

let me explain completly. I designed an gridview, header template i added one textbox and button if the user enter something on Txtbox and click button then based on input i show corresponding rows only, all other rowss will be hidded using Javascript like below

tblOrders.rows[CurrRow].style.display = 'none';

now im doing something on the Gridview_RowCommand event at this time the gridview got refreshed so that the hiden rows are visible, but i dont want to show the hidden(invisible) rows while rowcommand event fired. so, is there any way to solve this issue?

experts please help me to resolve this...........!

KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdbdf Exception code: 0xe0434f4d Fault off


Hi all just am getting this error with KernelBase.dll, what's happening at my application end is that I am using .NET Framework to determine if network connectivity is available, raise an event from underlying dll to inform application when network connectivity is established, or network connectivity is unavailable. Nothing really special here just using standard stuff out of .Net framework here.  Have seen similar incidents with KERNELBASE.dll reported, but no one is really giving out any info on what exception 0xe0434f4d is a code for.  Knowing what the execption would be, would allow me to find a quick workaround to the problem. BizTalk seems to have similar issue with KERNELBASE.dll. 


Additional info that may help is that I am running the .NET application on a Windows 7 machine with less than 100MB of storage space, well below the recommended minimum of 300mb, but am testing the .NET application through it's paces now. It should work if Windows 7 is working.

Below is the extract taken from the Windows application log:-


Where to find code samples for Microsoft® SQL Server® 2008 Analysis Services Step by Step



I got this book  Microsoft® SQL Server® 2008 Analysis Services Step by Step by Scott Cameron, Hitachi Consulting from our tech Library , however the companion CD is missing. Can anybody share the CD / practice code examples with me please? The book is only useful if I get to practice the code alongside reading the theory!



trying to use custom assembly with script task in SSIS 2008 - can't find correct version of GACUtil


I am trying to use a custom assembly (compiled with VS 2005 framework 2.0) with SSIS 2008.  I understand that I need to put this Assembly in the GAC.  I initially attempted to do this using the GACUtil, but I apparently only have version 1.1 of GACUtil intalled on my development PC.  Shouldn't version 2.0 have been installed as part of VS 2005? 

So I then tried simply copying the dll into the GAC folder using windows explorer.  Well, the dll is now visibly in the GAC folder, but I cannot see it from either VS 2005 or BIDS 2008.  Does that mean I do need to use GACUtil 2.0 or higher to install the DLL into the GAC?  If so, is there any place on the Web that I can download it?

Where can I find the Base Schema version Id for a particular table in SSMS


Where can I find the Base Schema version Id for a particular table in SSMS




How to Find Manager using Visual Studio Code



On Sharepoint Designer (I'm using Sharepoint 2010) I can use "Find Manager" when developing workflow. How to produce similar result using coding in Visual Studio 2010? I read something about User Information List, but cannot found any relation to "manager".

Thanks and Regards,


Negative Lookbehind assertion to find all the strings from source code of particular pattern

I wrote a regular expression to match all the double quoted strings in the source code but excluding those which are initializers to const declaration.

My expression was 

The first group is const declaration of string type. Second is used to match double quoted strings capable of handling escape sequences.


If i simple run a match using second group, all the strings are matched. But if i use the entire expression, it provides me all the characters between the end double quote of last string and first double quote of next string.

Please help.


keyword search - anyone got code or know where I can find it, tips ?


I need to search some records for one or more keywords ( user entered) and then display them in order of matching i.e. at the top all 3 keywords, at the bottom, just one keyword found.

Before I do this.... has anyone done it before ?

I was going to go through each sql record and search for the words, presume that best way ?

HowTo find a specific version of an assembly in the GAC?


I need to find a way of determining if a certain assembly version is present in the GAC and so far the only way I've found of doing this is by running gacutil /l AssemblyName and then parsing the output of that and check the 'Version' values.

Does anyone have a better solution?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend