Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
Ŧ Groups Home
WshShell Question
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stalin Torres  
View profile  
 More options Jul 23 1999, 3:00 am
Newsgroups: microsoft.public.scripting.vbscript
From: "Stalin Torres" <stali...@hotmail.com>
Date: 1999/07/23
Subject: WshShell Question
hi, every body

any one knows why this code isīnt functioning?

<Script language="vbscript">
 function ejecutar()
  Set WshShell = CreateObject("WScript.Shell")
  WshShell.Run("notepad")
 end function
</script>

when i try it appears this message:
* the Activex  componet canīt create the object "Wscript.shell" *

if any one knows the answer PLEASE help me.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
LiL Endian  
View profile  
 More options Jul 23 1999, 3:00 am
Newsgroups: microsoft.public.scripting.vbscript
From: "LiL Endian" <erlange...@hotmail.com>
Date: 1999/07/23
Subject: Re: WshShell Question
Hi,

You need to let us know what host you are running
this under.

If you try and run it under WSH, then you are missing
some XML tags.

<job id="my job blah blah">
</job>

If you are running under IE, then you probably should run
it server side. Client side might be a problem.

HTH,
        Mark


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Harris  
View profile  
 More options Jul 24 1999, 3:00 am
Newsgroups: microsoft.public.scripting.vbscript
From: "Michael Harris" <mik...@ibm.net>
Date: 1999/07/24
Subject: Re: WshShell Question
In an IE client, you'll get this if WSH isn't installed on the client or the
browser security setting for "...ActiveX Controls not marked safe.." is set to
Disable (as opposed to Enable or Prompt)...

--
Michael Harris

Stalin Torres <stali...@hotmail.com> wrote in message

news:e6lOLhS1#GA.221@cppssbbsa02.microsoft.com...
| hi, every body
|
| any one knows why this code isīnt functioning?
|
|
| <Script language="vbscript">
|  function ejecutar()
|   Set WshShell = CreateObject("WScript.Shell")
|   WshShell.Run("notepad")
|  end function
| </script>
|
| when i try it appears this message:
| * the Activex  componet canīt create the object "Wscript.shell" *
|
| if any one knows the answer PLEASE help me.
|
|

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kerry Jamieson  
View profile  
 More options Jul 26 1999, 3:00 am
Newsgroups: microsoft.public.scripting.vbscript
From: "Kerry Jamieson" <kerry.jamie...@cyontech.co.nz>
Date: 1999/07/26
Subject: Re: WshShell Question
Or possibly (as I had a similiar problem) the WScript.Shell object has not
been registered in HKEY_CLASSES_ROOT.

To see if this is the case use regedit to see if there is a "WScript.Shell"
subkey immeadiately off HKCR. If not you will need to use regsvr32.exe to
export the appropriate dll or ocx. (In my case it was sccrun.dll but I am
not sure what it would be for this particular object - as you can tell I am
new to this stuff!!)

Kerry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »