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

Couple of questions

Therivere

Active Member
Joined
Jan 23, 2007
Sythe Gold
0
Messages
209
I'm attempting to make my own Runescape client thing sort of like eliteswitch. Ive got alot of it set up already.

Question 1:

How do get my client to load up maxamized everytime when i open it?

Question 2:

How come the disablescrollbar thing doesnt work when im playing the game. When im at the homepage and stuff it works but for some reason when i click play now the scroll bar always shows. I have a tabfolder thing docked on the bottom and the web browser thing is docked fill.

Thats all atm.
 
Question 1: Click on the form and set the WindowState property to Maximized.
Question 2: Use the DocumentCompleted event and use YOURWEBBROWSER.ScrollBarsEnabled = False

If you want it to do like SwiftKit does and just disables the scrollbars after a certain amount of time then use a timer.
 
I did do the YOURWEBBROWSER.ScrollBarsEnable = false thing but the scrollbar is still there. My problem is that the scroll bar shows up only when i go play the game.

What do i do with this?

Code:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted

    End Sub

Do u mean this

Code:
    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
        WebBrowser1.ScrollBarsEnabled = False

    End Sub
 
Back
Top