VB.Net: Get type in shared (static) context

25.04.2012 in Programming, VB.Net

Before I start I have to clear one thing, but I do not want to explain it:  that what static means in Delphi is Shared in VB.Net. When you do not know what I am talking about here then please read the documentation!

In Delphi it’s easy to access the class itself (not the instance!) in which a static method is declared: you can use Self to access the class and its static methods and properties. Imho it’s not that easy in VB.Net! I tried some things until is stumbled over this thread. I know that there is the solution for my problem, so why do I post the solution once more? The first reason is that I want to say that the solution postet there works ;) And second one is that I want to spread the solution because I haven’t found it very often via Google.

Read more

VB.Net: Outlook AddIn: Design mode or Runtime?

16.03.2012 in Programming, VB.Net

At the moment I write an AddIn for Microsoft Outlook 2007 in Visual Studio 2010, using .Net Framework 3.5. For this project I added some UserControl components which need to know if current state is design mode or runtime. Well, there is the possibilty to ask the component itself (via Me.DesignMode) but when you want to know that in general you can use this method if you want to know:

Read more

Toolbar2000 and SpTBX for Delphi XE2

12.11.2011 in Without Category

Because I’m an user of the Toolbar2000 and the SpTBX components for Delphi I had to update them in order to upgrade my projects to Delphi XE2. Without the changes I made it wasn’t possible to use and compile my projects. So I had to sit down a lil’ bit of time and here it is.

Read more

Delphi XE: TTimeZone is not threadsafe

01.07.2011 in Delphi, Programming

This is only a very short post, but perhaps it can help some people out there :) When you want to use the abstract class TTimeZone respectively its derived class TLocalTimeZone then be aware of that it is NOT threadsafe – the two mentioned classes are defined in the unit DateUtils since Delphi XE and are really helpful.

Read more

Writing a Windows Batch file…

19.05.2011 in Without Category

Today I wanted to write a simple Windows Batch file which should create some symbolic links (command: mklink). I thought that something like this is an easy job because I know the basics about batch programming – but that was obviously a mistake… Perhaps this post can help somebody else :)

Read more

Preinstalled software on new notebooks

12.05.2011 in Without Category

I don’t know what other people think about that problem but I’m getting really angry right now, so I decided to write this post… Today I received a new notebook which I’m setting up at the moment. It’s from a popular producer with two letters in its name – but this problem is widely spread and applies to many producers. The notebook itself looks quite good and robust, it’s fast an the display is bright, the OS is Windows 7 64-bit. Well I should be totally happy because it’s an good machine, but

Read more

Enumerations as class type in a generic class/record

05.05.2011 in Delphi, Programming

Last night I had a really strange compiler error when I tried to translate my new array record. You have to know that I have rewritten the complete record and added generic support to it. Here is a lil’ bit of the code which you need to unterstand why I got this error.

Read more

Update: Editor Theme for Delphi IDE (Version 7-XE2)

11.11.2010 in Delphi, Usability/Interface

Some days ago Embarcadero published the new version of the Delphi IDE, called XE2. Rolf Warnecke has already ported the theme to this version and here it is :)

Today I recieved the new version of the my favorite IDE called Delphi XE. Some time ago I created a kind of theme for the its editor so it looks a lil’ bit nicer (for me ;) ). Now I updated the theme so it supports the new version too. You can find my old (german) post below.

Download: .rar (128 KB), .7z (112KB)

Read more

How to test web applications without having all mobile devices?

11.11.2010 in Programming, Web

Last week I worked on my jQuery plugin apOverlay which will be a part for my apWindow plugin hat gets published in the next two or three weeks. In all modern browsers there are no problems at all – ha, that’s wrong! This is only the half the truth because this statement counts only in normal browser, not completely on mobile devices and its default browsers. But how to test if the implementation is correct? No one wants to buy each phone, PDA, tablet… Well, there is the way to look for simulators but that’s not so easy sometimes :)

Read more

Powered by WordPress.org - WordPress Theme deZine by ThemeShift.com