I need a way for to make my LOGO a click event and the info sent to either to another browser form or call MSIE/NS and load my website. <br><br>Any ideas how to do this?
if you place the following code into your project it should do what you require <br><br><font color=blue><b>Option Explicit</b></font><br><br><font color=green>'If you place this piece of code into your form then this is the syntax required. In a module you would replace Private Declare with Public Declare </font><br><br><font color=blue><b>Private Declare Function</b></font> 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) <font color=blue><b>As Long</b></font><br><br><font color=blue><b>Const SW_SHOW = 5</b></font><br><br><br><b><font color=blue>Private Sub</font></b> Picture1_Click()<br><font color=green>'Place this code in the click event of the picture box or image box containing your logo</font><br><br><font color=blue><b>Dim</b></font> res <font color=blue><b>As Variant</b></font><br><br><br><font color=green>'Replace the hotmail.com URl with the URL of your choice. This function call can also open any file with it's associated program eg Word Document</font><br>res = ShellExecute(hwnd, "open", "<A HREF="
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.