it is some thing like this, in your code behind, after you have reference the DLL's to a new application, you can type this to know what functions can be override.
using NamespaceFromDLL //this namespace is namespace use by the DLL that you want to override
public class SomeClass
{
public override .....//in this area, it will automatically show all functions/methods that you can
//override, if nothing shows, if means there area no functions/methods that
//are declared as virtual.
}
Please mark as an Answer if this helps you, thnxs
JFRBPH12™
It's more fun in the Philippines :)
http://www.itsmorefuninthephilippines.com/
it is some thing like this, in your code behind, after you have reference the DLL's to a new application, you can type this to know what functions can be override.
How i can reference the DLL to the new Application ???
Sorry for these basics questions but i think better to ask rather than shy... !!
Jazaib.Hussa...
Member
21 Points
27 Posts
How To Make changes to Compiled Files ???
May 04, 2012 10:25 PM|LINK
hello all,
i dont have source code of my project but compiled files are there.
is there any possiblity to do something with these file to make some changes ???
my project has some file named "PrecompiledApp.config" that contains
<precompiledApp version="2" updatable="true"/>
Changes are not major just want to edit some values and also some reports..
Kindly Guide
Thanks
Jazaib Hussain
johnjalani
Member
334 Points
554 Posts
Re: How To Make changes to Compiled Files ???
May 05, 2012 01:19 AM|LINK
In terms of code behind files (DLL's) you can check if there are methods which are declared as "Virtual", you can override such method.
In terms of web.config, you can change it anytime you want.
It's more fun in the Philippines :)
http://www.itsmorefuninthephilippines.com/
Jazaib.Hussa...
Member
21 Points
27 Posts
Re: How To Make changes to Compiled Files ???
May 05, 2012 06:49 AM|LINK
I m really sorry i m new in this part of programming.
can you explain it for me how i can find Virtual method in DLL file ??
johnjalani
Member
334 Points
554 Posts
Re: How To Make changes to Compiled Files ???
May 05, 2012 07:00 AM|LINK
it is some thing like this, in your code behind, after you have reference the DLL's to a new application, you can type this to know what functions can be override.
using NamespaceFromDLL //this namespace is namespace use by the DLL that you want to override public class SomeClass { public override .....//in this area, it will automatically show all functions/methods that you can //override, if nothing shows, if means there area no functions/methods that //are declared as virtual. }Please mark as an Answer if this helps you, thnxs
It's more fun in the Philippines :)
http://www.itsmorefuninthephilippines.com/
Jazaib.Hussa...
Member
21 Points
27 Posts
Re: How To Make changes to Compiled Files ???
May 05, 2012 07:06 AM|LINK
How i can reference the DLL to the new Application ???
Sorry for these basics questions but i think better to ask rather than shy... !!
Thanks For Ur Kind Help
Kindly Guide Further
johnjalani
Member
334 Points
554 Posts
Re: How To Make changes to Compiled Files ???
May 05, 2012 07:15 AM|LINK
in the visual studio solution explorer, right click on the project, then select add reference, then browse on the location of the DLL.
It's more fun in the Philippines :)
http://www.itsmorefuninthephilippines.com/
ZeeshanAnsar...
Participant
878 Points
264 Posts
Re: How To Make changes to Compiled Files ???
May 05, 2012 07:16 AM|LINK
when .cs file compiled it generates MS IL Code which can not be modified
after that JIT compiler interpretes it into CPU native code.
you can examine the assembly by ILDASM tool.
Please 'Mark as Answer' if this post helps you.
AbdulAR
Member
324 Points
198 Posts
Re: How To Make changes to Compiled Files ???
May 05, 2012 07:19 AM|LINK
You can also you the third party software .Net Reflector to modify the assemblies.