Category

Windows

20 posts

Windows

Generating PAD File

Most of the online software downliad site supports the PAD file for your application submisssion. The PAD (Portable Application Description ) is a machine-readable document format designed by the Association of Shareware Professionals Though it’s just an XML file and you can create this using an XML Editor or even a notepad, I find it…

Continue reading Generating PAD File
1 comment Win32 API Windows

Forcing just one instance of an Application to execute at a time

When developing a desktop application, it’s often required that only one instance of application should be executable at a time. This is usually implemented in different ways depending on Language/Tools you are using to build the application. Some common techniques used are either using the Mutex or getting a list of active processes and making…

Continue reading Forcing just one instance of an Application to execute at a time
1 comment Win32 API Windows

Restore Notification Area Icon after Explorer Crash

If you are writing any application which adds an icon to the Taskbar notification area, it’s recommend to handle the “WM_TASKBARCREATED” the message sent by explorer. This message is sent by explorer when it’s creating the taskbar. As after crash explorer doesn’t remember the original notification icons, you should handle this message and then re-register…

Continue reading Restore Notification Area Icon after Explorer Crash

How to fix the "Automation server can't create object" error

In one of my Win32 DLL projects, whenever I tried to add a resource file, I got the “Automation server can’t create object” object. Similar to other errors, this was not very informative. After searching for this error, I found this the common cause of this problem is that Windows Scripting host is corrupt. You…

Continue reading How to fix the "Automation server can't create object" error