Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
GeneralRe: redraw problem GDI+ Pin
Christian Graus14-Mar-07 9:32
protectorChristian Graus14-Mar-07 9:32 
GeneralRe: redraw problem GDI+ Pin
Dave Kreskowiak14-Mar-07 11:51
mveDave Kreskowiak14-Mar-07 11:51 
AnswerRe: redraw problem GDI+ Pin
Christian Graus14-Mar-07 9:23
protectorChristian Graus14-Mar-07 9:23 
GeneralRe: redraw problem GDI+ Pin
_tasleem15-Mar-07 2:41
_tasleem15-Mar-07 2:41 
QuestionCrystall Report on C# 2005 Express Editiion. [modified] Pin
msogun14-Mar-07 7:22
msogun14-Mar-07 7:22 
QuestionLoading in a background on my form problem Pin
lee.hallows14-Mar-07 7:03
lee.hallows14-Mar-07 7:03 
AnswerRe: Loading in a background on my form problem Pin
Judah Gabriel Himango14-Mar-07 7:41
sponsorJudah Gabriel Himango14-Mar-07 7:41 
QuestionStrange problem with WebBrowser control "double loading" a page, eh? Pin
ThisIsMyUserName214-Mar-07 6:57
ThisIsMyUserName214-Mar-07 6:57 
This is a very strange problem I came across and it's a show stopper for my current app. It happens all the time on the site I'm trying to interact with and it occasionally happens on google.com (or any site I'd imagine).

I'm trying to run a series of events depending on what URL is currently being navigated.

In my WebBrowser's DocumentCompleted event I have a switch which runs a different set of methods based on the URL.

After a document is complete, it'll run the switch fine but it runs what's inside of the case I'm trying to detect more than once. It's easy to see by placing a messagebox output. It'll come up 2 times instead of once.

I tried other ways of determining which page I'm currently on. Like using the DocumentTitleChanged event instead of DocumentCompleted, but I think DocumentCompleted is safer because it won't do anything until the document is loaded. Either way, the problem exists with DocumentTitleChanged too.

Any ideas? Btw I excluded the site where it occurs all the time because it requires a login and unfortunately I can't share it publicly. If you want to do a test, just throw together an app really quick and drop a messagebox into the DocumentChanged event, then have a textbox where you can enter different addresses -- it's bound to come up.
AnswerRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
led mike14-Mar-07 7:19
led mike14-Mar-07 7:19 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? [modified] Pin
ThisIsMyUserName214-Mar-07 7:41
ThisIsMyUserName214-Mar-07 7:41 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
led mike14-Mar-07 8:15
led mike14-Mar-07 8:15 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
ThisIsMyUserName214-Mar-07 8:33
ThisIsMyUserName214-Mar-07 8:33 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
Dave Kreskowiak14-Mar-07 9:20
mveDave Kreskowiak14-Mar-07 9:20 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
ThisIsMyUserName214-Mar-07 9:50
ThisIsMyUserName214-Mar-07 9:50 
QuestionHow to call different namespace Pin
Eyungwah14-Mar-07 6:57
Eyungwah14-Mar-07 6:57 
AnswerRe: How to call different namespace Pin
led mike14-Mar-07 7:12
led mike14-Mar-07 7:12 
AnswerRe: How to call different namespace Pin
Colin Angus Mackay14-Mar-07 9:03
Colin Angus Mackay14-Mar-07 9:03 
Questionxml question Pin
groundzero11114-Mar-07 6:43
groundzero11114-Mar-07 6:43 
AnswerRe: xml question Pin
ThisIsMyUserName214-Mar-07 7:23
ThisIsMyUserName214-Mar-07 7:23 
GeneralRe: xml question Pin
groundzero11114-Mar-07 8:48
groundzero11114-Mar-07 8:48 
GeneralRe: xml question Pin
Stefan Troschuetz14-Mar-07 12:10
Stefan Troschuetz14-Mar-07 12:10 
Questionpaging in DataGrid using C# and windows forms Pin
OmarLodhi14-Mar-07 5:54
OmarLodhi14-Mar-07 5:54 
QuestionCreating a tiny SQL Windows XP "Registry Cleaner" Application Pin
td0014-Mar-07 5:48
td0014-Mar-07 5:48 
AnswerRe: Creating a tiny SQL Windows XP "Registry Cleaner" Application Pin
Judah Gabriel Himango14-Mar-07 6:26
sponsorJudah Gabriel Himango14-Mar-07 6:26 
AnswerRe: Creating a tiny SQL Windows XP "Registry Cleaner" Application Pin
led mike14-Mar-07 6:29
led mike14-Mar-07 6:29 

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.