Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11260
| Newsgroups | microsoft.public.scripting.vbscript |
|---|---|
| Subject | Re: Error code 800A0408 Invalid Character |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <5FF61B14-A7C3-4E68-B1B2-D078222FD219@microsoft.com> <#9yRHq0oKHA.5520@TK2MSFTNGP05.phx.gbl> <9126964a-7011-4b22-9756-a831cad869b0@googlegroups.com> |
| Date | 2016-03-16 19:58 +0100 |
| Message-ID | <XnsA5CDCB2AE4895eejj99@194.109.6.166> (permalink) |
sarunaskrusinskas@gmail.com wrote on 16 Mar 2016 in
microsoft.public.scripting.vbscript:
> On Monday, February 1, 2010 at 4:28:02 PM UTC+2, mayayana wrote:
>> > i have a vbscript which was compiling with noerrors.
The essense of VBScript is that it does not compile,
it should just be executed.
So what happens if you put testme.vbs on your desktop
and double-click it?
... if testme.vbs contains:
Set wshShell = wscript.CreateObject("WScript.Shell")
msgbox "ok"
Do you get that error?
>> > i was using editplus to write my vbscritps
>> > today i tried using primalscript2009 editor.
>> > i added some code to the script and when i tried to run the script i
got
>> > the "Error code 800A0408 Invalid Character" error.
>> > i gone through my code a lot of time but i found no invalid character.
>> > i need your help to resolve this issue.
>>
>> Why don't you look at the line that the error message
>> told you the error is on, and then post it here? No one
>> can help you figure out what character is invalid if
>> they can't see your code. :)
>>
>> Usually that error will mean that you used something
>> invalid in the context. A non alphanumeric in a variable
>> or an operator that can't work might do it. Though
>> WSH will try to force an operator to work if it can.
>> For instance:
>>
>> i = 2
>> s = 3
>> msgbox i & s
>>
>> I tried that out thinking that it might result in an
>> invalid character error, but instead the interpreter
>> converted the numbers to strings and the msgbox
>> showed "23"!
>
>
>
> My error line is this
>
> Set wshShell = wscript.CreateObject("WScript.Shell")
>
> pls help me this is important.
>
>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Error code 800A0408 Invalid Character sarunaskrusinskas@gmail.com - 2016-03-16 11:10 -0700 Re: Error code 800A0408 Invalid Character "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-16 19:58 +0100 Re: Error code 800A0408 Invalid Character "Mayayana" <mayayana@invalid.nospam> - 2016-03-16 15:00 -0500 Re: Error code 800A0408 Invalid Character "R.Wieser" <address@not.available> - 2016-03-16 21:38 +0100
csiph-web