Adblock breaks this site

guidence needed with visual basic

Discussion in 'Programming General' started by phoenixgem, Dec 28, 2010.

  1. phoenixgem

    phoenixgem Newcomer

    Joined:
    Dec 28, 2010
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0
    guidence needed with visual basic

    Hi Guys,

    I'm just looking for some help please. I am very new to using visual basic. New as in, never used it before in my life. Basically, i'm using it to create a very small and simple user interface. I want this program to load when windows starts up. I've got three buttons in the interface. I would like it so that when a user clicks on the respective button, it will load (run) a program which is on the computer, Eg. Click button1 and it runs firefox, or click button2 and it starts up VLC player. how can I make this happen please??? I'm using Visual Basic 2010 express.

    thank you??

    phoenix
     
  2. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    guidence needed with visual basic

  3. phoenixgem

    phoenixgem Newcomer

    Joined:
    Dec 28, 2010
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0
    guidence needed with visual basic

    ok, thank you very much for your help. Does anyone know how I can link up the buttons to run programs on my computer please??

    thank you

    pheonix
     
  4. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    guidence needed with visual basic

    Use VB.net for this. In VB6 you need to go through the Win32 Shell API which isn't all that hard, it's just that much more work. In VB.net there's a single, simple command:
    Code:
    Process.Start("process filepath here")
     
  5. Nyx

    Nyx SMR likes me a lot
    Banned

    Joined:
    Dec 17, 2010
    Posts:
    480
    Referrals:
    0
    Sythe Gold:
    0
    guidence needed with visual basic

    This may help you out :).
     
  6. Dingo212

    Dingo212 Guru

    Joined:
    Aug 28, 2005
    Posts:
    1,284
    Referrals:
    3
    Sythe Gold:
    14
    guidence needed with visual basic

    For basic program such as this, you can google it via various keywords and find out (eg: how to add buttons)

    Back in the days I had to learn and make a database using VB and Access. I used this: http://www.experts-exchange.com/

    A month sub is good enough and the are really helpful!
     
< Help with random dice | Insert Link into Picture! >


 
 
Adblock breaks this site