hi ! I am trying to get the url referer in http handler. all the broweser is giving currect valu except safari. It is null evry time. Can you pleaes tell me how do i get the url referer in safari Thank you.
MayukhSen
Posts
-
Url refere is null in safari -
Url refere is null in safarihi ! I am trying to get the url referer in http handler. all the broweser is giving currect valu except safari. It is null evry time. Can you pleaes tell me how do i get the url referer in safari Thank you.
-
Problem installing sql server 2005 express through code.Hi,Frinds. I have a code that install sql server 2005 through code with command line argument written in bat file. It was working fine on my machine with out any problem. But on other machine its not. its terminating with out giving any kind of error . the machine i am tring allready have .net framework, win installer 3.1 and crystal report framework. Can u please tell me the problem. Thank you
-
Collection removeif i am using a collection of int,string or any system defined data type
base.Remove(item);
is removing the item but when i am a custom class in this caseclsContent
it is not removing the item from collection . Offcouse i can usebase.Remove(item);
instead of clear can u plz tell how i use <code>base.Remove(item);</code> and not using any index -
Collection removeHi i have created a generic collection . I have My custom class. When i am adding objs of my custom class in the collection .I am not able to Search remove from the collection even i contains() method is not working .Can u plz Tell me where i am wrong. Or How should i do this.
public class GCommon<T> : Collection<T> where T : ICommonInterface
{new public void Add(T item) { if(!base.Contains(item)) base.Add(item); } public void Clear(T item) { foreach (T it in base.Items) { if(it.Equals(item)) base.Remove(item); } } new public bool Contains(T item) { bool retval = false; foreach (T itm in base.Items) if (itm.Equals(item)) { retval = true; break; } return retval; } } public interface ICommonInterface { } public class clsContent : ICommonInterface { public clsContent() { } public clsContent(int id,string Name, string Content) { \_Id = id; \_ContentName = Name; \_Content = Content; } private int \_Id; public int Id { get { return \_Id; } set { \_Id = value; } } private string \_ContentName; public string ContentName { get { return \_ContentName; } set { \_ContentName = value; } } private string \_Content; public string Content { get { return \_Content; } set { \_Content = value; } } }
-
Install SQL Server 2005 with custome AppHi I am creating an application that need sql server 2005 express. Now I need a separate sql server instance in the computer. to do this i have tree option 1) first install sql server then application. 2) first install Application then sql server. I cant go with these options . Bcoz i need to install the sqlserver atthe time of insatlling the application .I mnean in same msi file. But i cant do this either. bcoz i am unable to run a msi from another msi. I can write a cusome installer and run the sqlsvr32 file but it will throw the avobe error . Is there any option of installing the sql server from a dll or somthinglike wrraper with the msi of my application so that there will not be any kind of user ui shown for the sql sserver installation. Thank u.
-
Copy values in column to another columnFor Each dr As DataRow In sourceTable.Rows
destinationTable.ImportRow(dr)
NextsourceTable is Table A destinationTable is Table B
-
HOW TO Install SQLSERVER32 at installationI am creating an installer where i need to install SQL server express. i am doing this with help of a bat file. But i am getting an error, saying that.. One installer is running so i can't run another one. My Question is. How can i install sqlserver express at the time of installation of Application. Thank you
-
C# how to keep datetimes independent of regional settingsThank you for your response. I have found out the solution . I am setting my Application Culture at startup
Application.CurrentCulture = new CultureInfo("en-US");
-
C# how to keep datetimes independent of regional settingsi am taking the system date as
DateTime.Now.Date
its giving diffetent values for diferent culture 6/5/2010 12:00:00 AM : for English(United State) 05/06/2010 00:00:00 : for English(United Kingdom) I want my dates in '6/5/2010 12:00:00 AM' how to get date independent of regional settings -
Serial number in installer.Hi! I am making a setup installer(windows installer) which will install my application .I require a serial number window to integrate. I am using the "Customer information" window of setup project. There is an option of serial number entry. But the problem is i cant change the algo of validate serial key. the in-built algo is too week. Please help me, tell me how i can integrate serial number in "setup.msi" Thanks!
-
programmatically export crystal report with a sub report to .doc fileHi!. I have a report containing a link to view subreport . Now i have to export that in .doc programmatically. I am able to do this . But the subreport is not exported. How to export the report with the subreport. Thanks
-
Using Windows login credential in C# Applicationyeha! :( i guess ur right.
-
Using Windows login credential in C# Applicationone user can logout at any time from Application without loogin off from windows. and other user have to login into the application before the use the particular machine. so i have to keep separate user database form my application.
-
Program to start when windows startsput a shortcut in the current users "..\Start Menu\Programs\Startup" folder.
-
Using Windows login credential in C# Applicationi am developing a Desktop Application in c# where user have to give username and password to login. This application runs when windows starts. Now user have to give password for login to windows and then again the have to login in my application. My question is is there any option to get the login credential so that user have to login once for windows and my application? Thanks in advance.