calling specific internet explorer address on my vb application

kornflakes
02-23-2005, 09:42 PM
hello!

how could i redirect my users to go to my profiles when they click my menu about the author? i want them to redirect the users on my homepage @ www.homepagesomething.com

is that possible? calling internet explorer on my vb application? help me please :confused:

Lintz
02-23-2005, 10:13 PM
Yes, it's possible :)


Option Explicit
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
Const SW_SHOWNORMAL = 1


Private Sub Command1_Click()
ShellExecute Me.hWnd, "Open", "http://www.lintz.netfirms.com", 0, 0, 3
End Sub

kornflakes
02-24-2005, 12:09 AM
whoe!!!!!!!!!!!!!!!!!!!! :cool: that was awesome!!!!!!!!!!!!! your the best dude!!!!!!!! im so amazed! you rock :cool:

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum