Click here to Skip to main content
15,888,454 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questioni need help with a vb project anything helps! :) Pin
Member 1126438325-Nov-14 17:49
Member 1126438325-Nov-14 17:49 
AnswerRe: i need help with a vb project anything helps! :) Pin
Eddy Vluggen26-Nov-14 8:19
professionalEddy Vluggen26-Nov-14 8:19 
GeneralRe: i need help with a vb project anything helps! :) Pin
Member 1126438326-Nov-14 8:31
Member 1126438326-Nov-14 8:31 
GeneralRe: i need help with a vb project anything helps! :) Pin
Eddy Vluggen26-Nov-14 10:27
professionalEddy Vluggen26-Nov-14 10:27 
GeneralRe: i need help with a vb project anything helps! :) Pin
rx7man1-Dec-14 9:30
rx7man1-Dec-14 9:30 
Questionwebbrowser class, automation, document complete Pin
jkirkerx23-Nov-14 13:56
professionaljkirkerx23-Nov-14 13:56 
AnswerRe: webbrowser class, automation, document complete [solved] Pin
jkirkerx23-Nov-14 16:58
professionaljkirkerx23-Nov-14 16:58 
AnswerRe: webbrowser class, automation, document complete Pin
Richard Deeming24-Nov-14 2:46
mveRichard Deeming24-Nov-14 2:46 
jkirkerx wrote:
When I write back to the WebBrowser1.DocumentText, am I forcing the page to load again?

You haven't shown that part of the code, but it's the most likely cause of the problem you described:

When you set this property, the WebBrowser control automatically navigates to the about:blank URL before loading the specified text. This means that the Navigating, Navigated, and DocumentCompleted events occur when you set this property, and the value of the Url property is no longer meaningful.

If you're reading the DocumentText, changing it, and then writing it back to the WebBrowser, the resulting document won't have the same base URL, so it won't be able to resolve any scripts, stylesheets or images which use relative paths.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: webbrowser class, automation, document complete Pin
jkirkerx24-Nov-14 9:51
professionaljkirkerx24-Nov-14 9:51 
Questionexcel data validation using xml Pin
Member 1125000520-Nov-14 15:40
Member 1125000520-Nov-14 15:40 
AnswerRe: excel data validation using xml Pin
Chris Quinn20-Nov-14 20:41
Chris Quinn20-Nov-14 20:41 
Questionhow to get SQL DATA DIRECTORY PATH USING VB.NET?? Pin
yogeshysankar20-Nov-14 1:39
yogeshysankar20-Nov-14 1:39 
AnswerRe: how to get SQL DATA DIRECTORY PATH USING VB.NET?? Pin
Otekpo Emmanuel20-Nov-14 11:37
Otekpo Emmanuel20-Nov-14 11:37 
GeneralRe: how to get SQL DATA DIRECTORY PATH USING VB.NET?? Pin
yogeshysankar20-Nov-14 17:48
yogeshysankar20-Nov-14 17:48 
AnswerRe: how to get SQL DATA DIRECTORY PATH USING VB.NET?? Pin
Chris Quinn20-Nov-14 20:40
Chris Quinn20-Nov-14 20:40 
Questionhow to get SQL DATA DIRECTORY PATH USING VB.NET Pin
yogeshysankar20-Nov-14 1:38
yogeshysankar20-Nov-14 1:38 
QuestionArrays in vb Pin
Otekpo Emmanuel19-Nov-14 4:13
Otekpo Emmanuel19-Nov-14 4:13 
AnswerRe: Arrays in vb Pin
Tim Carmichael19-Nov-14 4:31
Tim Carmichael19-Nov-14 4:31 
GeneralRe: Arrays in vb Pin
Otekpo Emmanuel19-Nov-14 5:02
Otekpo Emmanuel19-Nov-14 5:02 
GeneralRe: Arrays in vb Pin
Simon_Whale19-Nov-14 5:42
Simon_Whale19-Nov-14 5:42 
AnswerRe: Arrays in vb Pin
ZurdoDev19-Nov-14 5:28
professionalZurdoDev19-Nov-14 5:28 
GeneralRe: Arrays in vb Pin
Otekpo Emmanuel19-Nov-14 6:11
Otekpo Emmanuel19-Nov-14 6:11 
AnswerRe: Arrays in vb Pin
ZurdoDev19-Nov-14 6:16
professionalZurdoDev19-Nov-14 6:16 
GeneralRe: Arrays in vb Pin
Otekpo Emmanuel19-Nov-14 11:14
Otekpo Emmanuel19-Nov-14 11:14 
AnswerRe: Arrays in vb Pin
ZurdoDev19-Nov-14 11:38
professionalZurdoDev19-Nov-14 11:38 

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.