Solved

Programmatically call synchronizaiton wizard & shutdown computer?

Posted on 2004-09-12
2
291 Views
Last Modified: 2011-10-03
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
Comment
Question by:DrDamnit
2 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 12039683
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
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12039701
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question