5,346 Posted Topics

Member Avatar for chiquest

Welcome, That's not help. That would be doing your homework for you. Read the forum rules. You need to show effort, and what better way than posting the code that you have tried so far?

Member Avatar for kvprajapati
-2
31
Member Avatar for SarojKumar12

Handle the [b]KeyPress[/b] event of TextBox control. [code] Private Sub TextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If Not Char.IsDigit(e.KeyChar) Then e.Handled = True End Sub [/code]

Member Avatar for kvprajapati
-1
28
Member Avatar for kzdev

Take a look at [URL="http://www.vbdotnetheaven.com/UploadFile/mgold/MathEquationEditor04072005082425AM/MathEquationEditor.aspx"]Math Equation Editor[/URL].

Member Avatar for kvprajapati
0
90
Member Avatar for JayOne

Here is an excellent [URL="http://www.codeproject.com/KB/architecture/exceptionbestpractices.aspx"]codeproject[/URL] article. SUMMARY: * Check it early * Don't trust external data * The only reliable devices are: the video, the mouse and keyboard. * Writes can fail, too * Don't throw new Exception() * Don't put important exception information on the Message field * Put …

Member Avatar for kvprajapati
0
119
Member Avatar for jad2010

I think you are looking for html parser - [URL="http://www.codeplex.com/htmlagilitypack"]Html Agility Pack.[/URL].

Member Avatar for jad2010
0
198
Member Avatar for jamello

Two ways: [code] string markup = "<a href='a.aspx'/>"; Label1.Text = Server.HtmlEncode( markup); [/code] [code] string markup = "<a href='a.aspx'/>"; Literal1.Mode = LiteralMode.Encode; Literal1.Text = markup; [/code]

Member Avatar for jamello
0
152
Member Avatar for musthafa.aj

Have you ever read [URL="http://www.javalobby.org/articles/java2exe/"]Java to EXE - Why, When, When Not and How[/URL]? - An article about Custom Java Launchers And Wrappers.

Member Avatar for kvprajapati
0
281
Member Avatar for anoop4real

Try to create icons with different set of sizes. Take a look at this article - [URL="http://msdn.microsoft.com/en-us/library/ms997636.aspx"]http://msdn.microsoft.com/en-us/library/ms997636.aspx[/URL]

Member Avatar for anoop4real
0
96
Member Avatar for araaraa

Welcome, Try to convert php code to jsp and if you run into problems and want to ask for help here. Please read: 1. [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]member rules[/URL] and 2. [URL="http://www.daniweb.com/forums/announcement61-2.html"]homework[/URL] policy at daniweb.

Member Avatar for javaAddict
0
100
Member Avatar for papanyquiL

Take a look at this FAQ - [URL="http://forums.techarena.in/operating-systems/1130504.htm"]http://forums.techarena.in/operating-systems/1130504.htm[/URL]

Member Avatar for penglund
0
132
Member Avatar for jainmukesh

Please read this article/tutorial - [URL="http://msdn.microsoft.com/en-us/library/ms227881%28VS.80%29.aspx"]http://msdn.microsoft.com/en-us/library/ms227881%28VS.80%29.aspx[/URL]

Member Avatar for pauldani
0
87
Member Avatar for aruntuneson

[b]>can we run remote programs using wmi?[/b] Yes, [URL="http://www.codeproject.com/KB/cs/Remote_Process_using_WMI_.aspx"]WMP[/URL] is an option for remotely executing process.

Member Avatar for aruntuneson
0
88
Member Avatar for kzdev

>the target machine actively refused it 127.0.0.1:8000 It only happens if the server isn't [URL="http://social.msdn.microsoft.com/forums/en-US/netfxremoting/thread/065215e3-1ac9-4c7b-88b3-44835b900354"]listening[/URL] on the expected port (8000).

Member Avatar for kzdev
0
328
Member Avatar for Claude2005

>Can this be simplified further so as to make my code a lot simpler. [code] Dim txtBox() As TextBox = {TextBox1, TextBox2, TextBox3, TextBox4} For i As Integer = 0 To Name.Length - 1 txtBox(i).Text = Name(i) Next [/code] >I want to color the "CRO" part with Red. Think about …

Member Avatar for kvprajapati
0
114
Member Avatar for Nattynooster
Member Avatar for anurag06

Use following methods, 1. DateTime.Now.AddDays 2. DateTime.Now.AddMonths 3. DateTime.Now.AddYears [code] Dim dt as DateTime dt=DateTime.Now.AddDays(30) [/code]

Member Avatar for kvprajapati
-1
34
Member Avatar for pysdex

Welcome pysdex, Showing your code might help. We only give help to those who show effort. You might want to read the [URL="http://www.daniweb.com/forums/announcement58-2.html"]homework[/URL] policy.

Member Avatar for kvprajapati
1
100
Member Avatar for pisces20

Take a look at [URL="http://catb.org/~esr/faqs/smart-questions.html"]http://catb.org/~esr/faqs/smart-questions.html[/URL]. We only give help to those who show effort. You might want to read the [URL="http://www.daniweb.com/forums/announcement58-2.html"]homework[/URL] policy and [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]member rules[/URL].

Member Avatar for kvprajapati
0
51
Member Avatar for jrosh

Take a look at [URL="http://www.cs.nyu.edu/~vs667/articles/embed_executable_tutorial/"]Embed[/URL] executable.

Member Avatar for kvprajapati
0
275
Member Avatar for ronald_yoh

[URL="http://msdn.microsoft.com/en-us/library/bb351422.aspx"]Binary Constructor[/URL], [code] obj.BinaryProperty=new Binary(byte_array); [/code]

Member Avatar for kvprajapati
0
65
Member Avatar for rotemblu

Console-mode applications cannot display characters different from system-default OEM codepage. Although setting a [URL="http://illegalargumentexception.blogspot.com/2009/04/i18n-unicode-at-windows-command-prompt.html#charsets_unicodeconsole"]codepage[/URL] to command prompt might work.

Member Avatar for kvprajapati
0
133
Member Avatar for shabeg

Memory leaks occurs when memory is allocated in a program and it is never returned to the OS, even that a program does not use the memory any longer. What scott said "Because of the garbage collection, it is not possible to have memory leak in [b]managed[/b] code." A memory …

Member Avatar for sknake
0
1K
Member Avatar for Stefano Mtangoo

[b]>What do I need to Be Java Web/App Expert?[/b] Years of practice and countless mistakes.

Member Avatar for kingsboro2008
2
193
Member Avatar for RAMAN2233

You're on your own for holidays, though; .NET doesn't know which dates are holidays where you live. [code] int days = 0; DateTime sdt = DateTime.Parse("2/1/2009"); DateTime edt = DateTime.Parse("2/28/2009"); int dowStart = ((int)sdt.DayOfWeek == 0 ? 7 : (int)sdt.DayOfWeek); int dowEnd = ((int)edt.DayOfWeek == 0 ? 7 : (int)edt.DayOfWeek); …

Member Avatar for dollarcolony
0
127
Member Avatar for Deepak.G

Use [b]System.Windows.Forms.SendKeys.SendWait[/b] method, [code] Process myProcess = new Process(); myProcess.StartInfo.FileName = @"notepad.exe"; myProcess.EnableRaisingEvents = true; myProcess.Start(); myProcess.WaitForInputIdle(1000); if (myProcess.Responding) System.Windows.Forms.SendKeys.SendWait("hithere"); else myProcess.Kill(); [/code]

Member Avatar for sknake
0
645
Member Avatar for milhero

Have to try to update value of selection column? [code] For i = 0 To ds.Rows.Count - 1 ds.Rows(i)("Selection")=true .. Next [/code]

Member Avatar for milhero
0
2K
Member Avatar for andyherebi

Show us your code work please. Do you have mysql connector [URL="http://www.mysql.com/products/connector/"]API?[/URL]

Member Avatar for sworld
0
83
Member Avatar for zuve_fox

Take a look at [URL="http://www.daniweb.com/forums/post596547-2.html"]http://www.daniweb.com/forums/post596547-2.html[/URL]

Member Avatar for arunvarapuzha
-1
103
Member Avatar for Kavyashri

Two links from social MSDN, 1. [URL="http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/87004d70-482a-4b86-ba18-371670254b6a/"]merge headers in a DataGridView[/URL] 2. [URL="http://social.msdn.microsoft.com/forums/en-US/vbinterop/thread/5b659cbd-7d29-4da4-8b38-5d427c3762e2/"]merge two Cells Of Datagridview[/URL]

Member Avatar for Kavyashri
0
5K
Member Avatar for ThomsonGB

[b]>How can I determine the size of the file so that I can read all of the data bytes in the file?[/b] fs->Length property. [code] array<Byte>^ bb= gcnew array<Byte>(fs->Length); fs->Read(bb,0,bb->Length); [/code] OR [code] array<Byte>^b= System::IO::File::ReadAllBytes(file); [/code] [b]>How does one get the current file position as an integer?[/b] fs->Position property.

Member Avatar for ThomsonGB
0
227
Member Avatar for Romil797

Take a look at - [URL="http://www.codedigest.com/Articles/ASPNET/95_Sending_Email_using_C__and_ASPNet_20.aspx"]Sending email with HTML body[/URL].

Member Avatar for sknake
0
383
Member Avatar for mania_comp

Please download [URL="http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33804"]AjaxControlToolkit.dll - AJAX Control Toolkit - Binary [/URL].

Member Avatar for mania_comp
0
82
Member Avatar for happyns

Use [URL="http://msdn.microsoft.com/en-us/library/bb525467.aspx"]Datalist[/URL] control to show multiple records per row.

Member Avatar for happyns
-1
206
Member Avatar for babbu

Turn off [b]AutoGenerateColumns[/b] property. Take a look, [code] ...... dataGridView1.AutoGenerateColumns = false; DataGridViewTextBoxColumn c1 = new DataGridViewTextBoxColumn(); DataGridViewTextBoxColumn c2= new DataGridViewTextBoxColumn(); c1.HeaderText = "HeaderText_for_field1"; c2.HeaderText = "HeaderText_for_field2"; c1.DataPropertyName = "field1"; c2.DataPropertyName = "field2"; dataGridView1.Columns.Add(c1); dataGridView1.Columns.Add(c2); dataGridView1.DataSource = your_data_source; ..... [/code]

Member Avatar for babbu
0
4K
Member Avatar for bluem1

Try this, [code] Dim feedXML As XDocument = XDocument.Load("c:\Feeds.xml") Dim bubba = From Feedmain In feedXML.Descendants("Feed") _ Where (Feedmain.Attribute("status") Is Nothing) OrElse (Feedmain.Attribute("status").Value <> "disabled") _ Select New With {.Name = Feedmain.Element("Name").Value()} DataGridView1.DataSource = bubba.ToList() [/code]

Member Avatar for bluem1
0
90
Member Avatar for adcodingmaster

[b]>Why use abstract classes at all?[/b] Sometimes you may want to declare a class and yet not know how to define all of the methods that belong to that class. For example, you may want to declare a class called [b]Writer[/b] and include in it a member method called [b]write()[/b]. …

Member Avatar for ~s.o.s~
0
94
Member Avatar for daviddoria

The identifier of an array "color" is equivalent to the address of its first element and an array "color" can be considered [b]a constant pointer.[/b] So we cannot assign value to the constant, [code] color++; [/code]

Member Avatar for kvprajapati
0
131
Member Avatar for Diamonddrake

Take a look at this thread - [URL="http://bytes.com/topic/c-sharp/answers/268661-how-upload-file-via-c-code"]http://bytes.com/topic/c-sharp/answers/268661-how-upload-file-via-c-code[/URL]

Member Avatar for Diamonddrake
0
331
Member Avatar for iamchamith

[URL="http://www.w3schools.com/ASPNET/aspnet_refhtmlcontrols.asp"]HTML[/URL] server controls are HTML tags understood by the server.

Member Avatar for kvprajapati
0
105
Member Avatar for tmatini

[b]>i am looking for best way please lead me the best.[/b] Showing your code might help. Please read this MSDN article - [URL="http://msdn.microsoft.com/en-us/library/aa479347.aspx"]http://msdn.microsoft.com/en-us/library/aa479347.aspx[/URL]

Member Avatar for kvprajapati
0
40
Member Avatar for PiasaJohnny

Try using the [URL="http://msdn.microsoft.com/en-us/library/ms229679.aspx"]Owner drawn listbox.[/URL]

Member Avatar for kvprajapati
0
52
Member Avatar for thandarucsy
Re: XML

To use SAX, you must implement the interface org.xml.sax.ContentHAndler. Typically you accomplish this by exending org.xml.sax.DefaultHAndler class because it provides default implementations for all the callbacks in the SAX handler classes. Then you override the methods of the interface and specify which action will be taken as the various parts …

Member Avatar for servicecycle09
0
130
Member Avatar for kobalt

Use XPath, [code] XPathDocument dc = new XPathDocument(@"file.xml"); XPathNavigator nav = dc.CreateNavigator(); XPathNodeIterator i = nav.Select("//WORKBOOK/PAGE/CHART/VIEW/LAYER/TOOLITEM[@TOOLNAME='U3RvcH==']"); while (i.MoveNext()){ string val=i.Current.GetAttribute("VALUES", ""); } [/code]

Member Avatar for kobalt
0
104
Member Avatar for revenge2

modotx, Welcome to the daniweb. Please read this sticky thread - [URL="http://www.daniweb.com/forums/announcement118-3.html"]Announcement - Please use BB Code and Inlinecode tags[/URL].

Member Avatar for fjallstorm
0
107
Member Avatar for mandar2886

[b]>above fields should be directed to the company email id.[/b] Use classes of [URL="http://msdn.microsoft.com/en-us/library/system.net.mail.aspx"]System.Net.Mail[/URL] namespace. Take a look at tutorial - [URL="http://www.systemnetmail.com/"]http://www.systemnetmail.com/[/URL]

Member Avatar for love_dude1984
0
115
Member Avatar for anup.maverick

[b]>Javascript value in vb.net code [/b] You can put on aspx page HiddenField and pass value to it , and after get it from c#/vb or use [b]Asp.net Ajax[/b] or [b]web service[/b].

Member Avatar for iamchamith
0
108
Member Avatar for bharanidharanit

Use this link - [URL="http://www.developerfusion.com/tools/convert/csharp-to-vb/"]http://www.developerfusion.com/tools/convert/csharp-to-vb/[/URL] [code] Dim photoStream As Stream = PhotoUpload.PostedFile.InputStream Dim photoLength As Integer = PhotoUpload.PostedFile.ContentLength Dim photoMime As String = PhotoUpload.PostedFile.ContentType Dim photoName As String = Path.GetFileName(PhotoUpload.PostedFile.FileName) Dim photoData As Byte() = New Byte(photoLength - 1) {} photoStream.Read(photoData, 0, photoLength) [/code]

Member Avatar for bharanidharanit
0
152
Member Avatar for deven_a76

Please take a look at an article - [URL="http://www.asp.net/AJAX/Documentation/Live/Tutorials/ConsumingWebServicesWithAJAXTutorial.aspx"]Calling Web Services from Client Script in ASP.NET AJAX.[/URL]

Member Avatar for deven_a76
0
101
Member Avatar for jigirene

Please read [URL="http://www.codeproject.com/KB/user-controls/UserControlEventBubbling.aspx"]Bubble up [/URL] the event of User control.

Member Avatar for jigirene
0
755
Member Avatar for mshravs

There are many techniques that can be utilized as a deployment strategy for your web application. Take a look at, 1. [URL="http://www.beansoftware.com/ASP.NET-Tutorials/Deploy-ASP.NET.aspx"]deploy web app[/URL] 2. Article [URL="http://msdn.microsoft.com/en-us/library/f735abw9.aspx"]http://msdn.microsoft.com/en-us/library/f735abw9.aspx[/URL] 3. [URL="http://www.asp.net/learn/videos/video-05.aspx"]video[/URL] and [URL="http://www.asp.net/(S(ywiyuluxr3qb2dfva1z5lgeg))/learn/videos/video-281.aspx"]http://www.asp.net/(S(ywiyuluxr3qb2dfva1z5lgeg))/learn/videos/video-281.aspx[/URL]

Member Avatar for kvprajapati
0
55

The End.