Wednesday, October 31, 2007

Insufficient system resources exist to complete the API

The error "Insufficient system resources exist to complete the API" had been occurring consistently for my laptop since I upgraded it to 2GB of RAM (512MB originally when this problem was not there). Once this occurs, the Hibernate option disappears from the shutdown options list as well.
Did a google on it and got this... You need to download and install a hotfix from Microsoft. This problem apparently is on Windows XP SP2 machines with 1GB+ RAM
http://support.microsoft.com/kb/909095

Tuesday, July 24, 2007

Launch your application from Windows Start | Run command

I was trying to figure out, what does it take to make your application launched from the Start Run, on windows. Most of the standard applications (winword, iexplore, notepad,...) works this way.

For your application to be launched this way, here is what you need to do:
* Your application need to have a registry key in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths, with (default) value as the full path to the executable that you want to launch.
* You may also define a new binary value named "Path" and set the folder path to the executable. But this doesn't seem necessary.

Having the path to your executable in the System or User Path (Environment Variable) also will make the Start Run work.

Sunday, June 24, 2007

Standalone Flash Video (.flv) players

UPDATE:
I had written this post a few months ago. Real Media has launched the Beta Version of the RealPlayer 11. This is the most beautiful standalone FLV player that I have seen till now. The floating toolbar that appears on any webpage that plays FlashVideo, which lets you download the .flv movies is very cool. Downloading videos from YouTube and other tubes (;-)) had never been easier.

------------
I had been looking for some standalone .flv players to preview .flv files and to watch downloaded videos on PC.
I came across this article by Joseph Balderson which was very helpful to me http://www.communitymx.com/content/article.cfm?cid=8087E which had download links to few good FLV players and a very useful comparison chart as well.

I downloaded "FLV Player" from http://www.martijndevisser.com/blog/article/flv-player-updated and it's neat.

Thursday, June 7, 2007

Life without Mouse - Tips & Tricks

I came accross this interesting blog, while searching for some tips on browsing web using only keyboard. I'm sure many will find this interesting. Though most of it would be known to many advanced users, you sure will find something new here.

http://chronotron.wordpress.com/2006/03/26/life-without-mouse-tips-tricks/

Monday, April 23, 2007

Unable to access USB harddrive/pendrive through windows explorer?

I faced this problem once, found out a way and faced it few months later again on another machine. Had to re-discover it this time. Hence this entry, so that I (or whoever can read this) need not re-discover the solution.

Problem:
* USB Harddrive or Pendrive is plugged in.
* Windows recognizes the USB mass-storage device.
* But, unable to access it using a drive-letter from Windows Explorer or Command Prompt.

Solution:
* Open "Disk Management MMC" - Start Run diskmgmt.msc.

* Right-Click the USB drive (disk other than the permanent drives) & select 'Change Drive Letter and Paths...'

* Add a drive letter.

That is it. You now see the drive letter in Windows Explorer.

Wednesday, March 21, 2007

Design Rationale for C++/CLI

C++ at work - Rationales, Highlights and a Farewell. I found this extremely interesting.

For a complete reference on C++/CLI design rationale, read the paper "A Design Rationale for C++/CLI" by Herb Sutter. Here is one of the places where you could find it : http://www.gotw.ca/publications/C++CLIRationale.pdf.

Wednesday, March 7, 2007

Project Creation failed... IE7 and Visual Studio 2005 Smart Device Client

I had a problem creating Native C++ Smart Device project using Visual Studio 2005. I had no clue that IE7 could be the culprit. I had created similar projects earlier, but that was before I installed IE7.
Then I googled... as usual and came across this. I did just this and it works now...
------------------------------------------------------------------------------------
THIS HELPED ME:
FROM http://icodemonkey.spaces.live.com/
Project Creation failed.
After installing IE7 Beta 2 I've had a problem creating smart device projects in C++. I kept getting an error "...project creation failed". I looked everywhere but the only answer I found was "uninstall IE7". I REALLY like IE7 and didn't want to have to do that. After more searching I finally found an answer.

This involves modifying the registry so do at you own risk.
Close VS
Start RegEdit.exe
Find the following registry entry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ext\PreApproved
Add a new entry and name it {D245F352-3F45-4516-B1E6-04608DA126CC}
Close RegEdit
Start VS
Try and create a Smart Device C++ project
I didn't have the problem they mention about the platform lists not being filled out. So now I'm happy. IE7 and Native Smartdevice apps. :)
----------------------------------------------------------------------------------------