Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 15th, 2007, 11:22 PM
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jatin
Default problem in API programming in visual basic 2005

well , i have a serious problem in API programming in visual basic 2005 . Plz help me. I will be thankful 2 all of u .
   I dont know which functions 2 use 2 for accessing the registry keys n so reteiving , deleting or writing any data in registry through visual basic 2005.m a student n still learning vb - 2005.
 so , plz help me in this crisis.
   thank you
 happy posting

jatin
 
Old March 16th, 2007, 06:26 AM
Authorized User
 
Join Date: Nov 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ef1196
Default

Read up on the "My.Computer.Registry" namespace.



Best Regards,
Earl Francis
 
Old March 16th, 2007, 02:11 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Jatin, this is not a cell-phone instant-messaging site. It is a good idea to not write so "cute," and spell out words, use proper punctuation, letter-casing, etc.

VB6 had a built-in ability to store data in the registry, and to retrieve it, but the keys you could get at were limited.

VB.NET 05 has the My.Computer.Registry object which exposes 7 read-only properties, each exposing one of the Microsoft.Win32.RegistryKey object corresponding to one of the registry hives.

I believe these RegistryKey objects can be used to either read or write.

If this is so, no APIs required...





Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP in Visual Studio 2005 Pro (Visual Basic) shoopes VB How-To 1 June 29th, 2006 02:08 PM
Visual Basic API Programming ranuji General .NET 1 May 31st, 2005 02:35 AM
Multithreading Programming in Visual Basic tinku Beginning VB 6 4 March 8th, 2004 01:36 PM
Beginning Visual Basic 6 Database Programming lizardnotebk All Other Wrox Books 1 December 16th, 2003 01:45 PM
Beginning Visual Basic 6 Database Programming mikeceee All Other Wrox Books 0 July 16th, 2003 09:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.