Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
Oct 6, 2000

API Registry Calls

Question:
I have code in Visual Basic that allows a user to search the Registry and return a value from the passed key and path. Can you show me a simple way of implementing this in Visual FoxPro?

Answer:
There is a class included in the VFP Foundation Classes called "Registry" in ffc\Registry.vcx. It gives you the ability to access the Registry as well as INI and ODBC information.

Go into the Component Gallery. In the treeview drill down to Visual FoxPro Catalogs\Foundation Classes\Utilities. There you will see an item called Registry Access. Double-click on it to see the Registry class. Right-click on it and choose View Sample to see an example of how to use it.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap