2,383 Posted Topics
Re: sytnax for what??? | |
Re: [URL="http://www.daniweb.com/forums/announcement4-2.html"]show us your effort...[/URL] - draw image control and fill with the picture. - draw a timer, set enable as true and interval as u needed (1000 for 1 second). - make loop to move picture with left and top position. | |
Re: That's your codes or get from internet? [code=vbnet] Private file_count As Integer = 0 Public Sub GetDirectoryFileCount(ByVal dir As String) dir = dir & ”\” Dim all_files() As String=Directory.GetFileSystemEntries(dir) For Each file As String In all_files If Directory.Exists(file) Then GetDirectoryFileCount(file) Else file_count += 1 End If Next file End Sub … | |
Re: I didn't understand clearly. - U have 3 tables(cats,dogs,birds) or 4 tables(cats,dogs,birds and totalanimal) ? - If u have 4 tables and want to get sum value of each column (cats,dogs,birds) and store into [B]totalanimal[/B] column, then this not added column but [B]update[/B] totalanimal column. | |
Re: [QUOTE]dim selectedItem as string selectedItem = ComboBox.Text[/QUOTE] why didn't use [icode]selectedItem = ComboBox.SelectedItem[/icode] ? and there are path on combobox item to loaded? | |
Re: [URL="http://www.daniweb.com/forums/thread9537.html"]see this thread[/URL] [URL="http://www.codeproject.com/KB/mobile/Sending_SMS_from_Computer.aspx"]And see this site[/URL] | |
Re: Yes, lizR right... Make sure the table name is same (field, length and datatype too). Read data from Access (using loop) then write certain data into MSSQL (this the logic, i never tried this). | |
Re: Try This : Declaration : [code=vb] Option explicit ' Contrl variable Private ctlName As Control[/code] Code : [code=vb] ' This program demonstrates how you can add and delete ' controls on your form dynamically. ' Creates text box and label. Private Sub cmdCreate_Click() ' Creates label. controls.Add function takes three … | |
Re: See this [URL="http://www.daniweb.com/forums/showthread.php?t=116782"]thread[/URL] | |
Re: or hide login form (don't close it). so value of txtusername still exist. | |
Re: try this following code : [code=vb]Private Sub Form_Load() Dim i As Integer For i = 0 To 10 List1.AddItem (i) Next End Sub Private Sub List1_KeyDown(KeyCode As Integer, Shift As Integer) Dim intIndex As Integer If Shift = 2 Then If KeyCode = vbKeyA Then For intIndex = 0 To … | |
Re: Try This code : [code] Dim path as String path = "D:\Test\Music.wav" My.Computer.Audio.Play(path)[/code] | |
Re: >> How would I go about setting a date/time to 0? Setting computer date/time??or just on your program? | |
| |
Re: [URL="http://www.daniweb.com/forums/thread117080.html"]See this thread[/URL] | |
Re: what problems? what error come up? how far u have done? just post your code... | |
Re: Use timer to make delay and progress bar. so, draw a timer and progress bar then add this following code : [code=vb] Private Sub WelcomeScreen_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Enabled = True End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
Re: Not clear...you want to add item into list when user checked it? | |
Re: Try this [code=vb] Microsoft.VisualBasic.Right("Daniweb",3)[/code] | |
Re: pick on timer [code=vb] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick set1X = MousePosition.X set1Y = MousePosition.Y Label1.Text = set1X & ":" & set1Y End Sub[/code] decrease an interval timer to get position more faster. | |
Re: on cmdRun click Event : [code=vb]Dim FrmEvent As New Event FrmEvent.Show() Me.Hide()[/code] | |
Re: [QUOTE=selvaganapathy;692367]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[/QUOTE] Ahh, i was late in post. Already answered by selvaganapathy :) | |
Re: Add on click event (you can find combo box filled with sstab event on the top of code window) This following code will make u can't open other tabs without fill textbox 1 (text1). [code=vb] Private Sub SSTab1_Click(PreviousTab As Integer) If Text1.Text = "" Then ' add as u needed … | |
Re: declare your variable on module... you can access certain variable from any form. | |
Re: Well, this morning i copying new font and there are no error when i used in vb. | |
Re: [code]sql = "INSERT INTO Department(Department_ID,Department_name)VALUES('" & deptid & "','" & Text2.Text & "' )"[/code] | |
Re: - [URL="http://www.daniweb.com/forums/announcement58-2.html"]Post your code first[/URL]. - What control used to show data (dbGrid,MsFlexGrid, etc) ?? - DatabaseName, Table name, Field Name??? Specify more detail... | |
Re: [code=vb] Dim temp, quantity As Double Console.Write("How many liters (only whole liters please ) ? ") temp = Console.ReadLine() quantity = Double.Parse(temp)[/code] | |
Re: >> the connections strings which i used in vs.net2003 isnot working here Maybe a little mistake. Just post your connection string. Btw [URL="http://www.carlprothman.net/Default.aspx?tabid=86#SQLClientManagedProvider"]visit this site[/URL] | |
Re: [QUOTE=Prabakar;690773]You can also use [icode]Shell(<address of exe as String>, AppWinStyle.Hide)[/icode][/QUOTE] Agree with Prabakar | |
Re: yes, you just do twice inserting. >>nah...re.....its nt wrkng! ne other solutions ? ne more appropriate solns? lee was give the answer. Have u tried it?post your code. | |
Re: [URL="http://www.trap17.com/forums/vb-net-2k5-countdown-help-t53356.html"]Visit this[/URL] | |
Re: Post your thread on [URL="http://www.daniweb.com/forums/forum14.html"]Computer Science and Software Design Forum Threads Section[/URL] | |
Re: you want to create toolbar on windows explorer bar or you want to create toolbar on your project? | |
![]() | Re: post your own code? so we can help. ithelp was give the best answer... |
Re: 1. Just add your msword file on your setup project. then you can modified path of msword file : [code=vb]System.Diagnostics.Process.Start(Application.StartupPath & "\MsWordFileName.doc")[/code] 2. On combox properties, set [B]DropDownStyle = DropDownList[/B] | |
Re: Is this thread was solved?? if yes then please post the answer. It will help other member who get the same problem. | |
Re: [B][URL="http://www.daniweb.com/forums/announcement58-2.html"]No, We can't.[/URL][/B] | |
Re: [code] Dim s As ADODB.Connection .... Set s = New ADODB.Connection ...[/code] | |
Re: >> i have knowledge of VB6 , is the code vb.net same as vb6? not many different about them, if you good in vb6 then i think it will easy to migrate from vb6 to vb.net. As samir said just post question when u get stuck... | |
Re: >> Is there is link for giving rate to this message or this message was helpful check? Click on [B]Mark As Solved[/B] link below the post | |
Re: so u want the event of controls shown...? just double click on each control to get click event. also you can change the event of controls. | |
Re: [URL="http://www.carlprothman.net/Default.aspx?tabid=81"]See this site....[/URL] There are all about connection string to databases.. Just looking what you needed there. |
The End.