2,383 Posted Topics
Re: Try this following code : [code=vb.net] Private Sub TrackBar1_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar1.Scroll Editor.SelectionIndent = Editor.Width * (TrackBar1.Value / TrackBar1.Maximum) End Sub[/code] | |
Re: This following code will display a picture after progress bar is 100 %. [Code=vb.net] Dim i as Integer For i = ProgressBar1.Minimum To ProgressBar1.Maximum ProgressBar1.Value = x Label1.Text = x / 100 & "%" If i = ProgressBar1.Maximum Then PictureBox1.Image = Image.FromFile _ ("C:\Pic\Me.bmp") End If Next i [/code] | |
Re: i tried to binding data into combo box and set Sorted = true and it works fine... | |
![]() | |
Re: This code if u want to add - after 3 numbers : [code=vb.net]Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged If TextBox1.Text.Length = 3 Then TextBox1.Text = TextBox1.Text + "-" End If End Sub[/code] This Following code if u want - (negative) will added after user … | |
Re: see this snippet code : [URL="http://www.daniweb.com/code/snippet820.html"]http://www.daniweb.com/code/snippet820.html[/URL] | |
Re: 1. - this will disable other group box if you select listbox item : [code=C#.net] private void listBox1_SelectedIndexChanged(object sender, System.EventArgs e) { if (listBox1.SelectedIndex > -1) { groupBox1.Enabled = false; } }[/code] - this will disable other group box if you select radio button : [code=c#.net] private void radioButton1_CheckedChanged_1(object sender, … | |
Re: actually you didn't show your code so far. Try this following code : [CODE=vb]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Conn As SqlConnection Dim myReader As SqlDataReader Dim myReader2 As SqlDataReader Dim myUser As String Conn = GetConnect() Conn.Open() Dim sql As String = … | |
Re: means its scroll in status bar or in other place? | |
Re: [URL="http://www.codeproject.com/KB/vb/cregistry.aspx"]see this link[/URL] | |
Re: hmmm... [URL="http://www.daniweb.com/forums/thread41057.html"]see this thread[/URL] Fell free to post your question, we will try to answer as we know. | |
Re: select the last OrderId value then + 1. ex : 1,2,3 Select last value = 3, then 3 + 1 = 4... | |
Re: Hi...Welcome to Daniweb Friend :) are you tried to use animated picture? if yes, you didn't allowed to used it or your size of picture more big then require pic.. | |
Re: Hi...Welcome to Daniweb Friend :) actually this forum has a [URL="http://www.daniweb.com/forums/forum165.html"]introduction section[/URL]. you can introduce your self there. | |
Re: its not about date but your pathName is wrong. should be : C:\ | |
Re: Hi Adnan...Welcome to Daniweb Friend :) Many members need your ability to Fixing here ;) | |
![]() | |
Re: so what if the database still running? use timer to always get new backup db. | |
Re: Set [B]Image Properties[/B] with your gif file Not BackgroundImage properties | |
Re: [code=vb.net]cmd = New OleDbCommand("SELECT * FROM orders where YearBorn LIKE '%" & Trim(TextBox2.Text) & "%'")[/code] | |
Re: 1. - to running hidden there are a couple ways : 1. this.Visible = false; this.ShowInTaskbar = false; 2. this.Opacity = 0; this.ShowInTaskbar = false; - to get form back => Set visible as True or Opacity to 100 on keypressed event. 2. You can disable by know the ascii … | |
The End.