5,346 Posted Topics
Re: >how do i get the coordinates of the button in the form? Use [b]Location[/b] Property of button control. >how do i get the coordinates of starting and endpoints of the line? Handles MouseDown, MouseMove, and MouseUp events of a Form control. | |
Re: XSLT is written in a very functional style, and in this style there is no equivalent of a exit/break statement. [code] <xsl:for-each select="nodes"> <xsl:if test="some condition"> body of loop... </xsl:if> </xsl:for-each> [/code] Take a look at this article - [URL="http://articles.techrepublic.com.com/5100-10878_11-5085807.html"]http://articles.techrepublic.com.com/5100-10878_11-5085807.html[/URL] | |
Re: Take a look at [URL="http://curl.haxx.se/libcurl/dotnet/"]libcurl[/URL]. libcurl.NET Internet Client API. | |
Re: Show us your code work please. You will find some useful information from this MSDN page - [URL="http://msdn.microsoft.com/en-us/library/aa479339.aspx"]http://msdn.microsoft.com/en-us/library/aa479339.aspx[/URL] | |
Re: Read this page - [URL="http://dev.mysql.com/doc/refman/5.1/en/connector-cpp.html"]http://dev.mysql.com/doc/refman/5.1/en/connector-cpp.html[/URL] SUMMARY: For windows platform, MySQL Connector/C++ supports only Microsoft Visual Studio 2003 and above on Windows. | |
Re: Use SplitContainer instead of MDI. Check this out - [URL="http://sourceforge.net/projects/dockpanelsuite/"]The docking library for .Net Windows Forms.[/URL] | |
Re: If you are familiar with struts then try to use [URL="http://struts.apache.org/1.x/struts-tiles/"]tiles[/URL]. | |
Re: Here is a good article - [URL="http://www.codeproject.com/KB/ajax/EnableAjax.aspx"]Adding ASP.NET AJAX to an Existing ASP.NET Application.[/URL] You will find more details on ajax from [URL="http://www.asp.net/ajax/"]http://www.asp.net/ajax/[/URL] link. | |
Re: Don't paint when value of x & y variable is zero. [code] public void paintComponent(Graphics g){ if(x>0 && y>0) { g.drawString("X: " + x + ",Y: " + y + "",x,y); g.drawString("Click #: " + counter ++ ,x , y + 16); } } [/code] | |
Re: [URL="http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/37e4f691-7831-42a7-b491-6fd884eb0bc0"]Handles[/URL] clause is missing with Event handler. | |
Re: Your question is bit unclear. Please elaborate it. | |
Re: The theoretical limit may be 2,147,483,647, but the practical limit is nowhere near that. Since no single object in a .Net program may be over 2GB and the string type uses unicode (2 bytes for each character), the best you could do is 1,073,741,823, but you're not likely to ever … | |
Re: Check your control references and see if you have something labeled [b]DHTML Edit Control for IE5[/b]. | |
Re: Try it, [code] private void Form1_Load(object sender, EventArgs e) { Button b = new Button(); b.Click += new EventHandler(b_Click); } void b_Click(object sender, EventArgs e) { // put your code } [/code] | |
Re: You can use the following code, [code] <?php $cn = new mysqli("localhost","user","pw","db"); if(!$cn) die("Fails"); $result=$cn->query("select * from TableName"); if(!result) die("Fails"); while($row=$result->fetch_row()){ // put your statements } $result->free(); $cn->close(); ?> [/code] Please refere this link - [URL="http://php.net/manual/en/book.mysqli.php"]http://php.net/manual/en/book.mysqli.php[/URL] [URL="http://php.net/manual/en/ref.mysqli.php"]Aliases and deprecated Mysqli Functions[/URL] | |
Re: You can use [URL="http://msdn.microsoft.com/en-us/library/bb384936.aspx"]Extension Method[/URL] - Extension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. [code] Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Controls.ClearControls() 'To clear Textboxes only … | |
Re: Try, [code] FileStream fs = new FileStream(System.IO.Path.GetTempPath() + @"\MyTempDir\" + listBox1.SelectedValue, FileMode.Create); [/code] | |
Re: >Is this possible to get working? Yes. | |
Re: What is your problem? | |
Re: [b]session.gc_maxlifetime[/b] is based off of the last time a session file was modified. So every time a session file is modified or a session_start() is called in a separate page, the countdown to gc_maxlifetime begins a new and the user stays "logged in". [code] function my_session_start($timeout = 1024) { ini_set('session.gc_maxlifetime', … | |
Re: If you're setting the 'To' and/or 'Recipient' header multiple times, the SMTP server could interpret that as separate e-mail address, thus you'll receive the multiple e-mails. Maybe check your SMTP server's configuration. | |
Re: You may increase to 4GB on a 32 bit system. If you are on a 64 bit system you can go higher. use the cmd-line flags. >java -Xmx6144M -d64 | |
Re: Read [URL="http://support.microsoft.com/kb/307860"]ASP.NET data binding overview[/URL]. | |
Re: [URL="http://blogs.msdn.com/mattdotson/articles/490868.aspx"]Bulk Editing[/URL]. | |
Re: You have to read [URL="http://docs.google.com/gview?a=v&q=cache:8YHi3fbBqJYJ:www.dotnetnuke.com/LinkClick.aspx%3Ffileticket%3DBh8Z2sXwWHU%253D%26tabid%3D478%26mid%3D857+&hl=en&gl=in&pid=bl&srcid=ADGEESi1s5EeeQb8MTvchNhErU6h6aZQFATCObvZBwSx4VzFZug2cDmlyHQ99vOuhSZ-HPtL1o9yoKlwLSgqQmGGlwPFX9o-M6FoWW-s4KSLlESaursPvaHRHWElSIF4cBF9UFEzdV0A&sig=AFQjCNFHxC7UnZ-rqlXyBBA3EcFd2vgcgw"]DotNetNuke Module Developers Guide[/URL] | |
Re: Take a look at - [URL="http://exploding-boy.com/images/cssmenus/menus.html"]http://exploding-boy.com/images/cssmenus/menus.html[/URL] | |
Re: I think the following link will help you to understand How to use NUnit with ASP.NET mvc. [URL="http://stackoverflow.com/questions/21137/asp-net-mvc-and-nunit#23481"]http://stackoverflow.com/questions/21137/asp-net-mvc-and-nunit#23481[/URL] [URL="http://blogs.msdn.com/webdevtools/archive/2008/02/18/asp-net-mvc-test-framework-integration.aspx"]http://blogs.msdn.com/webdevtools/archive/2008/02/18/asp-net-mvc-test-framework-integration.aspx[/URL] | |
Re: Use Page_Load event to create, initialize and add controls to the page. [code] protected void Page_Load(object sender, EventArgs e) { _control = Page.LoadControl("WebUserControl.ascx") as WebUserControl; _control.clickedEvent += new EventHandler(_control_clickedEvent); _control.Count = 5; _control.draw(); PlaceHolder1.Controls.Add(_control); } [/code] | |
Re: Read this article - [URL="http://aspalliance.com/478_Exporting_to_Excel_in_Crystal_Reports_NET__Perfect_Excel_Exports"]http://aspalliance.com/478_Exporting_to_Excel_in_Crystal_Reports_NET__Perfect_Excel_Exports[/URL] | |
Re: I think you should try [URL="http://msdn.microsoft.com/en-us/library/e0s9t4ck.aspx"]WebParts[/URL]. | |
![]() | Re: Modify your code with, [code] if(!InputFile) { cout << "Error!"; return 0; } [/code] What happen if value count exceed 50? [code] while(!InputFile.eof()) { InputFile >> NumbersFromFile[Counter]; Counter++; if(Counter==50) break; } [/code] ![]() |
Re: Use [b]crystal report[/b] or [b]Microsoft Report[/b]. | |
Re: Take a look at this article - [URL="http://www.codeguru.com/csharp/.net/net_general/patterns/article.php/c12941/"]http://www.codeguru.com/csharp/.net/net_general/patterns/article.php/c12941/[/URL] | |
Re: There are number of tutorials. Read this article - [URL="http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx"]http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx[/URL] | |
Re: Try it, [code] Dim s As String = "This is an example" s = String.Join(" ", s.Split(" ").ToArray().Reverse().ToArray()) [/code] | |
Re: Good suggestion from scott. Here is a good example to play a video using DirectX - [URL="http://www.codeproject.com/KB/graphics/zMoviePlayer.aspx"]http://www.codeproject.com/KB/graphics/zMoviePlayer.aspx[/URL]. You may use [URL="http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/46922163-2fea-4c54-b202-f466d834d5e0"]MCI[/URL] - Media Control Interface API to play video. | |
Re: Reset the stream position before instantiate the reader. [code] xmlStream.Position = 0; XmlReader reader = XmlReader.Create(xmlStream); reader.MoveToContent(); ..... [/code] | |
Re: Use array subscripted identifier for [b]name[/b] attribute. [code] <body> Select file <input name="ufile[]" type="file" /> Select file <input name="ufile[]" type="file" /> Select file <input name="ufile[]" type="file" /> Select file <input name="ufile[]" type="file" /> </body> .... [/code] Take a look at - [URL="http://www.phpeasystep.com/workshopview.php?id=2"]http://www.phpeasystep.com/workshopview.php?id=2[/URL] | |
Re: Use curly braces to create a body of class, methods, loop etc. [code] class Sample { public void Add() { // } } [/code] | |
Re: You have to start from the beginning to develop the website. | |
Re: XPath 1.0 only supports number comparison. XPath 2.0 understands the date type. With XPath 1.0 you need to do a string comparison. There is no other way. | |
Re: Read this article - [URL="http://www.singingeels.com/Articles/RealTime_Progress_Bar_With_ASPNET_AJAX.aspx"]Real-Time Progress Bar With ASP.NET AJAX[/URL] and [URL="http://forums.asp.net/p/1380129/2915571.aspx"]http://forums.asp.net/p/1380129/2915571.aspx[/URL] | |
Re: Putting pages under WEB-INF is a good one but my suggestion to you to use [URL="http://tuckey.org/urlrewrite/#download"]urlrewrite[/URL] or [URL="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security5.html"]authentication mechanisms[/URL]. | |
Re: Except window controls everything would be same. | |
Re: You may use [B]FieldCount [/B]property of DataReader or [B]Count [/B]property of DataTable's columns collection. | |
Re: Read this article - [URL="http://forums.asp.net/t/1310379.aspx"]http://forums.asp.net/t/1310379.aspx[/URL] | |
Re: Take a look at this thread - [URL="http://www.daniweb.com/forums/thread224588.html"]http://www.daniweb.com/forums/thread224588.html[/URL] | |
Re: Read this tutorial - [URL="http://net-snmp.sourceforge.net/tutorial/tutorial-4/mrtg/index.html"]http://net-snmp.sourceforge.net/tutorial/tutorial-4/mrtg/index.html[/URL] | |
Re: Try it, [code] DateTimePicker1.Value = DateTimePicker1.Value.AddMinutes(1) [/code] | |
Re: Take a look at this article - [URL="http://www.c-sharpcorner.com/UploadFile/harishankar2005/Reflectionin.NET12032005045926AM/Reflectionin.NET.aspx"]http://www.c-sharpcorner.com/UploadFile/harishankar2005/Reflectionin.NET12032005045926AM/Reflectionin.NET.aspx[/URL] |
The End.