Thread: Visual Basic

  1. #1
    Registered User The15th's Avatar
    Join Date
    Aug 2001

    Visual Basic


    I have a stupid School project to do and i have finished it except i need a button that will load up my web site... I cant seem to find something simillar to ShellExecute to use with Visual Basic. So does anyone here know how to link to a web site using Visual Basic.

    Thanks Heaps.
    arrh, i got nothing good to say.

  2. #2
    Registered User mfc2themax's Avatar
    Join Date
    Aug 2001
    Public 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

    Call ShellExecute(Me.Hwnd, "Open", "", "", "", 1)
    mfc2themax-Creator of all that is.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 11-22-2007, 11:13 PM
  2. Run Visual Basic code inside C++?
    By torbjoen in forum Windows Programming
    Replies: 8
    Last Post: 07-31-2002, 11:41 PM
  3. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 03:07 PM
  4. Visual Basic C++
    By gussguss in forum C++ Programming
    Replies: 8
    Last Post: 11-20-2001, 09:58 AM
Website Security Test