5,346 Posted Topics
Re: You must have to read this article - [URL="http://www.codeproject.com/KB/mcpp/helloworldmc.aspx"]http://www.codeproject.com/KB/mcpp/helloworldmc.aspx[/URL] SUMMARY - ASP.NET does not support Managed C++ but it does support MSIL compiled assemblies. | |
Re: From the java documentation - [URL="http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpSessionListener.html"]HttpSessionListener.html[/URL] Implementations of this interface are notified of changes to the list of active sessions in a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application. | |
Re: Take a look at this tutorial - [URL="http://msdn.microsoft.com/en-us/library/336wast5(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/336wast5(VS.71).aspx[/URL]. | |
Re: Provide more memory to your JVM ([URL="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html"]java switches -Xmx[/URL]) or don't load all the [URL="http://www.daniweb.com/forums/thread30336.html"]data[/URL] into memory. Use [URL="http://en.wikipedia.org/wiki/Divide_and_conquer_algorithm"]Divide and conquer algorithm[/URL] | |
Re: To use CSS files, JavaScript files and images in resource, you must convert all links in HTML file to be the resource numbers. Take a look at this article - [URL="http://www.codeproject.com/KB/MFC/ImgCssJsHtmlDlg.aspx?msg=953524"]http://www.codeproject.com/KB/MFC/ImgCssJsHtmlDlg.aspx?msg=953524[/URL] | |
Re: Read PHP manual page - [URL="http://www.php.net/manual/en/image.setup.php"]http://www.php.net/manual/en/image.setup.php[/URL] | |
Re: Use TimeSpan structure. [code] Dim d1 As Date = #12/5/2008# Dim d2 As Date = Now Dim ts As TimeSpan = d2 - d1 Dim dt As Date = Date.MinValue + ts Console.WriteLine("Year : {0} Month : {1} Days : {2}", dt.Year, dt.Month, dt.Day) [/code] | |
Re: Maybe you will get some useful information regarding to your problem from this FAQ - [URL="http://social.msdn.microsoft.com/Forums/en-US/vside2008/thread/9f84bdf7-aace-4a57-a3e4-3863a0efb647"]http://social.msdn.microsoft.com/Forums/en-US/vside2008/thread/9f84bdf7-aace-4a57-a3e4-3863a0efb647[/URL]. | |
Re: Add the reference of MsFlexGrid DLL to your project and also read this FAQ - [URL="http://social.msdn.microsoft.com/Forums/en-US/vbinterop/thread/46e102fc-e3de-423e-abab-819be1255384"]http://social.msdn.microsoft.com/Forums/en-US/vbinterop/thread/46e102fc-e3de-423e-abab-819be1255384[/URL] | |
Re: I really don't think there is any reason to encrypt session. Session state enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application. It is not shared by other users. As such, no need to encrypt it since it is … | |
Re: Use & (string concat) operator to form a query. [code] .... oCom.CommandText = "INSERT INTO Children(First,Middle,Last,Ofsted) VALUES ('" & textbox1.text & "','" & textbox4.text & "','" & textbox2.text & "')" oCom.ExecuteNonQuery() .... [/code] I suggest you to use [URL="http://www.asp.net/Learn/data-access/tutorial-48-vb.aspx"]Parameterized Query[/URL]. [code] Dim oCom As System.Data.SqlClient.SqlCommand Dim oConn As System.Data.SqlClient.SqlConnection Try … | |
Re: [URL="http://objectlistview.sourceforge.net/cs/index.html"]ObjectListView[/URL] - It is open source and is a wrapper around a normal .NET ListView. | |
Re: Set [b]False[/b] value to HideSelection property - the selected text in the text box control remains highlighted when the control loses focus. | |
Re: Take a look at following code, [code] .. var doc = XDocument.Load(@"sample1.xml"); var t = from node in doc.Descendants("installed") select node; var m = from node1 in t.Descendants() where node1.Attribute("title").Value == "sampleapp" select node1; if (m.ToList().Count!=0) { m.Remove(); doc.Save(@"sample1.xml"); } .. [/code] | |
Re: I suggest you to use [URL="http://msdn.microsoft.com/en-us/sqlserver/bb671393.aspx"]Microsoft SQL Server 2005 Integration Services (SSIS)[/URL]. - It is a platform for building high performance data integration solutions, including the extraction, transformation, and loading (ETL) of packages for data warehousing. Take a look at - [URL="http://msdn.microsoft.com/en-us/library/ms140052.aspx"]How to: Run the SQL Server Import and Export … | |
Re: Take a look at [URL="http://www.asp.net/"]http://www.asp.net/[/URL] - Microsoft portal site for the ASP.NET development community. | |
Re: Argument type mismatch Now.Add(age). Take a look at following code snippet. [code] Dim age As DateTime = #12/5/2008# Dim ageTime As TimeSpan ageTime = Now - age Dim diff As Date = Date.MinValue + ageTime [/code] | |
Re: Take a look at MSDN article - [URL="http://msdn.microsoft.com/en-us/library/bb690938.aspx"]PrintForm Component[/URL]. | |
Re: Try this code, [code] .... If ListBox1.SelectedIndex <> -1 Then ListBox1.Items.RemoveAt(ListBox1.SelectedIndex) System.IO.File.WriteAllLines("file.txt", ListBox1.Items.Cast(Of String)().ToArray()) End If .... [/code] | |
Re: Your question is bit unclear to me. I think you want to add a record into the database along with datatable. Isn't it? | |
Re: Take a look at this thread - [URL="http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/97e55815-d73c-48c3-9a60-1ca617218bd2"]http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/97e55815-d73c-48c3-9a60-1ca617218bd2[/URL] | |
Re: The assignment to a variable of a value type creates a copy of the assigned value, while the assignment to a variable of a reference type create a copy of the reference but not of the referenced object. | |
Re: You have to configure ItemTemplate and other templates of [URL="http://www.w3schools.com/ASPNET/aspnet_datalist.asp"]DataList [/URL]. Take a look at tutorial - [URL="http://www.asp.net/Learn/data-access/tutorial-29-vb.aspx"]http://www.asp.net/Learn/data-access/tutorial-29-vb.aspx[/URL] | |
Re: >I have found a mdf file which i have tryed to connect to through excel but this data is not the same as in my application. You wouldn't normally deploy sql server with an application, you normally have sql server running on a dedicated windows server on the network and … | |
Re: Read this FAQ - [URL="http://social.msdn.microsoft.com/Forums/en-US/clr/thread/ce6a8a5b-cee8-4d1b-b6de-77627256197e"]http://social.msdn.microsoft.com/Forums/en-US/clr/thread/ce6a8a5b-cee8-4d1b-b6de-77627256197e[/URL] | |
Re: Try it, [code] ..... case 'I': case 'i': if(roman.at(i+1)=='V' || roman.at(i+1)=='X') decimal-=1; else decimal += 1; .... [/code] | |
Re: Take a look at this thread - [URL="http://www.daniweb.com/forums/thread183072.html"]http://www.daniweb.com/forums/thread183072.html[/URL] | |
Re: Try out, [code] .... for(int i=0;i<ListBox1.Items.Count;) { if (ListBox1.Items[i].Selected) { CheckBoxList1.Items.Add(ListBox1.Items[i]); ListBox1.Items.RemoveAt(i); } else i++; } ... [/code] | |
Re: Use MailMessage.Bcc collection - It is used to add a BCC recipient to an e-mail message, create a MailAddress for the recipient's address, and then add that object to the collection returned by the Bcc property. | |
Re: Take a look at this article - [URL="http://www.codeproject.com/KB/vb/NetRemoteTOD.aspx"]http://www.codeproject.com/KB/vb/NetRemoteTOD.aspx[/URL]. | |
Re: Use ASP.NET [URL="http://msdn.microsoft.com/en-us/library/ecs0x9w5.aspx"]Menu[/URL] control. To change the Menu orientation you can set the Orientation property as follows: [code] Menu1.Orientation = Orientation.Vertical; [/code] | |
Re: Yes you can change the order of rows using [b]Linq Dataset[/b], [code] DataTable dt = new DataTable("Test"); dt.Columns.Add("No", typeof(int)); dt.Columns.Add("Name"); dt.Rows.Add(1, "R"); dt.Rows.Add(5, "A"); dt.Rows.Add(4, "W"); dt.Rows.Add(2, "C"); dt.AcceptChanges(); var t = (from rec in dt.AsEnumerable() select rec).Reverse(); dt = t.CopyToDataTable(); GridView1.DataSource = dt; GridView1.DataBind(); [/code] | |
Re: Set DataMember property with a name of table, [code] DG1.DataSource=ds; DG1.DataSource="Material"; [/code] or You may use, [code] DG1.DataSource=ds.Tables[0]; [/code] | |
Re: Welcome, Use classes from [URL="http://msdn.microsoft.com/en-us/library/h43ks021(VS.71).aspx"]ADO.NET[/URL] to execute stored-procedures. Take at look at this link - [URL="http://www.c-sharpcorner.com/UploadFile/gtomar/storedprocedure12052007003126AM/storedprocedure.aspx"]http://www.c-sharpcorner.com/UploadFile/gtomar/storedprocedure12052007003126AM/storedprocedure.aspx[/URL] | |
Re: print function of JavaScript is needed to print a web page. [code] .. <script type="text/javascript"> function doit(){ print(); } </script> .. [/code] | |
Re: Change an expression: i<=myInbox.Items.Count; with, [code] for (int i = 0; i<myInbox.Items.Count; i++) { .... } [/code] | |
Re: Take a look at [URL="http://php.net/manual/en/features.file-upload.php"]http://php.net/manual/en/features.file-upload.php[/URL]. | |
Re: Take a look at [URL="http://msdn.microsoft.com/en-us/library/aa480498.aspx"]The Power of XmlElement Parameters in ASP.NET Web Methods[/URL]. | |
Re: Flexible array members are a C feature introduced in C99 whereby one can declare the last element to be an array of unspecified size. | |
Re: Take a look at this article - [URL="http://www.devarticles.com/c/a/HTML/The-power-of-DIV-with-IFRAME/"]http://www.devarticles.com/c/a/HTML/The-power-of-DIV-with-IFRAME/[/URL] | |
Re: To develop website/webapp using asp.net, you must have know-how of .net framework, C# or VB.NET language, and html/css/javascript. Take a look at - [URL="http://msdn.microsoft.com/hi-in/asp.net/default.aspx"]http://msdn.microsoft.com/hi-in/asp.net/default.aspx[/URL] | |
Re: As the error says, the name getch() is deprecated, and [URL="http://msdn.microsoft.com/en-us/library/ms235446(VS.80).aspx"]_getch()[/URL] is recommended instead. | |
Re: Hi danny. You have to handle formclosing event along with [URL="http://hashfactor.wordpress.com/2009/03/31/c-winforms-create-a-single-instance-form/"]singleton[/URL] - single instance of Form. | |
Re: >What benefits will WPF give me, the developer, and the users of the app? Of course, The developer. I have two links of article - [URL="http://windowsclient.net/wpf/white-papers/when-to-adopt-wpf.aspx"]Deciding when to adport WPF[/URL] and [URL="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation"]http://en.wikipedia.org/wiki/Windows_Presentation_Foundation[/URL] | |
Re: Read this FAQ - [URL="http://c-faq.com/ptrs/goodfor.html"]What are pointers really good for, anyway?[/URL] | |
Re: Take a look at wiki - [URL="http://en.wikipedia.org/wiki/Microsoft_SharePoint"]Microsoft SharePoint[/URL]. SUMMARY: SharePoint can be used to host web sites that access shared workspaces, information stores and documents, as well as host defined applications such as wikis and blogs. All users can manipulate proprietary controls called [b]web parts[/b] or interact with pieces of … | |
Re: Use [URL="http://technet.microsoft.com/en-us/library/ms171908(SQL.90).aspx"]Ms-Sql[/URL] server [URL="http://blogs.msdn.com/sqlservercompact/"]compact[/URL] edition. | |
Re: Read this article - [URL="http://www.hanselman.com/blog/HowToSetAnIISApplicationOrAppPoolToUseASPNET35RatherThan20.aspx"]http://www.hanselman.com/blog/HowToSetAnIISApplicationOrAppPoolToUseASPNET35RatherThan20.aspx[/URL] | |
Re: ASP.NET 2.0 GridView HtmlEncode property of Bound Columns is set to true for security reasons (to prevent xss attacks). I think you are working with 1.1 version. Take a look at this MSDN article - [URL="http://msdn.microsoft.com/en-us/library/ms972969.aspx#securitybarriers_topic7"]Take Advantage of ASP.NET Built-in Features to Fend Off Web Attacks[/URL] | |
Re: You need to create an instance of that class. Write following code in button's click handler. [code] ClassName var=new ClassName(); [/code] In case you are using namespace then use, [code] namespace_Name.ClassName var=new namespace_Name.ClassName(); [/code] |
The End.