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

My Questions Topic

0h n035

Active Member
Joined
Feb 1, 2007
Sythe Gold
0
Messages
163
Location
Australia
My Questions Topic
I have some questions.

Stupid Sythe.org doesn't let me post new threads or reply to my own, it says that there's an Error 404 or something. For that reason, I'm posting in this thread because the previous question has been solved. Anyway, I'll list my questions here:

1. My Clan Members complain the the Client Crashes because Inet.ocx cannot be found on their computer. How do I fix this.

2. I have 6 Browser windows on top of each other, so you can navigate between RuneScape and our clan pages quickly. How do i make it so it sends the other browsers to the back instead of setting their visibility to false? The reason why I ask is because when the RuneScape Browsers Visibility is set to false, it logs you out.

3. If my highscores can't find a result, it displays -1. How do i change it to --?

My code:

Code:
Public Sub GetHighscores(ByVal Username As String)
    Dim tmpString As String, splitted() As String, stringData As String, stringSplit() As String
    Dim string1() As String, string2() As String
    tmpString = Utilities.iInfo.OpenURL("http://hiscore.runescape.com/index_lite.ws?player=" & Username)
- String Splits etc removed because it doesn't let my post go through -
    Utilities.lblduel.Caption = "" & stringSplit(51) & ""
    Utilities.lblbounty.Caption = "" & stringSplit(52) & ""
    Utilities.lblrogue.Caption = "" & stringSplit(53) & ""
    Utilities.cmdLookup.Enabled = True
    Exit Sub
End Sub

4. I have comboboxes which I want to acts as links. I have RuneScape and other Words listed in it. How do I assign a link to each option and so that when that option is clicked, WebBrowser1 navigates to it's assigned link? EX: I assign the link 'http://www.shadowedlegion.com' to the Combobox Option 'Clan Homepage'. When i click Clan Homepage, WebBrowser1 navigates to http://www.shadowedlegion.com.

That is all for now.
 
My Questions Topic
1) If you add the inet.ocx to the folder where your exe is it should find it or if you have an installer make it install inet.ocx to their system32 folder.

2) You could use a tab system to switch between windows.

3) Something like this.

Code:
if(stringSplit(51) = "-1")then
    stringSplit(51) = "--"
end if

4) To use comboboxes you use the objects click sub like so.

Code:
Private Sub Combo1_Click()
    If (Combo1.Text = "Runescape") Then
        WebBrowser1.Navigate "http://www.runescape.com"
    End If
End Sub
 
My Questions Topic
Stuart covered most of the bases for you, but the actual reason it is logging you out is because, after your inactive for a minute or so it logs you out.
 
My Questions Topic
Sorry I was talking to jazz earlier and mistyped it.
 
My Questions Topic
Stuart covered most of the bases for you, but the actual reason it is logging you out is because, after your inactive for a minute or so it logs you out.

Thats what I thought. But if i switch to browser 1, then back to the RS Browser, I'm logged out. Whether it be instantly, in 10 seconds... WHENEVER. I think i may have coded something wrong though because when i quickly switch to browser one, then back to rs, the rs browser page refreshes.

And thanks Stuart, I'll try em out :)

EDIT:

Not sure if MSInet one works yet. I'll find out soon. Also, could you explain how to make a tabular system with the Web Browsers? Last, the other two things didn't work :\
 
My Questions Topic
Thats what I thought. But if i switch to browser 1, then back to the RS Browser, I'm logged out. Whether it be instantly, in 10 seconds... WHENEVER. I think i may have coded something wrong though because when i quickly switch to browser one, then back to rs, the rs browser page refreshes.

And thanks Stuart, I'll try em out :)

EDIT:

Not sure if MSInet one works yet. I'll find out soon. Also, could you explain how to make a tabular system with the Web Browsers? Last, the other two things didn't work :\

Umm if you have shitty internets and your are visiting another site it can cause a "disconnect" effect and you will be logged out from runescape.
 
My Questions Topic
Umm if you have shitty internets and your are visiting another site it can cause a "disconnect" effect and you will be logged out from runescape.

No. It happens with me and it happens with 20 of my forumers. Try it for yourself:

http://www.shadowedlegion.com/ShadowClient.zip

EDIT: Fixed my -1 problem. I used this:

Code:
If strSplit(1) <> "-1" Then

:)
 
Runescape Gamblingrunescape gambling
Back
Top