Is this possible?

Discussion in 'Programming General' started by CheapPins, Aug 28, 2010.

Is this possible?
  1. Unread #1 - Aug 28, 2010 at 12:40 PM
  2. CheapPins
    Joined:
    Apr 26, 2010
    Posts:
    66
    Referrals:
    0
    Sythe Gold:
    0

    CheapPins Member

    Is this possible?

    [​IMG]
    Updated with background:
    [​IMG]
    Just wondering if this is possible:
    When you click Forums it brings you to the forum / website.
    When you click Vote it brings you to the Rune Locus vote link website.
    When you click Item List it opens a notepad with item ids.
    When you click YouTube channel it brings you to a YouTube channel.
    When you click Play Ziotic it opens a java private server client.

    If you could tell me which would work / how to or if none would it would be appreciated.
    If you would like to help contact me on Skype: mr-choma
    Thanks a bunch.
     
  3. Unread #2 - Aug 28, 2010 at 10:09 PM
  4. blindkilla
    Joined:
    Jun 22, 2005
    Posts:
    1,896
    Referrals:
    0
    Sythe Gold:
    6
    Discord Unique ID:
    282000633404456960
    Discord Username:
    sogord

    blindkilla Guru
    $25 USD Donor New

    Is this possible?

    I'm not sure on the private server client part, but you can do all the other things.

    Vb6 has a function called Shell(). It accepts a file path to what you want to execute.

    I'm sure that there is a way to import a library and use the shellexecute() function that is used in c++ as well.

    If you do some google searching I'm sure you can find what you're looking for.
     
  5. Unread #3 - Jan 2, 2011 at 12:02 AM
  6. Jyak
    Joined:
    Dec 25, 2010
    Posts:
    44
    Referrals:
    1
    Sythe Gold:
    0

    Jyak Member
    Banned

    Is this possible?

    process.start("www.google.com")
    that's what I use in vb08
     
  7. Unread #4 - Jan 4, 2011 at 3:21 AM
  8. Desirable
    Joined:
    Nov 30, 2010
    Posts:
    102
    Referrals:
    0
    Sythe Gold:
    0

    Desirable Active Member
    Banned

    Is this possible?

    is it a webclient?
     
  9. Unread #5 - Jan 4, 2011 at 3:58 AM
  10. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Is this possible?

    Code:
    Private Sub Command1_Click()
        On Error GoTo ohnoes
        Call Shell("C:\Program Files\Internet Explorer\iexplore.exe URL_HERE")
        Exit Sub
    ohnoes:
        MsgBox "Error number: " & Err.Number & vbNewLine & "Error Brief: " & Err.Description, vbCritical, "Error Details"
    End Sub
    replace URL_HERE with the url you want the webbrowser to navigate to. I added a little bit of error handling as some people computer may not have iexplorer stored on C drive.
     
  11. Unread #6 - Jan 4, 2011 at 11:25 PM
  12. Govind
    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

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Is this possible?

    Use %ProgramFiles% instead it automatically translates to <Windows Drive>:\Program Files
     
  13. Unread #7 - Jan 5, 2011 at 2:46 AM
  14. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Is this possible?

    Unfortunately it doesn't work in VB6 :(
     
  15. Unread #8 - Jan 5, 2011 at 2:49 AM
  16. kangaroo008
    Joined:
    Aug 27, 2010
    Posts:
    656
    Referrals:
    1
    Sythe Gold:
    0

    kangaroo008 Apprentice
    Banned

    Is this possible?

    are u the owner of ziotic? i think ive seen some vids of it, is it online atm?
     
  17. Unread #9 - Jan 5, 2011 at 9:13 AM
  18. Govind
    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

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Is this possible?

    Oh didnt know that my bad.

    There's also the GetEnvironmentVariable API call.
     
  19. Unread #10 - Jan 5, 2011 at 10:07 AM
  20. Flaming Idiots
    Joined:
    Dec 22, 2005
    Posts:
    235
    Referrals:
    1
    Sythe Gold:
    0
    Two Factor Authentication User

    Flaming Idiots Active Member
    Visual Basic Programmers

    Is this possible?

    You can use the ShellExecute function to open a web address in the default web browser. Here's an article that explains how to use it in vb6. Clicky.
     
  21. Unread #11 - Jan 11, 2011 at 9:19 AM
  22. Deagon
    Joined:
    Oct 2, 2009
    Posts:
    825
    Referrals:
    1
    Sythe Gold:
    0

    Deagon Apprentice
    Banned

    Is this possible?

    Everything is possible. Google it.
     
  23. Unread #12 - Jan 12, 2011 at 6:38 AM
  24. Nyx
    Joined:
    Dec 17, 2010
    Posts:
    480
    Referrals:
    0
    Sythe Gold:
    0

    Nyx SMR likes me a lot
    Banned

    Is this possible?

    Yea, it's pretty easy :)

    Code:
    System.Diagnostics.Process.Start("http://www.YOURWEBSITE")
    If it doesn't work on your VB version, PM me or take a look here. Good luck!
     
  25. Unread #13 - Jan 13, 2011 at 8:22 PM
  26. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Is this possible?

    That uses .NET framwork, he is using VB6....Big difference.
     
  27. Unread #14 - Jan 28, 2011 at 11:34 AM
  28. dzmuL
    Joined:
    Jan 22, 2011
    Posts:
    27
    Referrals:
    0
    Sythe Gold:
    0

    dzmuL Member
    Banned

    Is this possible?

    Code:
    replace URL_HERE with the url you want the webbrowser to navigate to. I added a little bit of error handling as some people computer may not have iexplorer stored on C drive.
    Beat me too it dayum.
     
< Java suggestions | Detect an image, then clicking on that image? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site