Some weeks ago I installed Windows 7 on a DELL Inspiron 17 3737 notebook for a friend – yesterday, another Inspiron 17, the same procedure, the same problem! Most drivers for devices were loaded automatically by Windows Update, other drivers can be downloaded from dell.com. All worked fine, but not with the WLAN device… That’s the reason for this post!
I have to improve a WordPress plugin so it supports more (specific) features. My problem was that I have never worked with WordPress code or even created or modified a WordPress plugin, so I had no experience with WordPress coding. Furthermore I love working with Delphi, C# and PHP, so I do the OOP way – above all because of its many advantages over procedural way (Yeah, I know, there are also disadvantages!). So I searched for a good introduction/code base for implementing the MVC pattern and use it in my plugin. But I did not find anything that satisfied my needs…
Here you can find the readme file.
Today I installed Windows 8.1 64-bit on a HP G62-b63SG notebook. Everything went fine and all devices were identified correctly – until the notebook activated the suspend mode and I woke it up again. The screen was black now and seemed to be turned off, while the machine was running… Well, at the first moment I thought that the display was turned off and not reactivated, but it was not the case! Only the backlight was off, which I realized in a lucky break…
Today I added a new Delphi project for a small issue I had yesterday: I reinstalled Windows 7 on my notebook Lenovo Thinkpad W500 (display resolution: 1920×1200) and Windows set the DPI of logon screen to 120dpi – I think that’s because of the high display resolution. But that is not the DPI I wanna see! So I wanted to change this, but there is no dialog where you can do that. But MSDN helped me: there is only one Registry value that is responsible for settings the logon screens DPI.
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.
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:
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.
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 :)
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 and the display is bright, the OS is Windows 7 64-bit. Well I should be totally happy because it’s a good machine, but…