Gold mine of Visual C++ tricks!
Archive for November, 2009
How to generate XML Schema from XML file?
Nov 22nd
![]()
Ever wondered how to generate XML schema from XML file?
Indeed, a lot of 3ed party tools can do it for you. But as usual, any easy way?
![]()
You can use Visual Studio IDE itself to generate XSD from XML file. Follow the steps.
1) Open the XML file in Visual Studio IDE.
2) Take View > Other Windows > Command Window.
3) Now type and execute command – XML.CreateSchema
4) See, the schema is generated.
![]()
A hidden pearl in VS IDE. Isn’t it?
![]()
Targeted Audience – Beginners.
Search for Symbols in Visual Studio more Easily
Nov 15th
![]()
Ever tried VisualAssist? Yes man, Its a killer product. The feature that I like most is its Symbol Search. You can specify words and it will list symbols that contain those words. Its very useful if you have a vague idea about the function name that you’re searching for. Have a look at the following screenshot.


But is there any PoorMan’s SearchSymbols without VisualAssist?
![]()
Did you forget about the hidden gem in VisualStudio find window? Yes, the Regular Expressions. You can use .* to do the same search done by VisualAssist. For instance, to do the above search, search for Show.*Msg. Have a look at following screenshots.

Now look at the results. Cool! isn’t it?

![]()
Quite easy. nah? BTW, did you try to kill that bug.
![]()
Targeted Audience – Beginners.

