automate rasphone 
Author Message
 automate rasphone

hello,
I am new in whs programing and I would to run rasphone.exe automaticaly from
a script
my first try
var objRasphone = WScript.CreateObject("Rasphone.Application");
give me an error
could some one give me an example of script or information to do that
thank in advance
jean chaize
meteomer



Sun, 06 May 2001 03:00:00 GMT  
 automate rasphone
You need to use the Wscript.Shell object's Run method.  Here is an example:

Set WshShell = Wscript.CreateObject("Wscript.Shell")
Return = WshShell.Run ("%WINDIR%\notepad ",1,TRUE)

The 'Return' var is used to return error messages about starting the
program.

Hope that helps!

Quote:

>hello,
>I am new in whs programing and I would to run rasphone.exe automaticaly
from
>a script
>my first try
>var objRasphone = WScript.CreateObject("Rasphone.Application");
>give me an error
>could some one give me an example of script or information to do that
>thank in advance
>jean chaize
>meteomer




Sun, 06 May 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Automating CLEANMGR (Disk Cleanup)

2. automating emailing html

3. Automating Outlook with VBScript

4. Automating an import from a CSV file to a SQL 7.0 database

5. Automated multiple record update

6. Automate Your Software Builds with Visual Build 2.0

7. automate powerpoint

8. Automate onclick button

9. Embedding/automating MS Word 2000 - help!

10. Automate Your Software Builds with Visual Build 2.0

11. Automating Outlook (or Winfax) using VBScript

12. Need automate backup operation

 

 
Powered by phpBB® Forum Software