VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Label HyperLink uses existing browserORopens new browser window

by El Mariachi (5 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (7 Votes)

After searching the net for some time I couldnt find a function that would give me a choice to open a Label hyperlink in an existing browser window OR open a brand new browser window. I coded this function with the help of some snippets i found. Included is some error trapping as well. I also added functionality to the hyperlink so that it acts like an internet hyperlink.

Inputs
Just two parameters passed to the function: 1. the website address 2. TRUE if you want a brand new browser window, or FALSE if you want to use the existing browser window. If no browser windows is open then a brand new browser window will open regardless of wether you choose TRUE or FALSE.
Side Effects
nonw. i tested it on a win98 machine though.

Rate Label HyperLink uses existing browserORopens new browser window

Download Label HyperLink uses existing browserORopens new browser window

Download Label HyperLink uses existing browserORopens new browser window (3 KB)

Label HyperLink uses existing browserORopens new browser window Comments

No comments have been posted about Label HyperLink uses existing browserORopens new browser window. Why not be the first to post a comment about Label HyperLink uses existing browserORopens new browser window.

Post your comment

Subject:
Message:
0/1000 characters