My Questions Topic

Discussion in 'Programming General' started by 0h n035, Mar 26, 2008.

My Questions Topic
  1. Unread #1 - Mar 26, 2008 at 3:30 AM
  2. 0h n035
    Joined:
    Feb 1, 2007
    Posts:
    163
    Referrals:
    0
    Sythe Gold:
    0

    0h n035 Active Member

    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.
     
  3. Unread #2 - Mar 26, 2008 at 4:49 AM
  4. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    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
    
     
  5. Unread #3 - Mar 26, 2008 at 8:04 AM
  6. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    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.
     
  7. Unread #4 - Mar 26, 2008 at 8:26 AM
  8. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    My Questions Topic

    Jazz?

    Don't you mean Stuart :p
     
  9. Unread #5 - Mar 26, 2008 at 3:54 PM
  10. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    My Questions Topic

    Sorry I was talking to jazz earlier and mistyped it.
     
  11. Unread #6 - Mar 26, 2008 at 4:29 PM
  12. 0h n035
    Joined:
    Feb 1, 2007
    Posts:
    163
    Referrals:
    0
    Sythe Gold:
    0

    0h n035 Active Member

    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 :\
     
  13. Unread #7 - Mar 27, 2008 at 2:09 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

    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.
     
  15. Unread #8 - Mar 27, 2008 at 2:51 AM
  16. 0h n035
    Joined:
    Feb 1, 2007
    Posts:
    163
    Referrals:
    0
    Sythe Gold:
    0

    0h n035 Active Member

    My Questions Topic

    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
    :)
     
< vb6 help | Beating Firefox antipopup in javascript >

Users viewing this thread
1 guest


 
 
Adblock breaks this site