Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / VB Syntax / June 2008



Tip: Looking for answers? Try searching our database.

how to store ultra_long in VB

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jtz - 28 Jun 2008 03:03 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?
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.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.