I tried this but still the scrollbars are there. any update on this?
Printable View
I tried this but still the scrollbars are there. any update on this?
I tried this but still the scrollbars are there. any update on this?
how can i have a webbrowser like post : #25
i need help to make a browser if len characters of line is bigest as browser width , remaning of characters writing in next line and horizontal Scrollbar not activate
That is not a web browser not it seems to be a chat program.
Quote:
i need help to make a browser if len characters of line is bigest as browser width , remaning of characters writing in next line and horizontal Scrollbar not activate
You should really ask this question in its own this.
Code:Option Explicit
Private Const READYSTATE_COMPLETE As Long = 4
Private Sub Form_Load()
WebBrowser1.Navigate "www.google.com"
Do While WebBrowser1.Busy: DoEvents: Loop
Do While WebBrowser1.ReadyState <> READYSTATE_COMPLETE: DoEvents: Loop
End Sub
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
WebBrowser1.Document.body.Scroll = "no"
WebBrowser1.Document.body.Style.overflow = "hidden"
End Sub
As NightWalker pointed out, you should start a new thread.
You could use a label (Stretched = True) and add word per word, whenever the label.width > webbrowser.width then you add a vbNewLine before the word that made it bigger, and set label back to label.width = webbrowser.width.
There is many solutions, this one was probably the cheapest one tho.
Note to posters, this thread is over 4 years old.
Quote:
Started by wiz...., Apr 2nd, 2010 07:05 PM
If you follow these steps, we will help you, but not write everything for you.
1. Start a new thread (leave this one alone).
2. Make sure you put a decent thread title, not just Help me??
3. Give us a description of what you are looking for, and all the code you have now (screenshot if possible).
4. No I can not make example source for you, if you don't listen to anything I'm saying ;)
I'm sure many of us will try to help, only if you help your self at the same time. (actually learn)
Attachment 113901
Help me please
Sorry for my bad english