|
how to register it. can u provide the steps.
Soniagupta1@yahoo.co.in
|
|
|
|
|
Google is broken where you live ?
It's worth mentioning that this will solve the problem on your dev machine, but you still need to deploy the dll with the app.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
You need to put it in the GAC.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
can u provide the steps please?
Soniagupta1@yahoo.co.in
|
|
|
|
|
1) Create an assembly key file
Use the sn.exe tool to create a key file:
sn -k StrongNameFile.snk
If your path environment variables aren't set, you'll have to go to the C:\Program Files\Microsoft.NET\FrameworkSDK\Bin\ directory to run sn.exe)
The filename "StrongNameFile.snk" can be any name you want.
2) Edit your assembly
Now you have to add a tag which will link your assembly key to the assembly:
using System.Reflection;
[assembly:AssemblyKeyFile("StrongNameFile.snk")]
Normally this is done in the utility AssemblyInfo.cs (vb) file.
3)Add your assembly to the GAC
gacutil /i AssemblyFileName.dll
To uninstall this assembly from the GAC, use the command:
gacutil /u AssemblyFileName
4) (Opional) Add your assembly to machine.config
Locate the <assemblies> tag (for web apps,under <configuration>/<system.web>/<compilation>/<compilers>/<assemblies>)
Between the <assemblies> tags, enter:
<add assembly="AssemblyFileName, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5edf592a9c40680c">
You can get the information for the assembly attribute, by running the gacutil /l command which will return a list of all the assemblies in the GAC. You will have to look for the one you just added and copy the entire line (less the Custom=XXX part at the end).
At this point, you will be able to place this directive in your aspx pages.
<%@Import Namespace="YourNamespace"%>
or, you can set a reference in the Visual Studio IDE as you would with other GAC Assemblies.
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
Paras Kaneriya wrote: If your path environment variables aren't set, you'll have to go to the C:\Program Files\Microsoft.NET\FrameworkSDK\Bin\ directory to run sn.exe)
The filename "StrongNameFile.snk" can be any name you want.
is it mandatory that the StrongNameFile.snk should be in C:\Program Files\Microsoft.NET\FrameworkSDK\Bin
Soniagupta1@yahoo.co.in
|
|
|
|
|
As I mentioned it is for running sn.exe
you can have .snk file anywhere in your system
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
|
dear all,
how to read website content in asp.net
can any one give me possible steps
Dhatchinamoorthy.R
9894824838
|
|
|
|
|
ASP.NET is a framework for generating web pages. It is not a language. C# and VB.NET are the languages used in ASP.NET. Both of these languages, having a common framework, have the ability to read the contents of a web page into a stream, which you can then use to write the HTML to disc, or to parse it. None of this has anything to do with ASP.NET, however, but the core languages.
What exactly are you looking to do ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: which you can then use to write the HTML to disc, or to parse it
what is the meaning of parsing ?
Soniagupta1@yahoo.co.in
|
|
|
|
|
here[^]
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
christian i know the meaning of parsing . i thought , it may be having any different meaning in this context.
That's y i asked this question.
Soniagupta1@yahoo.co.in
|
|
|
|
|
To Analyse syntactically by assigning a constituent structure to a code /program
Adeel Alvi
|
|
|
|
|
dear
not yet to try anything
can u give sample coding
Dhatchinamoorthy.R
9894824838
|
|
|
|
|
System.Net.WebClient class is used to read the content of page.
Search in google
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Hi
i want to create a custom Gridview control that will have three pre-defined column in it with threee textbox in each column .
1- First Column header text is Quantity and it will have Textboxes in all its rows
2-Second will be price and third will be of total .whenever user enter price and quantity it will do total=quantity*price and result should be shown in total. gridview footer would be having a label that will shows the grandtotal by adding all the values in all rows of total field, rest functionality will be same of gridview.
Regards
Adeel ALvi
|
|
|
|
|
|
If this[^] doesn't help, try asking the question a little more clearly, explaining in what context you mean it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have a custom control
which contain one button
private button btn. Now I have to write property which will set the button enabled or not. so in custom control i am writing property like this:
public property MakeReadonly
{
set
{
btn.Enabled= value;
}
}
I am creating the button ln CreateChildControls()
{
btn=new Button();
}
Now from the aspx page I want to set MakeReadonly property like this:
customcontrol1.MakeReadOnly=true;
It is giving me the error Object reference not to set instance of the object. How to enable / disable the ccontrols in ustom control .
Thanks
|
|
|
|
|
The CreateChildControls method is called after you call the MakeReadonly method, that's why there is no reference in the btn variable.
In the MakeReadonly property, store the value into a bool variable, then in the CreateChildControls method, use that variable to set the Enabled property of the button after you have created it.
---
single minded; short sighted; long gone;
|
|
|
|
|
Obviously, you need to work out what is null. Is it customControl1, or is it btn ? If it's btn, then you need to check if btn is null. One thing you could do, is have a bool that you set. Like this
private bool _isEnabled = true;
public bool ButtonEnabled
{
set
{
if (btn != null)
btn.Enabled= value;
_isEnabled = value;
}
}
CreateChildControls()
{
btn=new Button();
btn.Enabled = _isEnabled;
}
I don't believe the code you presented here would even compile, by the way.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have the wizard control. How to make the entire wizard control as read only or
how to make the one step of wizard as Readonly.
Thanks
|
|
|
|
|
What good is the wizard if it's read only ? Just make the controls in the wizard step read only, doesn't that work ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|