405 Posted Topics

Member Avatar for Sheryl99

Hi, Use Timer control instead of Thread.Sleep (). Because ur application will freeze for the given milliseconds. if you use timer control, you can disable the timer when stop button is clicked. To use timer, change the Following > Use X as Global variable > Draw a Timer Control and …

Member Avatar for selvaganapathy
0
173
Member Avatar for jeffrey16

Hi, Try to Write MessageBox Coding in Form_QueryUnload event or Form_Unload Event. This is will show the Message whenever user close the Window

Member Avatar for abu taher
0
128
Member Avatar for NinjaLink

Hi, you can change your code [CODE=VB] Max = txtnumber.Text Product1 = txtnumber.Text Do While Product1 < 15 Product3 = Product1 * 3 lstProduct3.Items.Add(Product3) If Product1 > 15 Then Exit Do End If Loop [/CODE] as [CODE=VB] Max = Val(txtnumber.Text) Product1 = 1 ' Start with the First Value 'Iterate …

Member Avatar for jireh
0
100
Member Avatar for legend_018

Hi, [QUOTE]One tutorial said you used a keyword extends between the two class names[/QUOTE] In C#, we use colon ( : ) to extend from one class. Java language uses this [B]extends[/B] keyword to inherit from a class. If u have doubt like this, try it practically with these two …

Member Avatar for LizR
0
128
Member Avatar for LottaBajan2

Hi, You can Use Array of Three Number for Computer Guess and User Guess, instead of having a single number. Ex [CODE=VB] Dim UserGuess(2) As Integer Dim ComGuess(2) As Integer Sub GenerateComGuess() 'Generate Guess Here End Sub Function CompareGuess( ) As Boolean ' Check the Guess End Function ' When …

Member Avatar for selvaganapathy
0
636
Member Avatar for abu taher

Hi Dont Update Database from the Form where the Check boxes available. Instead get the result(Which Check boxes are selected) from the Form, then Update database from the Calling Form.

Member Avatar for jireh
0
96
Member Avatar for ChroNoS

Hi, Instead of using BitBlt() function,you can directly print inside the picture box (using pic.print method) when you reading from the file. Also set AutoRedraw property to true.

Member Avatar for ChroNoS
0
154
Member Avatar for DGULLIVER

If sString is the String that you have typed then use the following [CODE=VB] cboDropDown.SelStart = Len(sString) cboDropDown.SelLength = Len(cboDropDown.Text) - Len(sString) [/CODE] After [CODE=VB] .. cboDropDown.ListIndex = rsClone.AbsolutePosition - 1 ... [/CODE]

Member Avatar for DGULLIVER
0
122
Member Avatar for maurya_alld
Member Avatar for selvaganapathy
0
294
Member Avatar for Craig2231

Hi, What i understand is "You have to choose one horse out of seven at random" So u can use Rnd () function and Randomize function to choose One out of Seven.

Member Avatar for Drycola
0
107
Member Avatar for octavia

Hi, In property window > Change the ForeColor property of the Text box. Or by code [ICODE] Text1.ForeColor = RGB (255, 255, 0) [/ICODE]

Member Avatar for debasisdas
0
166
Member Avatar for laghaterohan

Hi, Any specific reason for using Masked Text Box? If not, u can also use DateTimePicker control to get date / time input.

Member Avatar for laghaterohan
0
1K
Member Avatar for liquoriser21
Member Avatar for Sharkiness

Hi, Do you want show message box while form closing ? If it is correct, use Message Box in Query_Unload Event or Unload Event

Member Avatar for selvaganapathy
0
83
Member Avatar for nor_d83
Member Avatar for nor_d83
0
112
Member Avatar for nor_d83

Hi, ADO uses similar properties and methods like DAO. It differs in some methods and properties. The way of open the database and Table are somewhat differ.

Member Avatar for nor_d83
0
183
Member Avatar for Tekito

Hi, Global variable or Properties can be used as your suggestion. Assume you have Ok and Cancel button in your modal form. In the Modal form, user can click Ok button for approval and for disapproval they can click Cancel Button or Close Button. When Close button is Clicked the …

Member Avatar for Tekito
0
115
Member Avatar for shilli

Hi, The Problem is on your Access Database version. If you using the data base that is higher version, data control wont access it. Use ADODB for accessing the Different versions. Or Change the Data base to the earlier version.

Member Avatar for jireh
0
94
Member Avatar for Birdie010

Hi, Check the Field Names in the data base with the name you given in the program. if field name contains space use Square Brackets (like [Field Name])

Member Avatar for selvaganapathy
0
184
Member Avatar for shilli

Hi, Check the Path of the Correct Database where you have made the Table design changes. Is your new table and old table having Same Name? If it is, Change to different name and then try to access it.

Member Avatar for selvaganapathy
0
74
Member Avatar for papuccino1

[QUOTE=papuccino1;700063]Hello once again. I'm really interested in making a voice operated aplication for my computer (and those who want to download it). Where should I start reading on this subject. If I google it, I find a million answers but I'd rather have someone who knows their way let me …

Member Avatar for selvaganapathy
0
180
Member Avatar for Asad 01
Member Avatar for selvaganapathy
0
34
Member Avatar for bpacheco1227

Here you made mistake. change [CODE=VB] If "Average grade: " >= 90 Then letterGrade = "A" ElseIf "Average grade: " >= 80 Then letterGrade = "B" ElseIf "Average grade: " >= 70 Then letterGrade = "C" ElseIf "Average grade: " >= 60 Then letterGrade = "D" Else letterGrade = "F" …

Member Avatar for bpacheco1227
0
156
Member Avatar for gp04lch

Hi, Array size can be specified dynamically like [CODE=CSharp] int[] AnArray; int iSize = 10; AnArray = new int [iSize]; [/CODE] So user can control the length

Member Avatar for gp04lch
0
107
Member Avatar for Duki

[QUOTE=Duki;695357]Hey everyone, I'm writing a program for work. I need to do the following: The user inputs an unknown number of values to be processed. I want to allow them to basically click "new" and be able to add a new textbox or something that will allow them to input …

Member Avatar for selvaganapathy
0
119
Member Avatar for Duki

Hi, Wayne is right. You consider about the Units. Also specify the Location of the two Elevation Peek Points.

Member Avatar for Duki
0
294
Member Avatar for iamthwee

Hi, I think more detail required But some guess If you have function like this [CODE=VB] Public Function ProcessArrayList(ByVal AL As ArrayList) As ArrayList AL.Add("Good") Return AL End Function [/CODE] you can pass Array list like [CODE=VB] Dim AL As ArrayList = New ArrayList ProcessArrayList(AL) MessageBox.Show(AL.Count) [/CODE]

Member Avatar for selvaganapathy
0
159
Member Avatar for dimega

[QUOTE=dimega;691248]Hi there, How would I go about setting a date/time to 0? Basically I want the time to be 00:00:00 so that when I use the addseconds function of say 120 seconds it reads 00:02:00 Any help would be much appreciated.[/QUOTE] Hi, I think you want like Stop Watch. Date …

Member Avatar for selvaganapathy
0
91
Member Avatar for muzaffardange
Member Avatar for ruby.n

Hi, Use timer for this > When a button is Clicked - Here Enable the Timer and Close the Valve > After 5 Seconds (5000) - Disable the Timer and Open the Valve

Member Avatar for ruby.n
0
87
Member Avatar for Anticipation

Hi, > Save the All lines Points (Make a class Line Has X and Y member and Save it in an ArrayList) > Draw All the Lines (ArrayList) in Paint Event

Member Avatar for selvaganapathy
0
237
Member Avatar for pardeep3dec

Hi, Are you forget WHERE Clause or typo mistake? [CODE=SQL] SQL = "SELECT * FROM travel WHERE doj BETWEEN #" & doj.text & "# AND #" & doj1.text & "#;" [/CODE]

Member Avatar for venkatramasamy
0
71
Member Avatar for R3B3L

Hi, I think you are trying to display Multiple columns. Why dont you consider about the other controls that capable of display multiple columns (Like Grid control or ListView). In listbox all the character should not have the same width because of font.

Member Avatar for selvaganapathy
0
262
Member Avatar for jem00
Member Avatar for ma-vi
Member Avatar for psychi_beavis
Member Avatar for psychi_beavis
0
78
Member Avatar for splitfinity

Hi, You want to record voice of the User? or the Application should produce the Audio (.wav) output of the Text?

Member Avatar for splitfinity
0
56
Member Avatar for shakuN

Hi, If you want to shade that portion you have know a point inside that portion.

Member Avatar for shakuN
0
173
Member Avatar for stupidenator

Do you want to find no of records? If yes Recordset.RecordCount will help you to find no of records Also try [B][COLOR="Red"]RecordSet.GetRows() [/COLOR][/B]method which returns array of records

Member Avatar for stupidenator
0
211
Member Avatar for prateekprashar

Use Connection.Execute SQLQueryString to Execute the Query. [CODE=VB] Dim str as String str =" SELECT * FROM paybook WHERE paybook.Field(0) = '"&text1.text&"'" Connection1.Execute str [/CODE]

Member Avatar for selvaganapathy
0
98
Member Avatar for FullBjarne

Hi, Use RichTextBox for editor. This control has SelectionColor property to change the color of the Selected Text. But selecting should be done by you

Member Avatar for Diamonddrake
0
164
Member Avatar for SMG0723

Hi, I found two errors, It may be typo mistake 1. [iCODE]if(m_Login = null |= StrPassword = null)[/iCODE] can be changed as [iCODE]if(m_Login == null || StrPassword == null)[/iCODE] ___ 2. [iCODE] String StrSql = "Select userid,password Form Login Where userid="'+m_Login+'"";[/iCODE] can be changed as [iCODE] String StrSql = "Select …

Member Avatar for fuzzelogic
0
74
Member Avatar for lukechris

Hi, ReadLine () return a line from the Stream. you can use like this [CODE=VB] Dim loadf As New System.IO.StreamReader("c:/text.txt") TextBox1.Text = loadf.ReadLine() TextBox2.Text = loadf.ReadLine() Label2.Text = loadf.ReadLine() loadf.Close() [/CODE]

Member Avatar for selvaganapathy
0
80
Member Avatar for henry1987
Member Avatar for selvaganapathy
0
142
Member Avatar for elvy2000

Hi, From the Error, I think you are calling that Function without creating an Instance. For example Consider the Class [CODE=VB] Public Class A Public Sub Show() End Sub End Class [/CODE] This can be called as [CODE=VB] Dim Obj as A Obj = New A() Obj.Show() 'But not A.Show() …

Member Avatar for selvaganapathy
0
91
Member Avatar for SHAWTY721

Hi, See this Thread [URL="http://www.daniweb.com/forums/post667710.html#post667710"]http://www.daniweb.com/forums/post667710.html#post667710[/URL]

Member Avatar for Jx_Man
0
182
Member Avatar for joywena

Ok, Try out your assignment, If you face any difficult then post here

Member Avatar for Lardmeister
0
75
Member Avatar for lukechris

Is Timer1 the member of Current Form? Have you check it? Also Where you declared Timer1?

Member Avatar for lukechris
0
107
Member Avatar for gouki2005

Hi, Change your code [CODE=VB] Public Function numeromenor() If numero1 < numero2 And numero1 < numero3 Then Return numero1 ElseIf numero2 < numero1 And numero2 < numero3 Then Return numero2 ElseIf numero3 < numero1 And numero3 < numero1 Then Return numero3 Else numero1 = numero2 Or numero1 = numero3 Or …

Member Avatar for selvaganapathy
0
126
Member Avatar for Gebby

Hi, You can use Load() statement to create textbox dynamically. but you must have atleat one textbox in control array.

Member Avatar for selvaganapathy
0
53

The End.