Visual Basic

This is a discussion on Visual Basic within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hi. I have a stupid School project to do and i have finished it except i need a button that ...

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

    Visual Basic

    Hi.

    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.
    http://www.praxis1.vic.edu.au/home/dcola/

  2. #2
    Registered User mfc2themax's Avatar
    Join Date
    Aug 2001
    Posts
    346
    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", "http://yourwebsitehere.com", "", "", 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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21