I had a JS script encoded(using windows script encoder),the encoded script is
a very long(more than 40000 bytes) string including a lot of special char
such as tab,enter and so on,now I want to store this ultra_long and
spical_char_nesting string in VB,failing using a string type variable to
accomplish this task,what orther method is there for me?

Signature
jtz
Larry Serflaten - 28 Jun 2008 13:33 GMT
> I had a JS script encoded(using windows script encoder),the encoded script is
> a very long(more than 40000 bytes) string including a lot of special char
> such as tab,enter and so on,now I want to store this ultra_long and
> spical_char_nesting string in VB,failing using a string type variable to
> accomplish this task,what orther method is there for me?
Byte array.
LFS
Dick Grier - 28 Jun 2008 18:29 GMT
Hi,
Larry is correct, a Byte array will do the job.
However, a standard String will handle this with ease, and will be easiest
to code. If none of the character values exceed &H7F, then that would be
the way to go, I think. Are you experiencing some problem?
Dick

Signature
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.