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

Menu

  • Thread starter Thread starter flappy
  • Start date Start date
F

flappy

Guest
I know this is a nooby question but how do I get menu items to open up .exe files or whatever?

Like I want to like to a few other programs from the menu =/
 
Thank you!

New question lol

When I open a webbrowser inside my RSClient why wont it load RS. I just open the browser straight to runescape.com but it still wotn load.. Do i have to allow it to load?
 
What?
Not completely following what your asking.
 
Okay, i am trying to make a runescape client for myself too play RS with and to learn VB. Well anyway

I have in the main form a Webbrowser and i have the web browser set to www.runescape.com .

When I go to play the game, I select a world, and once it goes to the game window all i get is a white square where the runescape game is. But it will work if I open it in Internet Explorer ... How can I fix this?
 
Okay, i am trying to make a runescape client for myself too play RS with and to learn VB. Well anyway

I have in the main form a Webbrowser and i have the web browser set to www.runescape.com .

When I go to play the game, I select a world, and once it goes to the game window all i get is a white square where the runescape game is. But it will work if I open it in Internet Explorer ... How can I fix this?

Code:
private sub webbrowser1_beforenavigate(url as string, cancel as integer) 'may need to fix this line up
    if lcase(url) = "http://www.runescape.com" then
        cancel = 1
    end if
    'if this doesn't work try "http://www.runescape.com/"
end sub
 
still get the white box thing ... what exactly does that code do anyway ... man i hate just beginning lol
 
Code:
private sub webbrowser1_beforenavigate(url as string, cancel as integer) 'may need to fix this line up
    if lcase(url) = "http://www.runescape.com" then
        cancel = 1
    end if
    'if this doesn't work try "http://www.runescape.com/"
end sub


webbrowser1_beforenavigate - imguessing when the second you open up your browser or whatever it goes to a site
if lcase(url) = "http://www.runescape.com" then - the site that loads up is runescape.com


-im also a begginer
 
There is an issue with your java not loading. Try selecting unsigned java applet.
 
The code covey posted will make it so you can load the actual game page up without being redirected to the runescape homepage.

You should try reinstalling the latest Java Runtime Environment(JRE).
 
okay will do ... I'm just beginning to visual basic here so i literally dont undersand alot right now but im learning lol ... How would I select Sun Java applet?

using Eliteswitch's client (coveys) i have to use the Sun Java for it to load the RS applet ... otherwise its just a black or white box ... how would I do this...

also if anyone has a good website of tutorials for visual basic It could help me too feel free to post =)

thanks
 
You would change the loading URL at the end.
Or, on detail select page go to the bottom.
 
booya! i finally got it to load!!! now to create all world links ... lol
 
Code:
private sub webbrowser1_beforenavigate(url as string, cancel as integer) 'may need to fix this line up
    if lcase(url) = "http://www.runescape.com" then
        cancel = 1
    end if
    'if this doesn't work try "http://www.runescape.com/"
end sub
lol? so much codes??
just:
Code:
private sub Go_Click ()' example, I named it Go
webbrowser1.navigate = text1.text 'text1 is just an example... replace that with your textbox.
end sub


~hero4rune
 
Member of the Month Winner
Sythe's 10th Anniversary
lol? so much codes??
just:
Code:
private sub Go_Click ()' example, I named it Go
webbrowser1.navigate = text1.text 'text1 is just an example... replace that with your textbox.
end sub


~hero4rune
This kid fails here and now.
 
that code does not look right lol ...

shouldnt it be like

private sub world158_click ()
WebBrowser1.navigate ( "http://" + start + "www.runescape.com/" + end )
end sub

the start would be the part of the url for that world like "world6" or w/e you get what i mean and the end would be the ljp0j0 or w/e lol dont feel like looking itup
 
Member of the Month Winner
Sythe's 10th Anniversary
In VB6, the parenthesis are not required unless you are assigning a value. Syntax of BASIC is epic fail.
 
okay then so it should look like this:

private sub world158_Click
WebBrowser1.navigate ( "http://" + start + "www.runescape.com/" + end )
end sub

right?

ill try it when i get home from school...

also to name something like the start i would name it

Dim start as string

correct?
 
that code does not look right lol ...

shouldnt it be like

private sub world158_click ()
WebBrowser1.navigate ( "http://" + start + "www.runescape.com/" + end )
end sub

the start would be the part of the url for that world like "world6" or w/e you get what i mean and the end would be the ljp0j0 or w/e lol dont feel like looking itup
now i understand your question, then your code is good :)
 
Runescape Gamblingrunescape gambling
Back
Top