Programmerare, skeptiker, sekulärhumanist, antirasist.
Författare till bok om C64 och senbliven lantis.
Röstar pirat.
.NET controls in Microsoft Access
2010-05-05
Creating ActiveX objects in Visual Basic .NET is easy from Visual Studio 2008. There are a few checkboxes to tick, and a class attribute to add. But if you are doing an ActiveX control for use in let's say an Microsoft Access application, there are s [...]
How to upload a file
2009-09-17
First I must mention that this is my first ever blog post using Windows Live Writer. The topic was inspired by a question that was raised on the MSDN forums. How do I upload a file, and how can I control the remote filename? This is how it could be d [...]
Get the bytes from a file
2009-02-05
The bytes of a file are the file’s data at the lowest level available, and in .NET bytes are usually stored in byte arrays. If you’re not trying to cheat in a role playing game by hacking some save file, why would you want to load the bytes of the fi [...]
Optional arguments in Visual Basic
2008-12-27
Some things that can be accomplished using optional arguments can also be accomplished using overloading. I usually write the function with the most arguments first, and then I do overloaded versions of the function that calls the first version and p [...]
Microsoft Reporting and parameters
2008-12-13
If you use Microsoft Reporting, anyone that is used to work with ASP.NET 2.0 or later will be very familiar. In this example, I use the Northwind database (Microsoft Access - not SQL Server). Add the report file, create and configure the data sou [...]
Crystal Reports and dynamic data sources
2008-12-13
For this example, I have downloaded the Access 2000 Northwind database from http://www.microsoft.com/. If you google on the filename (nwind.mdb), make sure that you download it from Microsoft's web site. The problem I have with Crystal Reports [...]
Loading and saving bitmap images
2008-12-13
Instances of the Bitmap class (System.Drawing.Bitmap) represent a bitmapped image. To load an image, just pass the filename to the Bitmap constructor. This example loads a jpeg image from the "my pictures" folder in the current user's local stora [...]
Multithreaded search and the BackgroundWorker
2008-12-13
The background worker component in .NET Framework is designed to make it easy to execute code in a separate thread. One purpose of writing multithreaded applications might be to allow an application to do heavy work without deteriorating the user [...]
Bjud mig på en kopp kaffe (20:-) som tack för bra innehåll!