Search This Blog

Thursday, December 27, 2007

To create a new C++ application in Visual C++ 2008 Express

1) File -> New -> Project...
2) Under Visual C++, choose General -> Empty Project
3) Type a name under Name: for this project.
4) On the menu, choose Project -> Add New Item...
5) Under Visual C++, choose "C++ File (.cpp)", in the future, you might create a "Header File (.h)".
6) Type a name under Name: for this file.

Thursday, December 20, 2007

Restore WordPad in Windows XP

1) WordPad by default is missing under, "Control Panel" -> "Add or Remove Programs" -> "Add/Remove Windows Components" -> "Accessories and Utilities" -> "Accessories".
2) Edit the sysoc.inf file in C:\WINDOWS\inf and delete the word "HIDE" while leaving the extra comma undeleted, from this line,
MSWordPad=ocgen.dll,OcEntry,wordpad.inf,HIDE,7
3) Save.
4) WordPad is now listed in "Add or Remove Programs".