Working with Windows Registry using VB.NET

Published on :

Creating a Subkey Collapse Collapse Dim regKey As RegistryKeyregKey = Registry.LocalMachine.OpenSubKey(“SOFTWARE”, True)regKey.CreateSubKey(“MyApp”)regKey.Close() In the code snippet shown above, I have created a subkey under HKLM\Software called MyApp. Note that I passed True as the second parameter to the OpenSubKey method. This boolean value is to indicate whether the key is […]

Copying the selected text in a textbox to clipboard

Published on :

Often in programming we ned to copy the selected text to the clipoard. Here is the method how to do this in visualbasic.net Copies the current selection in the text box to the Clipboard. [Visual Basic]Public Sub Copy() Remarks You can use this method, instead of using the Clipboard class, […]

.NET Framework 4.0 Poster for Download

Published on :

Brad Abrams posted about a cool .NET Framework 4.0 poster which was distributed at the PDC last week and which you can download. Thanks to Kit George for running this effort to get a very cool view of .NET Framework 4 and for the great folks at Addison Wesley for […]

Announcing the New .NET Logo

Published on :

Ahead of the PDC, “Microsoft .NET” has stepped out into the limelight sporting a new logo. The old one has been around for the last 8 years or so and with the the broad adoption of the Microsoft .NET technology on the PC, Web Server, Mobile, DB and Silverlight client, […]