Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I write a Registry entry programaticaly on??

Status
Not open for further replies.

hardwork99

Instructor
Feb 3, 2005
23
DO
Hi all,

How could i write a registry entry automatically to start an app. on:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices

or:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

thanks
 
See the foxpro samples.
do (home()+"samples\solution\solution.app")

Then take a look at the code of
Windows API -> Read and write VFP Registry values

That also works on the Registry in general, if a user has sufficient rights to change something in Run or RunServices.

Again, what Du you want to be able to do? Maybe there is an easier way.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top