Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


sms scripting

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,64571
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> sms scripting
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 sms scripting - 9/25/2008 6:42:23 AM   
  robszar


Posts: 182
Score: 0
Joined: 2/27/2005
From:
Status: offline
is there a way to run a sms package/ program via sms if I know the Program name and Package ID?

I though I could use UIResourceMgr but it doesn't seem to be working

                           Set oUIResource = CreateObject ("UIResource.UIResourceMgr")
                                   If oUIResource Is Nothing Then
                                       msgbox "no good"
                                   End If
                              
                               'Run the program.
                               oUIResource.ExecuteProgram sProgramID, sPackageID, TRUE   
 
 
Post #: 1
 
 RE: sms scripting - 9/25/2008 6:55:56 AM   
  dm_4ever


Posts: 2669
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
Has it been advertised to that computer?

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to robszar)
 
 
Post #: 2
 
 RE: sms scripting - 9/25/2008 6:59:06 AM   
  robszar


Posts: 182
Score: 0
Joined: 2/27/2005
From:
Status: offline
it looks like that is the problem, it has to be advertised and then it will work.  I can get the advertisement for the program with this

      

do you know how to add the current machine to the advertisement?

(in reply to dm_4ever)
 
 
Post #: 3
 
 RE: sms scripting - 9/25/2008 7:58:06 AM   
  dm_4ever


Posts: 2669
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
When you advertise it is normally to a collection so adding a machine to an advertisement should mean adding a computer to a collection with a direct rule or something similar. You might be able to find examples of this, if not let me know.

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to robszar)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> sms scripting Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts