Yeah, It is in Registry only. I mean how to do that by some exe and which key is that.
sandeep kumar pundhir
Posts
-
Uncheck "Automatically Detect Settings"optionin IE -
Uncheck "Automatically Detect Settings" checkbox in IEHi, I need to create an executable in c# which unchecks the "Automatically Detect Settings" checkbox in Internet Explorer Options, LAN Settngs. Any Help? Thanks
-
Uncheck "Automatically Detect Settings"optionin IEHi, I need to create an executable in c# which unchecks the "Automatically Detect Settings" checkbox in Internet Explorer Options, LAN Settngs. Any Help? Thanks
-
Disabling main page while pop up window is there.Hi, I have a page1.aspx , there i have a link button on click of which i opens a pop up window. My requirement is that when my pop up window is opened then the user should not be able to perform any action on the page1.aspx I used a modular window for this, but again i have a linkbutton on that modular window, clicking on it opens a new url in new window.But i want it to be in same modular window. So any of the thing can resolve my problem 1> A pop up window where user cannot perform any action on page1.aspx 2> A modular window, having link button , clicking on it should open the new page in it self Is there any way to make the Page1.aspx disabled (fade color with)when pop up window is active. thanx
-
Display / visible method in JavascriptThanx for ur reply. But now wat is hapening.... The textbox1 becomes visible for a second after clicking the button, it again disappears
-
Display / visible method in JavascriptHi, I m using javascript to make a textbox visible, which is set to style=display:none at the page load.But when i click the button (On which javascript is method is called), the textbox doesnot makes it visible. I m doing protected void Page_Load(object sender, EventArgs e) { string str = "function radio()" + "{" + "if(document.getElementById('radio1').Checked!=true)" + "{" + "document.getElementById('" + TextBox1.ClientID + "').visible;" + "alert('sandeep');" + "}" + "}"; this.RegisterClientScriptBlock("clientScript", str); Button1.Attributes.Add("onClick", "radio()"); } Where i am going wrong... Thanx
-
Remembering Password in Asp.netHi, I have a login page in asp.net accepting username as email and password,using form authentication. And a checkbox to make password persistent or non -persistent. My requirement is that when i log out, then again when i open the url , and puts the same emailid then its password should automalically come in password textbox. Is there anyother way to achieve this. Thanx
-
Form Authentication cookieHi, i am using Form Authentication in my asp.net appication. It creates a persistent cookie named Cookie1 in cookies folder at my system. I want to change/set the Name of this cookie to Cookie2 on the click of a button from page.How can i do that ? (Q: Does form authentication always created persistent cookie, how can i change it so that when i close the browser , the coookie also goes off ?) Alternatly, if i can create a new form authentication cookie at the same place with the name Cookie2. i am using following code.But cannot see my cookie2 in the folder protected void LinkButton2_Click(object sender, EventArgs e) { FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, "username", DateTime.Now, DateTime.Now.AddMinutes(30), true, FormsAuthentication.FormsCookiePath); string encryptedTicket = FormsAuthentication.Encrypt(ticket); HttpCookie authCookie = new HttpCookie("cookie2", encryptedTicket); authCookie.Expires = System.DateTime.Now.AddMinutes(30); authCookie.Secure = true; Response.Cookies.Add(authCookie); } Any code support will be of great help. Thx
-
Form authenticationHi, i am using Form Authentication in my asp.net appication. It creates a persistent cookie named Cookie1 in cookies folder at my system. I want to change/set the Name of this cookie to Cookie2 on the click of a button from page.How can i do that ? (Q: Does form authentication always created persistent cookie, how can i change it so that when i close the browser , the coookie also goes off ?) Alternatly, if i can create a new form authentication cookie at the same place with the name Cookie2. i am using following code.But cannot see my cookie2 in the folder protected void LinkButton2_Click(object sender, EventArgs e) { FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, "username", DateTime.Now, DateTime.Now.AddMinutes(30), true, FormsAuthentication.FormsCookiePath); string encryptedTicket = FormsAuthentication.Encrypt(ticket); HttpCookie authCookie = new HttpCookie("cookie2", encryptedTicket); authCookie.Expires = System.DateTime.Now.AddMinutes(30); authCookie.Secure = true; Response.Cookies.Add(authCookie); } Any code support will be of great help. Thx
-
Single sign on in two websitesYep, i implemented the things like that, but the problem is that, then i keep the same cookie name for the two sites , it works, but i need to have different names for the cookies for each sites.Then it do not works, any solution to this please
-
Single sign on in two websiteshi, i have to realted queries 1> i have two websites, www.main.com and www.second.com in asp.net i want that when anyone signs in www.main.com and clicks a link to www.second.com then user shud redirect to the requested page without showing the login page of www.second.com 2> how i can see/edit the content of the authentication cookie generated. Any code / reply / reference welcome thnx
-
Dockable window in asp.netHi, i need to create a dockable window in asp.net 2.0.showing the controls of a webpage,it should get opened on a button click . how it can be done? Any references / code please thanx
-
Single sign on for application in different domain using different validation keyssHi, i have three asp.net applications in different domains say www.domain1.com and www.domain2.com and www.domain3.aspx. Two pages are there in each applications .First LogIn.aspx and other MyPage.aspx. In mypage of www.domain1.com, i have a link to mypage.aspx of www.domain2.aspx and www.domain3.aspx. now my requiremets are: 1> when user login in www.domain1.aspx, and clicks any link on MyPage.aspx, say he clicks www.domain2.aspx, then he shud be redirected to Mypage.aspx of www.domain2.aspx. it shud not show him its login page .same for www.domain3.aspx.i have to use forms authentication. Its basicly a single sign on. The problem i am facing excatly is that, i acieved this using same machinekey,validationkey for all in web.config like decryptionKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" validation="SHA1" /> But i need that the validation keys should be different for different applicatons in there web.config ,and when i click the links from www.domain1.aspx then anyways i save it in the formauthetication cookie and also i want to add some more information in formauthentication cookie. Please help me in this. Its urgent.Any other way to get this functionality achieved ia also welcome thx
-
Single sign on for application in different domain using different validation keysHi, i have three asp.net applications in different domains say www.domain1.com and www.domain2.com and www.domain3.aspx. Two pages are there in each applications .First LogIn.aspx and other MyPage.aspx. In mypage of www.domain1.com, i have a link to mypage.aspx of www.domain2.aspx and www.domain3.aspx. now my requiremets are: 1> when user login in www.domain1.aspx, and clicks any link on MyPage.aspx, say he clicks www.domain2.aspx, then he shud be redirected to Mypage.aspx of www.domain2.aspx. it shud not show him its login page .same for www.domain3.aspx.i have to use forms authentication. Its basicly a single sign on. The problem i am facing excatly is that, i acieved this using same machinekey,validationkey for all in web.config like But i need that the validation keys should be different for different applicatons in there web.config ,and when i click the links from www.domain1.aspx then anyways i save it in the formauthetication cookie and also i want to add some more information in formauthentication cookie. Please help me in this. Its urgent.Any other way to get this functionality achieved ia also welcome thx
-
Single Sign On for two sites of different domains.Hi I have two different sites say www.domain1.com & www.domain2.com developed in asp.net 2.0. I want that user logs in www.domain1.com , and then clicks the hyperlink to www.domain2.com, then he should not be shown the login page of www.domain2.com. some sample code will be of great help to me. thanx sandy
-
Protecting Applicatin DLL (dot net)Hi all, I want that the dll of my application which are on the client machine after deployment should be protected that no one can see the code and logic using some deassembler tool. How should i protect this??? i tested a third party tool to read a dll of some trial version application from internet. Its opens the code easily, but when i tried the same tool with some system32 dll, the dll showed to be locked. I want this to be in my dll also. How is it possible ??? Sample Code, Suggestion, References welcom ........ Thanx sandeep
-
Protecting application DLL [c#]Hi all, I want that the dll of my application which are on the client machine after deployment should be protected that no one can see the code and logic using some deassembler tool. How should i protect this??? i tested a third party tool to read a dll of some trial version application from internet. Its opens the code easily, but when i tried the same tool with some system32 dll, the dll showed to be locked. I want this to be in my dll also. How is it possible ??? Sample Code, Suggestion, References welcom ........ Thanx sandeep
-
Syncronise the system Date through c# codeHi All, I have to syncronise the system Date through c# code. The scenerio is like whenever User sign In, I have to check the current system date,and compare with the date i have written in Registery, so that he can not use the appication beyond the trial period date. The Problem is that the User can Manipulate his system date and can sign in n number of times. If anyone have the code then Please help me out in my problem. Thanx Sandeep
-
Problem inserting xml string into temp table (inserting only a part of string not complete)Yes SPLIT is a User Defined Function set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER FUNCTION [dbo].[Split](@String nvarchar(4000), @Delimiter char(1)) RETURNS @Results TABLE (Items nvarchar(4000)) AS BEGIN DECLARE @INDEX INT DECLARE @SLICE nvarchar(4000) -- HAVE TO SET TO 1 SO IT DOESNT EQUAL Z -- ERO FIRST TIME IN LOOP SELECT @INDEX = 1 -- following line added 10/06/04 as null -- values cause issues IF @String IS NULL RETURN WHILE @INDEX !=0 BEGIN -- GET THE INDEX OF THE FIRST OCCURENCE OF THE SPLIT CHARACTER SELECT @INDEX = CHARINDEX(@Delimiter,@STRING) -- NOW PUSH EVERYTHING TO THE LEFT OF IT INTO THE SLICE VARIABLE IF @INDEX !=0 SELECT @SLICE = LEFT(@STRING,@INDEX - 1) ELSE SELECT @SLICE = @STRING -- PUT THE ITEM INTO THE RESULTS SET INSERT INTO @Results(Items) VALUES(@SLICE) -- CHOP THE ITEM REMOVED OFF THE MAIN STRING SELECT @STRING = RIGHT(@STRING,LEN(@STRING) - @INDEX) -- BREAK OUT IF WE ARE DONE IF LEN(@STRING) = 0 BREAK END RETURN END
-
FileUpload not working with AjaxHi I m using Atlas for asynchronous refreshing the page, and i have a fileupload control on the page. when i use ATLAS the opload control doesnot work > It shows FileUpload.FileName="" , though i browse a file in it. can any one help me so that both the things works together thnx sandeep