Create a class that can be used in a VB6 program. This class will check if a predefined program is running. I fnot, it will start the exe and retrieve the content of 2 labels on its screen.
The predefined program is either :
TeamViewer 5.0 Full Version or TeamViewer Quicksupport
(check on [login to view URL] -> downloads)
## Deliverables
2 fields to be retrieved are "ID" and "Password".
The field "ID" can be retrieved from registry if required, but password can't.
That's why we need a screenscraping module.
You'll notice that the info can be copied/paste, so the info is available in a label.
THe complete beahviour of the call should be :
"Startup"
- Check if Teamviewer program is running
(based on the path of the exe)
- If not, start the exe
- Retrieve info from screen and store it in 2 properties of the class
"Refresh"
- Retrieve info from screen and store it in 2 properties of the class
"Shutdown"
- Stop the exe if running
Properties of class
- ExePath
- RetrievedID
-RetrievedPassword
- IsRunning
-ProcessID