I gang

Fix Code To Be "Thread Safe"


I have a webbrowser control hosted in my C# win form. This webbrowser control is being used to navigate some webpages and fill up the textbox found in that page using Document Object Model interface.

i.e. [url removed, login to view]("a")... etc..etc..

And also I am clicking a button using DOM interface. Now, my code is working very fine in the regular standard thread. But I want to get them worked in a thread (Background worker) and here is the problem. my codes are not working at all for background thread. I tried to use [url removed, login to view]() etc... to make the Webbrowser access thread safe but that was not becoming fruitful. Only one code is working in background worker and that is : [url removed, login to view](someURL);

Again, after navigating, I wanted to wait for loading complete, like,

while([url removed, login to view] != [url removed, login to view])


the application falls in an infinite loop. It never comes out from the loop. And when I execute the code for getting the reference for [url removed, login to view], I get error "Object Reference not set to an object"... that means, webbrowser1 is never loaded with the document or something like that.


Now, please let me know if you can get my code working for background worker. =================================================================

Additional information:

Just want to add a note for your convenience......

The amount of code I am looking for to getfixed is very small. Just few lines of code which is actually causing problem. So, IF you are expert about getting a control worked in background worker thread then it will not need a lot of efforts to fix it. So please consider about this point when you place bid.

Thank you.

Færdigheder: .NET

Se mere: webbrowser backgroundworker, webbrowser control thread safe, webbrowser thread safe, thread up, place code, no code, my fix, my code, loop net, get fix, get found, fix page, code your, code get, iwebbrowser2 thread, thread safe violations, axwebbrowser readystate working loop, webbrowser control threadsafe, vbnet axwebbrowser1 readystate, safe thread vbnet, gettagsbyname web page vbnet, webbrowser readystate log, backgroundworker thread access violation, webbrowser navigate background, thread safe net

Om arbejdsgiveren:
( 14 bedømmelser ) Whitby, Canada

Projekt-ID: #104619

Tildelt til:


Hello, Please check PMB.

$50 USD på 1 dag
(3 bedømmelser)

7 freelancere byder i gennemsnit $58 for dette job


can be done in one day.

$100 USD på 1 dag
(20 bedømmelser)

See PMB, please.

$48 USD in 2 dage
(4 bedømmelser)

Hi I am a Microsoft Certified Professional in C# & ASP.NET 1.1 & also comfortable with ASP.NET 2.0, VB.NET, SQL Server 2000 & SQL Server 2005. I have around 4+ Years of experience in Microsoft Technologies. I am Mere

$45 USD in 3 dage
(0 bedømmelser)

I know how it's done. Let me do it - in worst case it will take several hours

$30 USD på 1 dag
(0 bedømmelser)

We are very much interested in doing this job. We can handle projects as customer's satisfaction. It will be nice to work with you. Thanks. ResonanceIT

$30 USD på 1 dag
(1 bedømmelse)

We are a small software company based in Ukraine Lviv.Company was created by proffesionals for professionals. We use modern project management methodologies, combining thorough functional and non-functional requirement Mere

$100 USD på 1 dag
(0 bedømmelser)