The RunWorkerCompleted event has the flag for cancelled as part of the arguments that are passed in. Somehow those are not getting all the way back to the Main UI.
The simple idea of a global variable would work. Sometimes the simple just gets overlooked.
Thanks,
After doing some more research on this I found a way to do what I needed, with one exception. I could have used the DoEvents but I am using this project as a chance to learn about multithreading.
The plugin I use is an external app that I have to access through a .bat file. It then will take...
I have an application that I am developing that will process files based on a database table.
Currently I'm developing my solution with multiple projects in VS 2008. I have 1 project for the base class with all of the processing code in it. Then I have 2 more projects (1 for a thick-app and 1...
Thanks for the tip. Based on that I found Printing.PrintServer and used that to change the settings.
From what I can tell the enumerations aren't exactly correct. For instance, the "Success" enumeration enables the "Error" logging. "Warning" enables both warning and error logging and "All"...
I'm currently working on a project that is using a 3rd party application to convert files from PDF to TIF.
That application uses a printer to do the conversion. What we've noticed is that there are a lot of warning messages logged to the Event Viewer in the System Event Log if the "Log spooler...
It would be nice if that would be possible but at the same time I guess they don't like making it that easy.
I went ahead and made my own classes to manage the config files.
Thanks,
Josh
That is the technique that I want to use but I want to be able to specify where the .settings file is located. I'd like to use settings files for my configuration and use the built-in interface to manage them. My app is going to run as a service and so I'd rather not have it all be application...
I am working on understanding how to use settings files within my application. I had used them in .Net 1.1 with the Enterprise Library but it seems they've changed quite a bit since .Net 2.0 was released. I am currently using VS2008 and my app is targeted for .Net 3.5 but what I'm trying to do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.