Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 26-01-2009
Member
 
Join Date: Jan 2009
Posts: 124
VB6.0 link html page

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?
Reply With Quote
  #2  
Old 26-01-2009
Member
 
Join Date: Oct 2008
Posts: 167
Re: VB6.0 link html page

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.
Reply With Quote
  #3  
Old 26-01-2009
Member
 
Join Date: Jan 2009
Posts: 124
Re: VB6.0 link html page

Thanks but I have not yet found, in practice should see a label with a html link that leads to the browser ... .
Reply With Quote
  #4  
Old 26-01-2009
Member
 
Join Date: Mar 2008
Posts: 232
Re: VB6.0 link html page

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?
User a simple label (in VB6 there is the link-label VB Net, but they can be accommodated). This should suffice:

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
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "VB6.0 link html page"
Thread Thread Starter Forum Replies Last Post
Changing link color when moving mouse over link in HTML Cade Software Development 5 22-01-2010 07:46 PM
How to link CSS into the HTML file? Zhankana_n Software Development 5 23-12-2009 03:02 PM
How to link documents in HTML Saaz Software Development 3 17-11-2009 01:40 PM
Link HTML and Powerpoint Connect_Me Software Development 3 07-04-2009 11:54 PM
Html link code problem ByteCoder Software Development 4 09-02-2009 06:49 PM


All times are GMT +5.5. The time now is 08:05 PM.