How to use windows XP remote desktop services through .net application Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS"
rizwan afsar
Posts
-
How to use windows XP remote desktop services through .net application -
How to communicate Between Web And Desktop Application through remotingCan any one help me out how two application can communicate with each other one is web Application and other is Desktop Application. Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS"
-
Number of hits on the sitekeep that variable in session object ex Session["Counter"]=i.ToString(); Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS"
-
not refreshuse the ISPostBack Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS"
-
ASP.NET sessionchange the session timeout in the web.config file Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS"
-
Number of hits on the siteHi yuvraj Well to count number of hits. What you can do is that you can increment a counter in global.asax's protected void Session_Start(Object sender, EventArgs e) { i++; } this will give the number of hits on ur site Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS" Hope this help's you
-
How to work with Payment gateWayHi All, I am new to this payment processing ways. Please send me some link or example code to understand how to work with payment gateway . Thanx in Advance
-
PankajMr.Vasudevan Deepak Kumar so what are u up to!!!!!!!!!!!!!!!!! it s none of ur business to interfere in the matters if u are such a knowledgable person and have got a little litracey of technology then u would have found quite helpful things for your project if u are working on , rather cribbing on some foolish things
-
PankajDear Sushant Mathur i hope u know the ways to send mails to people can u please specify, if not plese do not get over-confident on your abilities.:mad: Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS"
-
Pankaj1)appSettings add key="strCON" value="User ID=username; Data Source=Databasename; Password=Password" appSettings 2)add key="strCON" value="User ID=username; Data Source=Databasename; Password=Password" 3)add key="strCON" value="Provider=SQLOLEDB.1;data source='Computername';Persist Security Info=False;Password=Password;User ID=Userid;Initial Catalog=DataBaseName" /> 4)add key="strCON" value="Max Pool Size=75; Min Pool Size=5;Connect Timeout=30;packet size=4096;user id=Userid;pwd=Password;data source='Computername';Initial Catalog=DataBaseName" /> "A winner is not the one who never fails, But one who NEVER QUITS" -- modified at 7:06 Thursday 27th April, 2006
-
For Rizwan AfsarDateTime Fdate =Convert.ToDateTime(dateText.Trim()); string TempDate1 = string.Format("{0:yyyy/MM/dd}", Fdate); Fdate =Convert.ToDateTime(TempDate1); Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com
-
For Pankaj GuptaTextBox1.text= Date from test box var test=Convert.ToDateTime(TextBox1).ToString("YYYY/MM/DD") Send me reply soon if it solve ur purpose or string Test=Convert.ToDateTime(todayDate).ToString("yyyy/MM/dd"); OR DateTime Fdate =Convert.ToDateTime(dateText.Trim()); string TempDate1 = string.Format("{0:yyyy/MM/dd}", Fdate); Fdate =Convert.ToDateTime(TempDate1); Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com -- modified at 3:48 Thursday 20th April, 2006
-
XML file readingsample to read all the nodes of XML file string[] sb=new string[4]{"","","",""}; XmlDocument doc = CreateDoc(XmlFile); XmlNode root = doc.SelectSingleNode("FormatModule/Leads/Contents"); XmlNode root1; string fieldname; foreach(XmlNode node in root.ChildNodes) { if(root.NodeType != XmlNodeType.Comment) { string str=node.Name; switch(str) { case "Body1": root1=doc.SelectSingleNode("FormatModule/Leads/Contents/Body1"); foreach(XmlNode n in root1.ChildNodes) { if(n.NodeType != XmlNodeType.Comment) { XmlAttribute name = n.Attributes["type"]; if(name.InnerText=="text") { sb[0]+=n.InnerText.ToString()+"\n\n"+" "; } if(name.InnerText=="Field") { fieldname=n.Attributes["FieldName"].InnerText.Trim(); sb[0]+=DataLeads(id,fieldname); } } } break; return sb; } Hope u might be knowing how to creaate XML file Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com
-
how to restrict entry in address bar of browserPlease tell me how can i restrict user from entering a url in address bar directly to open a web page, Or even if he enters a url he will not be allowed to view that page Thanx in advance
-
date formatsprivate static void SetSelected(string Date) { string[] ResultList; Regex DateSplitter = new Regex("^\\d{4,4}\\/\\d{1,2}\\/\\d{1,2}$"); if(DateSplitter.IsMatch(Date)) { char divider = '/'; ResultList = Date.Split(divider); int SelectedYear = Int32.Parse(ResultList[0]); int SelectedMonth = Int32.Parse(ResultList[1]); int SelectedDay = Int32.Parse(ResultList[2]); int CompareDay=0; if(SelectedMonth<=12 ) { CompareDay=DateTime.DaysInMonth(SelectedYear,SelectedMonth); } else { Console.WriteLine("Invalid Date"); return ; } if(SelectedDay >CompareDay) { Console.WriteLine("Invalid Date"); return ; } else if(SelectedYear>=2100 || SelectedYear <= 1900 ) { Console.WriteLine("Invalid Date"); return ; } else { Console.WriteLine("Valid"); } } else { Console.WriteLine("InValid Date"); } }
-
How to make webservices as StatefullTry this one also http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63\_gci983935,00.html Amit Sood Associate Member, Technical Team IAP Company Ltd, Gurgaon
-
How to make webservices as Statefulladd this to every method which u want to be with state in web services [ WebMethod(EnableSession=true) ] bye sexy Amit Sood Say thanx to me
-
using javascript confirmation box in gridview asp.netThese are the steps you need to follow Step1:In your form example(form1.aspx.cs)put this code remember it soould be protected void protected void Imagebutton10_Click(object sender, System.Web.UI.ImageClickEventArgs e) { this.Page.RegisterStartupScript("SetConfirm", "window.Form1['DisplayConfirm'].value=true;"); this.Page.RegisterStartupScript("SetConfirm", "window.Form1['DisplayConfirm'].value=false;"); ImageButton Imagebutton=(ImageButton)sender; DataGridItem dgi=(DataGridItem)Imagebutton.Parent.Parent; ViewState["BookMarkID"]=this.dg_SearchCondition.Items[dgi.DataSetIndex].Cells[5].Text; } Step2:In HTML of your page Paste this code onclick="Imagebutton10_Click" runat="server" ImageUrl="image\delete.bmp"> Step3: Declear a java script function in your HTML function displayMessage() { if(window.Form1["DisplayConfirm"].value==true || window.Form1["DisplayConfirm"].value=="true") { if(confirm(" Do you want to delete?")==true) { window.Form1["Button3"].click(); } } Step4: Call this function on form body load onload="displayMessage();" step5:Take a button named "Button3" on ur page make it small so that it sould not be visible on page load. step6:Take HTML Hidden text box with name example on your page Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon -- modified at 7:59 Tuesday 4th April, 2006
-
How to make webservices as StatefullHi All Can any one tell How to make webservice as statefull Rizwan Afsar -- modified at 2:36 Wednesday 5th April, 2006
-
question enjoyC# Sharp Dotnet Interview Questions 1) The C# keyword ‘int’ maps to which .NET type? a.System.Int16 b.System.Int32 3.System.Int64 4.System.Int128 2) Which of these string definitions will prevent escaping on backslashes in C#? a.string s = #”n Test string”; b.string s = “’n Test string”; c.string s = @”n Test string”; d.string s = “n Test string”; 3) Which of these statements correctly declares a two-dimensional array in C#? a.int[,] myArray; b.int[][] myArray; c.int[2] myArray; d.System.Array[2] myArray; 4) If a method is marked as protected internal who can access it? a.Classes that are both in the same assembly and derived from the declaring class. b.Only methods that are in the same class as the method in question. c.Internal methods can be only be called using reflection. d.Classes within the same assembly, and classes derived from the declaring class. 5) What is boxing? a) Encapsulating an object in a value type. b) Encapsulating a copy of an object in a value type. c) Encapsulating a value type in an object. d) Encapsulating a copy of a value type in an object. 6) What compiler switch creates an xml file from the xml comments in the files in an assembly? a./text b./doc c./xml d./help 7) What is a satellite Assembly? a)A peripheral assembly designed to monitor permissions requests from an application. b)Any DLL file used by an EXE file. c)An assembly containing localized resources for another assembly. d)An assembly designed to alter the appearance or ‘skin’ of an application. 8) What is a delegate? a)A strongly typed function pointer. b)A light weight thread or process that can call a single method. c)A reference to an object in a different process. d)An inter-process message channel. 9) How does assembly versioning in .NET prevent DLL Hell? a)The runtime checks to see that only one version of an assembly is on the machine at any one time. b).NET allows assemblies to specify the name AND the version of any assemblies they need to run. c)The compiler offers compile time checking for backward compatibility. d)It doesn’t. 10) Which “Gang of Four” design pattern is shown below? public class A { private A instance; private A() { } public static A Instance { get { if ( A == null ) A = new A(); return instance; } } } a)Factory b)Abstract Factory c)Singleton d)Builder 11) In the NUnit t