• Log in or sign up for an account here: https://www.sythe.org/login

Is this possible?

CheapPins

Member
Joined
Apr 26, 2010
Sythe Gold
0
Messages
66
Is this possible?
Whatimworkingon.png

Updated with background:
Nowforcoding.png

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.
Private Sub Command1_Click()

End Sub

Private Sub Command2_Click()

End Sub

Private Sub Command3_Click()

End Sub

Private Sub Command4_Click()

End Sub

Private Sub Command5_Click()

End Sub

Private Sub Form_Load()

End Sub

Private Sub Image1_Click()

End Sub
 
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.
 
Is this possible?
is it a webclient?
 
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.
 
Is this possible?
Use %ProgramFiles% instead it automatically translates to <Windows Drive>:\Program Files
 
Is this possible?
Unfortunately it doesn't work in VB6 :(

Oh didnt know that my bad.

There's also the GetEnvironmentVariable API call.
 
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.
 
Is this possible?
Everything is possible. Google it.
 
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!
 
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.
 
Runescape Gamblingrunescape gambling
Back
Top