Archive for the ‘Windows’ Category

Windows 64-bit Compatability and Registry Path

Saturday, December 29th, 2012

I have an old application which has worked fine for me for years on the 32-bit operating system. It worked well on Windows XP, and even I used this on the Windows-7 32-bit without any issues.

However, to run that application you need to do first some registry entries manually. This was due to the reason that I have lost the installer, and only had the installed application and registry back-up for restore. On every fresh machine, to run that application, I used to run the script to update the registry entries, and it worked well for me.

But recently, I have to upgrade to Windows 64-bit (due to some memory issues), and thus was not able to run that application. On the last weekend, I decided to debug the reason on why the application is not working on Windows 64-bit, and usual, I first tried to search on the Google. But I was not feeling luck that day. I then decided to use “Procmon” application from SysInternal for all the registry access made by that application, and found the problem. Apparently, on 64-bit, the application was trying to read the corresponding registry entries from following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CompanyName\ApplicationName\

But the registry back-up I had was writing the restore entries to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\CompanyName\ApplicationName\

Once I found this, the fix was quite easy. I just changed the registry restore script to restore the required entries at the correct path (under Wow6432Node path).

For those of your who are curios on what this mysterious Wow6432Node folder in the registry path is, this is because my application was 32-bit application, and thus was running in a special mode in 64-bit operating system. For more details, check this:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724072(v=vs.85).aspx

I hope this helps in debugging some of your 32-bit applications incompatibility issues as well.

ASP.Net Error CVT1108: Cannot open C:\Windows\TEMP for writing

Tuesday, December 18th, 2012

When I restarted my Windows 7 machine today after a few days (I usual put this to hibernate mode), I got a weird error when starting the ASP.Net web application. The error was:

Compiler Error Message: CVT1108: cannot open C:\Windows\TEMP\RESA33F.tmp for writing

This was a bit weird, because it was working fine before the restart. I tried clearing all the files in the above TEMP folder, but the error still persistent.

After trying various solutions, I was finally able to solve this by simply re-applying the full permissions to “CREATOR OWNER” group in the Security page of folder properties dialog.

I still wonder how these properties got corrupt, and it’s still a mystery, but the good thing is that system is finally back to working state.

USB Disk Manager Featured on CNet

Saturday, July 7th, 2012

Yesterday was a good day for me. My USB Disk Manager product finally appeared in the CNet reviews, and was listed on the CNet home page for around 5 hours. It’s still on the first page of CNet How to page, and I hope that it will be there for few more days.

This is a time to remember, so I captured it as images:

USB Disk Manager on CNet home page CNet How to Home Page

Even though in terms of user traffic, I got very few users from the CNet. Mainly because of the reason that they change the download link quickly to their own download section, but it was still a great feeling to be highlighted on one of the top 100 websites.

GRE Flash Cards

Sunday, July 1st, 2012

I have been working on the GRE examp preparation for few months now, and one of the hardest part of all this preparation was toiling through more than 3700 words list and remembering their description and ideally an example on how to best use each word too.

Soon tired of looking through meaning of all these words online (you can’t sit in front of your computer all day), I decided to build my GRE Flash cards. While there are many online, pre-printed and printable solutions available (just try searching for the “GRE Flash Cards”), I was not able to find which matched my requirements perfectly.

When its come to already printed flash cards, I think one of the most reputed are the Barron’s New GRE Flash Cards, but unfortunately, these were not available in my locality. So tired of finding the correct option, and in true spirit of software developer, I decided to create my own. I got the words list from a friend which was in a simple text file. I loaded this into a new 4D Database, and then with just one or two hours of effort, I had  some nice and simple flash cards which can be printed on the A4 page. There were actually two reports, one had only the Words (front of a page), and the other had the corresponding definitions (back of the flash card). So these two can be printed on front and back of A4 page so that you can flip the card in hand to quickly look for its definition.

These printed flash cards have helped me a lot in my preparation, so I thought to share these with you all too. Here is how these two reports looks like:

Words Definition with Examples

And you can download these two PDF files (word and definition) from following links:

Words List (PDF)
Definition List (PDF)

I hope you find these handy.

PS: I also ended up creating a simple GRE Vocabulary application which has built in quizzes and study screens. Unfortunately, I can’t make an executable of this, so this requires 4D Standalone Application. If any of you are interested in that, please let me know and I can then upload it some where too.

Generating PAD File

Saturday, May 29th, 2010

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 handy to use PADGen application to do so. If you don’t like installing new tools, then you can try the online web based PAD Generator too:
http://www.padbuilder.com/

For those who prefer direct XML editing, here the quick link for the PAD sample Xml file:
http://www.asp-shareware.org/pad/spec/pad_spec.xml

As usual, last but not least, a link to one very good website with a lot of information and tips about submitting the PAD files:
http://mindprod.com/jgloss/padsubmission.html

Regards, Akbar