Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

Programmatically call synchronizaiton wizard & shutdown computer?

Can anyone tell me how to programmatically call the offline files synchronization wizard and also how to programmatically shut down the computer from within VB6? Need code.
0
DrDamnit
Asked:
DrDamnit
1 Solution
 
David LeeCommented:
You can use this code to launch the synchronization wizard (Mobsync.exe) and wait for it to finish before moving along.
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3716&lngWId=1

This code will shutdown/reboot/logoff Windows.
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=45593&lngWId=1
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now