VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Label HyperLink uses existing browserORopens new browser window

El Mariachi  (5 Submissions)   Internet/HTML   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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 (7(7 Vote))

Download Label HyperLink uses existing browserORopens new browser window

Label HyperLink uses existing browserORopens new browser window Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters