-
Render PDF Reports in .Net Web or Winforms
One thing to note – render is not the same as draw. This article assumes you are using purely .Net for reporting purposes. If you are using C1, Telerik, Crystal Reports or some others, these examples are not included, although I can at least tell you it definitely possible to do the same in all…
-
With Statement in C# .Net
If you’re stumbling across this article, chances are you may be looking for a replacement for VB .Net’s “with” statement. Sadly, there is no exact replacement, but there are alternatives which are equally helpful. Given a basic class “Robot” below: Variable Declaration If you were using “With” simply for initial variable declaration so you didn’t…
-
C++ Cheat Sheet and Quick Reference Guide
The Tools To compile and test code on Windows, my recommendation would be using: Microsoft Visual Studio 2008/2010 Express Editions (ask your instructor about full versions) On an older Windows box (if it’s not quad core), you might want to use Visual Studio 2008 instead of 2010. 2010 is excellent but much more performance intensive,…
-
Download File with Update Progress in .Net
Next best thing to wget on Windows. 😉 VB C# (note this is autoconversion and actual project is in VB):
-
Get Current Process ID in C# .Net
References MSDN (GetCurrentProcessID), http://msdn.microsoft.com/en-us/library/ms683180(v=vs.85).aspx MSDN (GetCurrentProcess), http://msdn.microsoft.com/en-us/library/system.diagnostics.process.getcurrentprocess.aspx
