-
Recent Posts
Recent Comments
Archives
Categories
About Me
I have a Ph.D in theoretical physics and over 17 years of programming experience in Fortran, C, C++, Matlab, Excel VBA, .NET C#, WPF, Silverlight, SQL databases, and .NET finance applications. I specialize in numerical computation methods, algorithms, physical modeling, CAD tool development, GUI and 3D graphics, and database design. I have published several books about .NET programming. I am currently working full-time with a financial institution on Wall Street in New York City, where I am responsible for quantitative analysis, trading strategy implementation, and business application development using .NET technology. I started this blog to share my programming experience in my spare time. For more information about my books, visit my website at www.drxudotnet.com
Monthly Archives: June 2011
Updating UI Elements from a Background Thread – Part 4
In this post, I will discuss how to update UI elements from a background thread in WPF. In the previous three posts about multithreading, I provided solution for WinForm applications. These techniques can also be applied to the WPF Windows … Continue reading
VBA: Export/Import Excel Files
You will often need to import or export Excel files from/to another workbook when you develop Excel applications using VBA. Here I present two Subs which can help you to perform this kind of job more easily. Sub ImportExcelFile(ByVal sh … Continue reading
CSV File and DataTable Conversion
Many readers asked me how to convert the comma delimited CSV file to a ADO.NET Datatable. This conversion is needed more frequently in the financial field. As a .NET developer, you may surprise at first if you see so many … Continue reading
Updating UI Elements from a Background Thread – Part 3
In my previous post, Part 2 , I demonstrated how to update a single UI element from a background thread. In this post, I’ll show you the way to update multiple UI elements from a background thread. We first use … Continue reading
Updating UI Elements from a Background Thread – Part 2
In the previous post, I showed you the possible issue associated with updating UI Elements from the background thread. In this post, I will show you two easy ways to fix the problem. The first method is to use the … Continue reading
Updating UI Elements from a Background Thread – Part 1
I got many emails from some new C# developers who asked me the same question – how to update the UI Elements from the backgroundworker. Well, I made the same mistake as you did before. Let’s start with an example … Continue reading