Click here to Skip to main content
15,916,835 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to Search a datagrid in SQL, VB.net Pin
Vimalsoft(Pty) Ltd30-Jul-07 3:33
professionalVimalsoft(Pty) Ltd30-Jul-07 3:33 
AnswerRe: How to Search a datagrid in SQL, VB.net Pin
penguin500030-Jul-07 10:25
penguin500030-Jul-07 10:25 
QuestionViewState Not Refreshing Pin
Brendan Vogt30-Jul-07 3:14
Brendan Vogt30-Jul-07 3:14 
AnswerRe: ViewState Not Refreshing Pin
Dave Kreskowiak30-Jul-07 9:21
mveDave Kreskowiak30-Jul-07 9:21 
Questionhaving a inner table in a dataset Pin
ajith prasath30-Jul-07 2:04
ajith prasath30-Jul-07 2:04 
AnswerRe: having a inner table in a dataset Pin
Dave Kreskowiak30-Jul-07 9:06
mveDave Kreskowiak30-Jul-07 9:06 
Questionwebbrowser control Pin
Ahmad Zaidi30-Jul-07 1:54
Ahmad Zaidi30-Jul-07 1:54 
AnswerRe: webbrowser control Pin
Dave Kreskowiak30-Jul-07 9:04
mveDave Kreskowiak30-Jul-07 9:04 
Ahmad Zaidi wrote:
a) How can you prevent an MDI parent form from displaying scroll bars?


You can't. The scroll bars will appear any time a child window extends beyond the border of the MDIParent's MdiChild control. There is no way to turn them off.


Ahmad Zaidi wrote:
b) I am using a webbrowser control which is supposed to carry out a few actions once the document has been loaded and displayed. I am writing the code in the Document_Completed event but to my surprise, it carries it out before the document has been displayed (I am actually trying to take a screenshot of the loaded page, and it ends up taking it before it has completly loaded :S). Any Ideas?


The WebBrowserDocumentCompleted event will fire for each and every document that is loaded by the page. Most sites are made up of multiple documents, not just one, because of Frames. Say you have a document with 3 frames, a top site title, navigation on the left, and a content frame taking up the rest. You'll get the Document Completed event fired at least(!) 4 times. Once for the page that defines all three frames, and once for each frame in that page.

Take a look at the URL property of the WebBrowserDocumentCompletedEventArgs for which page that event is being fired for.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: webbrowser control Pin
Ahmad Zaidi30-Jul-07 22:04
Ahmad Zaidi30-Jul-07 22:04 
Questionhow to update the dataset programically to database in vb.net Pin
ajith prasath30-Jul-07 1:53
ajith prasath30-Jul-07 1:53 
AnswerRe: how to update the dataset programically to database in vb.net Pin
DanB198330-Jul-07 9:54
DanB198330-Jul-07 9:54 
Questionslider on ruler control [modified] Pin
eyes200730-Jul-07 1:11
eyes200730-Jul-07 1:11 
Questionhow to print the contents of rich text box Pin
eyes200730-Jul-07 1:09
eyes200730-Jul-07 1:09 
AnswerRe: how to print the contents of rich text box Pin
Dave Kreskowiak30-Jul-07 8:59
mveDave Kreskowiak30-Jul-07 8:59 
Questionvb.net 1.1 DataGrid Pin
A.Surendar Reddy29-Jul-07 23:03
A.Surendar Reddy29-Jul-07 23:03 
AnswerRe: vb.net 1.1 DataGrid Pin
cutequencher29-Jul-07 23:17
cutequencher29-Jul-07 23:17 
GeneralRe: vb.net 1.1 DataGrid Pin
A.Surendar Reddy31-Jul-07 1:00
A.Surendar Reddy31-Jul-07 1:00 
AnswerRe: vb.net 1.1 DataGrid Pin
Tamimi - Code30-Jul-07 1:05
Tamimi - Code30-Jul-07 1:05 
Questionsubreport and record number in crystal report. vb.net 2002. crystal report 8 Pin
cutequencher29-Jul-07 22:36
cutequencher29-Jul-07 22:36 
QuestionWhat is wrong with this Following ADO.net code Pin
Vimalsoft(Pty) Ltd29-Jul-07 22:34
professionalVimalsoft(Pty) Ltd29-Jul-07 22:34 
AnswerRe: What is wrong with this Following ADO.net code Pin
Vimalsoft(Pty) Ltd29-Jul-07 22:54
professionalVimalsoft(Pty) Ltd29-Jul-07 22:54 
GeneralRe: What is wrong with this Following ADO.net code Pin
Vimalsoft(Pty) Ltd29-Jul-07 23:21
professionalVimalsoft(Pty) Ltd29-Jul-07 23:21 
AnswerRe: What is wrong with this Following ADO.net code Pin
Luc Pattyn30-Jul-07 0:11
sitebuilderLuc Pattyn30-Jul-07 0:11 
AnswerRe: What is wrong with this Following ADO.net code [modified] Pin
Vimalsoft(Pty) Ltd30-Jul-07 0:24
professionalVimalsoft(Pty) Ltd30-Jul-07 0:24 
QuestionDownload Manager Pin
j5136p129-Jul-07 21:47
j5136p129-Jul-07 21:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.