Click here to Skip to main content
15,886,584 members

Comments by vblover Programmer (Top 12 by date)

vblover Programmer 30-Dec-23 14:36pm View    
I don't know this is good way for your db or not, this is for local db:

Add File Bytes to database Algorithm Flowchart....
vblover Programmer 30-Dec-23 14:27pm View    
Public Sub Select_Picture()
       If  OpenFile.ShowDialog() = Cancel Then exit Sub
       MyPicBox.ImageLocation = OpenFile.FileName
End Sub


or

Public Sub Select_Picture()
      Dim OFD AS New OpenFileDialog With {.Filter = "Image Files(*.jpg;*.jpeg;*.bmp;*.png)|*.jpg;*.jpeg;*.bmp;*.png"}
       with OFD 
       If  .ShowDialog() = Cancel Then exit Sub
       MyPicBox.ImageLocation = .FileName
       End With
End Sub
vblover Programmer 28-Dec-23 1:48am View    
You can Using 'ORDER BY' Clause: SELECT - ORDER BY Clause (Transact-SQL)
vblover Programmer 18-Nov-23 20:19pm View    
you can make 2 datatable contains each language contents, then change dataset by language name...
vblover Programmer 26-Jan-23 22:09pm View    
U can Use WebBrowser Control to Navigate.
' Navigates to the URL in the address box when 
' the ENTER key is pressed while the ToolStripTextBox has focus.
Private Sub toolStripTextBox1_KeyDown( _
    ByVal sender As Object, ByVal e As KeyEventArgs) _
    Handles toolStripTextBox1.KeyDown
    If (e.KeyCode = Keys.Enter) Then
        Navigate(toolStripTextBox1.Text)
    End If

End Sub

' Navigates to the URL in the address box when 
' the Go button is clicked.
Private Sub goButton_Click( _
    ByVal sender As Object, ByVal e As EventArgs) _
    Handles goButton.Click

    Navigate(toolStripTextBox1.Text)
End Sub
' Navigates to the given URL if it is valid.
Private Sub Navigate(ByVal address As String)
    If String.IsNullOrEmpty(address) Then Return
    If address.Equals("about:blank") Then Return
    If Not address.StartsWith("http://") And _
        Not address.StartsWith("https://") Then
        address = "http://" & address
    End If
    Try
        webBrowser1.Navigate(New Uri(address))
    Catch ex As System.UriFormatException
        Return
    End Try
End Sub
' Updates the URL in TextBoxAddress upon navigation.
Private Sub webBrowser1_Navigated(ByVal sender As Object, _
    ByVal e As WebBrowserNavigatedEventArgs) _
    Handles webBrowser1.Navigated
    toolStripTextBox1.Text = webBrowser1.Url.ToString()
End Sub

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.webbrowser?view=windowsdesktop-7.0