Sedang Disiapkan

Fix Code To Be "Thread Safe"

FIXING EXISTING STANDARD THREAD CODE TO WORK IN A THREADED METHOD.

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.

C# .NET 2.0, Visual Studio 2005

Kemahiran: .NET

Lihat lebih lanjut: webbrowser backgroundworker, webbrowser control thread safe, webbrowser thread safe, you fix it, thread up, the fix it, place code, no code, my fix it, my fix, my code, loop net, i will fix it, get my fix, get found now, fix page, fix it for you, fix it for me, fix it at, code your, code get, & code, iwebbrowser2 thread, thread safe violations, axwebbrowser readystate working loop

Tentang Majikan:
( 14 ulasan ) Whitby, Canada

ID Projek: #104619

Dianugerahkan kepada:

Aliam

Hello, Please check PMB.

$50 USD dalam sehari
(3 Ulasan)
3.5

7 pekerja bebas membida secara purata $58 untuk pekerjaan ini

pgcoding

can be done in one day.

$100 USD dalam sehari
(20 Ulasan)
6.5
Aurochs

See PMB, please.

$48 USD dalam 2 hari
(4 Ulasan)
3.6
ShreeJadhav

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 Lagi

$45 USD dalam 3 hari
(0 Ulasan)
0.0
theVyacheslav

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

$30 USD dalam sehari
(0 Ulasan)
0.0
ResonanceIT

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 dalam sehari
(1 Ulasan)
0.0
annasoftware

We are a small software company based in Ukraine [url removed, login to view] was created by proffesionals for professionals. We use modern project management methodologies, combining thorough functional and non-functional requirement Lagi

$100 USD dalam sehari
(0 Ulasan)
2.0