5,346 Posted Topics

Member Avatar for herms14

>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.

Member Avatar for herms14
0
114
Member Avatar for veera_kumar

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]

Member Avatar for kvprajapati
0
119
Member Avatar for lifeh2o

Take a look at [URL="http://curl.haxx.se/libcurl/dotnet/"]libcurl[/URL]. libcurl.NET Internet Client API.

Member Avatar for kvprajapati
0
126
Member Avatar for smd5049

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]

Member Avatar for smd5049
0
139
Member Avatar for urmi

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.

Member Avatar for kvprajapati
0
103
Member Avatar for Mitja Bonca

Use SplitContainer instead of MDI. Check this out - [URL="http://sourceforge.net/projects/dockpanelsuite/"]The docking library for .Net Windows Forms.[/URL]

Member Avatar for kvprajapati
0
100
Member Avatar for ibanez270dx

If you are familiar with struts then try to use [URL="http://struts.apache.org/1.x/struts-tiles/"]tiles[/URL].

Member Avatar for ~s.o.s~
0
127
Member Avatar for pradeep.singh28

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.

Member Avatar for kvprajapati
0
136
Member Avatar for babylonlion

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]

Member Avatar for babylonlion
0
174
Member Avatar for VIPER5646

[URL="http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/37e4f691-7831-42a7-b491-6fd884eb0bc0"]Handles[/URL] clause is missing with Event handler.

Member Avatar for VIPER5646
0
197
Member Avatar for vikasbe
Member Avatar for glennt

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 …

Member Avatar for kvprajapati
-1
94
Member Avatar for Gangstafier

Check your control references and see if you have something labeled [b]DHTML Edit Control for IE5[/b].

Member Avatar for kvprajapati
0
153
Member Avatar for bk_bhupendra

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]

Member Avatar for sknake
-2
126
Member Avatar for niche1

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]

Member Avatar for kvprajapati
0
505
Member Avatar for little marine

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 …

Member Avatar for kvprajapati
0
811
Member Avatar for Mitja Bonca

Try, [code] FileStream fs = new FileStream(System.IO.Path.GetTempPath() + @"\MyTempDir\" + listBox1.SelectedValue, FileMode.Create); [/code]

Member Avatar for Mitja Bonca
0
159
Member Avatar for rciprogrammer
Member Avatar for nirvaan
Member Avatar for xuexue

[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', …

Member Avatar for kvprajapati
0
105
Member Avatar for venkat0904

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.

Member Avatar for venkat0904
0
88
Member Avatar for OffbeatPatriot

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

Member Avatar for kvprajapati
0
124
Member Avatar for mshravs
Member Avatar for catherinesea
0
75
Member Avatar for rams24

[URL="http://blogs.msdn.com/mattdotson/articles/490868.aspx"]Bulk Editing[/URL].

Member Avatar for kvprajapati
0
47
Member Avatar for prayas

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]

Member Avatar for kvprajapati
0
70
Member Avatar for Pankaj18

Take a look at - [URL="http://exploding-boy.com/images/cssmenus/menus.html"]http://exploding-boy.com/images/cssmenus/menus.html[/URL]

Member Avatar for kvprajapati
0
100
Member Avatar for ashtej

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]

Member Avatar for kvprajapati
0
64
Member Avatar for Falzz

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]

Member Avatar for kvprajapati
0
234
Member Avatar for shine_jose

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]

Member Avatar for kvprajapati
-1
101
Member Avatar for Stretcher75

I think you should try [URL="http://msdn.microsoft.com/en-us/library/e0s9t4ck.aspx"]WebParts[/URL].

Member Avatar for kvprajapati
0
59
Member Avatar for PolarPear

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]

Member Avatar for PolarPear
0
94
Member Avatar for adonweb
Member Avatar for kvprajapati
0
54
Member Avatar for gagansharma

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]

Member Avatar for kvprajapati
0
88
Member Avatar for Sazabi02

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]

Member Avatar for kvprajapati
0
61
Member Avatar for RgCz

Try it, [code] Dim s As String = "This is an example" s = String.Join(" ", s.Split(" ").ToArray().Reverse().ToArray()) [/code]

Member Avatar for RgCz
0
158
Member Avatar for VibhorG

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.

Member Avatar for Diamonddrake
0
539
Member Avatar for Alxandr

Reset the stream position before instantiate the reader. [code] xmlStream.Position = 0; XmlReader reader = XmlReader.Create(xmlStream); reader.MoveToContent(); ..... [/code]

Member Avatar for Alxandr
0
3K
Member Avatar for olunde

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]

Member Avatar for network18
0
129
Member Avatar for CSG-SQU

Use curly braces to create a body of class, methods, loop etc. [code] class Sample { public void Add() { // } } [/code]

Member Avatar for CSG-SQU
0
108
Member Avatar for michelle2025
Member Avatar for extkml

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.

Member Avatar for extkml
0
191
Member Avatar for samcaleb05

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]

Member Avatar for kvprajapati
0
132
Member Avatar for alsoumhi

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].

Member Avatar for kvprajapati
0
97
Member Avatar for mshravs
Member Avatar for omotoyosi

You may use [B]FieldCount [/B]property of DataReader or [B]Count [/B]property of DataTable's columns collection.

Member Avatar for kvprajapati
0
85
Member Avatar for dfs3000my

Read this article - [URL="http://forums.asp.net/t/1310379.aspx"]http://forums.asp.net/t/1310379.aspx[/URL]

Member Avatar for kvprajapati
0
104
Member Avatar for jetjash

Take a look at this thread - [URL="http://www.daniweb.com/forums/thread224588.html"]http://www.daniweb.com/forums/thread224588.html[/URL]

Member Avatar for kvprajapati
0
206
Member Avatar for raghavpraveen

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]

Member Avatar for kvprajapati
0
32
Member Avatar for lolwtf

Try it, [code] DateTimePicker1.Value = DateTimePicker1.Value.AddMinutes(1) [/code]

Member Avatar for kvprajapati
0
119
Member Avatar for Ishbir

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]

Member Avatar for sknake
0
161

The End.