Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11259 > unrolled thread

Re: Error code 800A0408 Invalid Character

Started bysarunaskrusinskas@gmail.com
First post2016-03-16 11:10 -0700
Last post2016-03-16 21:38 +0100
Articles 4 — 4 participants

Back to article view | Back to microsoft.public.scripting.vbscript

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#11259 — Re: Error code 800A0408 Invalid Character

Fromsarunaskrusinskas@gmail.com
Date2016-03-16 11:10 -0700
SubjectRe: Error code 800A0408 Invalid Character
Message-ID<9126964a-7011-4b22-9756-a831cad869b0@googlegroups.com>
On Monday, February 1, 2010 at 4:28:02 PM UTC+2, mayayana wrote:
> > i have a vbscript which was compiling with noerrors.
> > 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.

[toc] | [next] | [standalone]


#11260

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-03-16 19:58 +0100
Message-ID<XnsA5CDCB2AE4895eejj99@194.109.6.166>
In reply to#11259
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)

[toc] | [prev] | [next] | [standalone]


#11261

From"Mayayana" <mayayana@invalid.nospam>
Date2016-03-16 15:00 -0500
Message-ID<nccacc$gfd$1@dont-email.me>
In reply to#11259
| My error line is this
|
| Set wshShell = wscript.CreateObject("WScript.Shell")
|
| pls help me this is important.
|

  You somehow managed to dig up an answer I
gave 6 years ago. Why? What do you need help
with? The first thing you should do is get a real
newsreader and stop using Google Groups. Then
you can take part in the current discussion, in
2016 rather than 2010. 

[toc] | [prev] | [next] | [standalone]


#11262

From"R.Wieser" <address@not.available>
Date2016-03-16 21:38 +0100
Message-ID<56e9c40a$0$24042$e4fe514c@news.xs4all.nl>
In reply to#11259
sarunaskrusinskas(?),

> My error line is this
[Snip]

Thats the line the error is (presumably) been generated on.  But what was
the error-message itself ?  Thats pretty important you know.

> Set wshShell = wscript.CreateObject("WScript.Shell")

That line itself looks good.   Two possibilities I can think of:

#1 - In relation to that post you tagged your question on (a bit of a
no-no), it *might* be possible that there is an invisible character in there
somewhere.  Suggestion: delete the whole line and rewrite, preferrably using
a so-called "flat text" editor (ASCII only, no special formatting).

#2 - The error is not actually in that line, but in a line above it.  Even a
mis-matched double-quote (") could be causing itit.

Regards,
Rudy Wieser


-- Origional message:
<sarunaskrusinskas@gmail.com> schreef in berichtnieuws
9126964a-7011-4b22-9756-a831cad869b0@googlegroups.com...
> On Monday, February 1, 2010 at 4:28:02 PM UTC+2, mayayana wrote:
> > > i have a vbscript which was compiling with noerrors.
> > > 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.


[toc] | [prev] | [standalone]


Back to top | Article view | microsoft.public.scripting.vbscript


csiph-web