|
by: JHoletzeck |
last post by:
Is it possible to set the stack size for the thread created by
BackgroundWorker like in the API call _beginthread? If not is the stack size
a default or the one I set for the whole application?
(What I need is a worker thread with a rather large stack in a Windows Forms
app complied with /clr:pure)
Cheers
Jürgen
|
by: Rob R. Ainscough |
last post by:
I'm using a BackgroundWorker to perform a file download from an ftp site.
Per good code design practices where I separate my UI code from my core
logic code (in this case my Download file method in my FileIO class) I've
established Public Event in my core logic classes along with RaiseEvents
(that will updated a progress bar on the UI side). This all works great
when I'm NOT using Threading (BackgroundWorker), however, as soon as I...
|
by: andycee |
last post by:
Hi,
I'm working on an app to filter images (by size, EXIF info etc..) and display as a slideshow. To allow the worker thread to continue running whilst performing the longer tasks such as loading the image and reading the EXIF data, I have put my code for finding the next image in a BackgroundWorker thread.
My problem is that this code accesses several ListViews and variables in the UI thread, and also needs to write to some labels and...
|
by: jimmy |
last post by:
Does someone know why BackGroundWorker.ReportProgress method doesn't
accept strings ?
You can't pass integer always for a progress meter as percentage
completed cannot be calculated in many tasks like logging on to a
remote computer. In that case, we would like just to show a message
"Logging on"....
Any ideas ??
|
by: redear |
last post by:
Is there a way to immediately terminate a BackgroundWorker thread? My
problem is that the BackgroundWorker starts with a call to
My.Computer.FileSystem.GetFiles that can run for a very long time if
it is pointing to a directory tree with many files. If the user
requests cancellation during this time, the main thread can call
CancelAsync and can post a "Cancellation Pending" message to the user,
but the BackgroundWorker cannot respond to...
|
|
by: BR |
last post by:
Hi,
I am writing a small utility to perform system maintainence tasks on
Windows. In this, I am launching a MMC snapin as a process using
BackGroundWorker and using the "RunWorkerCompleted" event handler to
know when the snapin was closed. This works fine on Xp and Vista 32
bit and the RunWorkerCompleted event handler is called when the snapin
is closed. But on Vista 64, the RunWorkerCompleted event is called as
soon as the snapin is...
|
by: Piotrekk |
last post by:
I have a question.
One day i have been working with threads. Thread had 'while' loop that
checked locked value telling the thread when application was closing
( in Dispose method i set locked object's value to 'true'). If i
didn't have the locked object the thread was present in taskmanager
even when application has been already gone.
My question is:
|
by: Coaster |
last post by:
I want to create a "thread manager" class to manage an array of
backgroundworkers. I'd like this thread manager class to live in a class
library and I wasn't sure if it was possible to make the thread manager a
subclass of the backgroundworker so that I could start it up and still do
other things on the client. Essentially a thread that spins off new threads.
Am I going to hit any limitations here?
thank you
|
by: AAaron123 |
last post by:
Is the following OK in Backgroundworker:
Private Sub backgroundWorker1_DoWork(ByVal sender As Object, ByVal e As
DoWorkEventArgs) Handles backgroundWorker1.DoWork
Static index As Integer = 700
Dim filename As String
filename = "Image_" & index.ToString("D4")
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|