|
How can i create a folder/file in registry and how can I write in the registry file?
Regards, Qaiser Nadeem
|
|
|
|
|
using Microsoft.Win32;
------........................
RegistryKey rsub = Registry.CurrentUser;//under currrent user
rsub.CreateSubKey("abc");
RegistryKey r = Registry.CurrentUser.OpenSubKey("abcd", true);
r.SetValue("sdate", DateTime.Now.Date.ToShortDateString());
r.SetValue("version", "00-0000");
-..........................
Hari
|
|
|
|
|
|
Eben if its a cross post its kind of informative.
Regards
Bino
|
|
|
|
|
Hello all... the above one appeared in the following topology:
Localhost web site -> localhost WebService -> QA env web srvice
Now if I do Localhost web site -> localhost WebService only it works
If I do localhost WebService -> QA env web srvice it works
Any insights?
Thanks!
Alberto Bar-Noy
Project Manager
http://www.consist.co.il
|
|
|
|
|
Alberto Bar-Noy wrote: A socket operation encountered a dead network
Quoting from MSDN(http://msdn2.microsoft.com/en-us/library/ms740668.aspx[^]), this is the description of the error message:
<br />
WSAENETDOWN<br />
10050 <br />
Network is down. <br />
A socket operation encountered a dead network. This could indicate a serious failure of the network system (that is, the protocol stack that the Windows Sockets DLL runs over), the network interface, or the local network itself.
|
|
|
|
|
Actually I found it...
Instead or running the web service in the middle in the same IIS of the machine I run it through the VS2005 web development server and everything works fine.
Thanks!
Alberto Bar-Noy
Project Manager
http://www.consist.co.il
|
|
|
|
|
Hi
in one of my application i am gathering all user information on one
page and provide a print button below it.If user clicked on the button
the form should get print?How can i do this? i am using asp.net 1.1 with
vb.net.
Thanks.
Rahul
|
|
|
|
|
There you go:
On the onclick of the button call window.print(); in javascript
Cheers!
Alberto Bar-Noy
Project Manager
http://www.consist.co.il
|
|
|
|
|
hi,
if i call window.print(); on clicked event of the button then the form get
printed.I don't have to write any extra code to achieve this.
Thanks.
Rahul.
|
|
|
|
|
I am glad it worked for you!
Alberto Bar-Noy
Project Manager
http://www.consist.co.il
|
|
|
|
|
Ok
Thanks for your help i tried it.
Rahul
|
|
|
|
|
i am using asp dot net and c# dot net.What my problem is that i couldn't clear out the history pages so that though i maintain session and remove session when i click log off, some files are still coming due to it's content saved in history. So is there any way to get out of it????Shall i have to do anything in asp dot ??????????
suchitamanandhar@hotmail.com
|
|
|
|
|
suchitaM wrote: What my problem is that i couldn't clear out the history pages
ASP.NET is a server side scripting. Browser history will be maintained by your browser and saved in your machine. So how an ASP.NET application running on server can clear this. ?
If you don't want your browser to maintain history, you should go for Server.Transfer() for all your redirects. This method is not advice-able since it makes lot of confusion for the user and extra work for you.
suchitaM wrote: i maintain session and remove session when i click log off, some files are still coming due to it's content saved in history.
Each page should check session is active before doing any process, Do the session check in all pages page_load event. This will prevent user to work on pages after logging off. If you are implementing this method, user may be able to see the page if it is cache, but they won't be able to do any transactions.
Better approach would be creating a common class which does user authentication and authorization.
|
|
|
|
|
suchitaM wrote: how to clear browser history
The simple answer is You can not . If you are skeptical about your web pages being logged in web browser history, you may prefer to route URLs through location.replace() of JavaScript.
|
|
|
|
|
Hello All,
I am using visual studio 2005 web developer. i am unable to add the ajax script manager over the aspx page. it is giving me error. Did i miss some proceedure before using the scriptmanager in aspx pages????
Thanks in advance
Bharath.S Ron
|
|
|
|
|
Hard to say, when you don't tell us what your error is, or what your code looks like.
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 )
|
|
|
|
|
when i am adding the script manager over the form it is giving the error on the script manager tool saying" Error creating control- scriptmanager " duplicate component name scriptmanager1, components name must be unique
this is the error which i am getting
Thanks
Bharath.S Ron
|
|
|
|
|
And what did you do to investigate this error ? I mean, the message is quite clear, do you have a scriptmanager on the page already ( you obvioulsy 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 )
|
|
|
|
|
No, i haven't used the script manager before in this site.
For that reason only i got confused, so , i am seeking help.
Bharath.S Ron
|
|
|
|
|
which type website u select for the script manager.
please select AJAXEnabledWebSite type website
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
i have already developed the website in asp.net 2.0, now i want to implement ajax over that.
i am not sure whether this is pssible or not.
If i create new ajaxenabled website then it will not give any error.
Bharath.S Ron
|
|
|
|
|
what is the error
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
please select AJAXEnabledWebSite type website
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
my dear AJAX script manager only work on ajaxenabled website.when u done this work then rply me
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|