2,383 Posted Topics
Re: using timer. in timer event you can change text color. | |
Re: try this : [code=vb]Private Sub HScroll1_Change() Text1.Text = HScroll1.Value End Sub[/code] | |
Re: see this code, this my code to get data into combobox : [code=vb]Private Sub BacaData() Dim i, k As Integer Dim cmdStudent As New SqlCommand Dim daStudent As New SqlDataAdapter Dim dsStudent As New DataSet Dim dtStudent As New DataTable Dim conn As SqlConnection conn = GetConnect() Try cmdStudent = … | |
Re: Hi all, Welcome to Daniweb Friends... actually this section just for introducing your self. So if u have any problem please post on current section. :) | |
Re: >> filelength = filelength + [B]file.Length[/B] it should be [B]objfile.length[/B] >> filelength = filelength + file.Length why you add filelength with file.Length? just filelength = file.length i suggest to make a function, so it looks neat. [code=vb] Imports System.IO ... Private Function GetFileSize(ByVal MyFilePath As String) As Long Dim MyFile … | |
Re: well, i don't have experience with this topic but i found this thread. Hope it make a sense and helping u a little bit. [URL="http://www.daniweb.com/forums/showthread.php?t=112440&highlight=Voice+Recognition"]http://www.daniweb.com/forums/showthread.php?t=112440&highlight=Voice+Recognition[/URL] [URL="http://www.daniweb.com/forums/showthread.php?t=40204&highlight=Voice+Recognition"]http://www.daniweb.com/forums/showthread.php?t=40204&highlight=Voice+Recognition[/URL] | |
Re: [URL="http://www.houseoffusion.com/groups/cf-server/thread.cfm/threadid:117"]http://www.houseoffusion.com/groups/cf-server/thread.cfm/threadid:117[/URL] [URL="http://database.ittoolbox.com/documents/popular-q-and-a/odbc-vs-oledb-2412"]http://database.ittoolbox.com/documents/popular-q-and-a/odbc-vs-oledb-2412[/URL] [URL="http://www.issociate.de/board/goto/75615/Difference_betwwen_ADO_vs_ODBC_vs_OLE_DB.html"]http://www.issociate.de/board/goto/75615/Difference_betwwen_ADO_vs_ODBC_vs_OLE_DB.html[/URL] [URL="http://jamesmccaffrey.spaces.live.com/blog/cns!504C7CC53E7E7FE8!143.entry"]http://jamesmccaffrey.spaces.live.com/blog/cns!504C7CC53E7E7FE8!143.entry[/URL] [URL="http://www.forumtopics.com/busobj/viewtopic.php?p=69143"]http://www.forumtopics.com/busobj/viewtopic.php?p=69143[/URL] [URL="http://www.experts-exchange.com/Databases/Q_20985045.html"]http://www.experts-exchange.com/Databases/Q_20985045.html[/URL] | |
| |
Re: Try this following code : [code=vb] Private Sub Text1_Change() If IsNumeric(Right(Text1, 1)) = True Then ' is a number Text1 = Left(Text1, Len(Text1) - 1) 'Text1.Text = "" Else 'anything but a number End If End Sub[/code] Or This code : [code=vb]Private Sub Text1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case … | |
Re: [code=vb]Private Sub TrackBar1_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar1.Scroll Form1.ActiveForm.Opacity = TrackBar1.Value / TrackBar1.Maximum End Sub[/code] | |
Re: [code=C#] private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if ((Interaction.MsgBox("Are you sure want to quit?", MsgBoxStyle.YesNo, "Exit")) == MsgBoxResult.Yes) { ProjectData.EndApp(); } else { e.Cancel = true; } }[/code] | |
Re: hmmm, how far u have done?show the code and other member can correct any mistaken.. | |
Re: [QUOTE]61 views and no reply..... no good will to help me out there???[/QUOTE] it can be non member / guest who make it 61 views. Post your question on [URL="http://www.daniweb.com/forums/forum14.html"]Computer Science and Software Design[/URL] section for any idea from other member. | |
Re: > Hello, > > Thanks for the info not sure if that will work but i will try, i found the answer which is below, i was missing the using system.media on top including the information below. hope this helps everyone as it did me. > thanks to share the … | |
Re: specify more.. to select two table u can use JOIN in your sql statement. | |
Re: how far u do this? | |
Re: [QUOTE]i have a problem to put an image on my MDI form which i also using an active skin in all forms including the MDI form.. [/QUOTE] You mean to show picture as you mdi form background? - On MDIForm Properties set Picture with your current picture. [QUOTE]n ehm..wat syntax … | |
Re: [CODE=C#] private void button1_Click(object sender, System.EventArgs e) { Form2 jx = new Form2() ; jx.Show(); this.Hide(); } [/CODE] do the same think in form2 to form1 | |
Re: just to correct :) Dim LengthOfTID as [B]Integer[/B] Anyway selvaganapathy has given the best answer. | |
| |
Re: Hi...Welcome to Daniweb Friend :) You can post your question on[URL="http://www.daniweb.com/forums/forum12.html"] Linux Section[/URL] | |
Re: [QUOTE=seoprofessional;625918]Declare x as Shared instead of Private[/QUOTE] agree | |
Re: [QUOTE=Aigini;625894]Thanks I've already corrected the error[/QUOTE] Great... So please share with others so other member can learn from u if the facing the same problem. | |
Re: Use Join in sql statement E.g : [code]SELECT a.Id_User as 'User Id', a.Password, b.Id_Role, b.Status FROM USERS a join ROLE b on (a.Id_Role=b.Id_Role)[/code] So you can remove strSql1 and just use strSql as sql statement. | |
Re: i think its not twice but all formats of date-time. short or long formats, country formats.. why don't use datetime picker? [code]ListBox1.Items.Add(DateTimePicker1.Value.Now)[/code] | |
Re: use JOIN with AND operator in your sql statement. what the name tables?what the relation between each other? i mean relation between that two tables? Join will get data from two table and AND operator will get data from your two conditions. |
The End.