Beyond what's already been mentioned, any character conversion needs would be available in the System.Text namespace; refer to System.Text.ASCIIEncoding.
---------------------------------------
A picture is worth 2,000 bytes.
---------------------------------------
Perhaps you could store the DateTime.Now when the worker thread is started and just report the difference between DateTime.Now and the stored DateTime in your event as a way to track the processing time. This way you wouldn't need any kind of a timer object...
Is the test machine using a different version of the .NET runtime than the dev machine?
---------------------------------------
A picture is worth 2,000 bytes.
---------------------------------------
You should be able to do this by utilizing the Excel COM object model. You'll need to add a reference to Microsoft Office Excel in your project (on the COM tab, mine is "Microsoft Excel 11.0 Object Library"). The code below should be close to what you need:
using Microsoft.Vbe.Interop;
using...
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.