Computing.Net > Forums > Programming > VB script to change favorites path

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

VB script to change favorites path

Reply to Message Icon

Original Message
Name: kiwi_hk
Date: December 22, 2005 at 08:04:37 Pacific
Subject: VB script to change favorites path
OS: Windows XP
CPU/Ram: 256
Comment:

Hi

Can some-one help me please, I just want to run a vb script when the user log in to change the IE favorites location in the registry using VB script.

Thanks

Ken


Report Offensive Message For Removal


Response Number 1
Name: Chi Happens
Date: December 29, 2005 at 07:15:28 Pacific
Reply: (edit)

You need to use the Windows API in order to do that in VB.

The Win32 API functions you will need are as follows:

RegCreateKeyEx
RegCloseKey


Hope this helps,
Chi

They mostly come at night...mostly.


Report Offensive Follow Up For Removal

Response Number 2
Name: kiwi_hk
Date: January 2, 2006 at 02:13:57 Pacific
Reply: (edit)

Hi

I think i have a vb script to do what I wanted, I have tested it and it seems to work ok when I double click on it. Just need to try it at login.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software