I need a hand with a program in vb that should display a web address and then refer to the web page through the default browser. on the PC should have installed vb 6.0 someone knows how to do?
that control should I use?
Printable View
I need a hand with a program in vb that should display a web address and then refer to the web page through the default browser. on the PC should have installed vb 6.0 someone knows how to do?
that control should I use?
I've never done with VB6 .... issues until someone meets you,
find a lot of projects created with:
Visual Basic
Java / Javascript
C / C + +
ASP
SQL
Perl
Delphi
PHP
Cold Fusion
. Net
Maybe you find something that helps you.
Thanks but I have not yet found, in practice should see a label with a html link that leads to the browser ... .
User a simple label (in VB6 there is the link-label VB Net, but they can be accommodated). This should suffice:Quote:
I need a hand with a program in vb that should display a web address and then refer to the web page through the default browser. on the PC should have installed vb 6.0 someone knows how to do?
that control should I use?
Code:Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _
ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub lbl_link_Click ()
ShellExecute ByVal 0 &, "open", "http://www.google.com", _
vbNullString, vbNullString, 3
End Sub