Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


String Length

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,39957
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> String Length
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 String Length - 11/21/2006 5:19:46 AM   
  longie

 

Posts: 6
Score: 0
Joined: 11/21/2006
Status: offline
Hello All,

I am having problems with the following function;


      

The keyValue is returing a value that the string length is too large. I have tested this function and it looks like the max is 255 - is it possible to increase this to an unpredefined length.

Cheers.
 
 
Post #: 1
 
 RE: String Length - 11/21/2006 5:56:40 PM   
  TNO


Posts: 1036
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
Try passing it with the ByVal or ByRef keywords. If that doesn't work, try passing it as an array insteaad, then join it inside the procedure with an empty string ("")

_____________________________

Consolidated Script Component: The Acid Test

A universe of complexity...

(in reply to longie)
 
 
Post #: 2
 
 RE: String Length - 11/21/2006 11:19:12 PM   
  longie

 

Posts: 6
Score: 0
Joined: 11/21/2006
Status: offline
I am not familiar enough with VBS - but the keyValue will be greater than 255 thus using


      
will replace the winword bookmark with an empty string

I am in favour of using the clipboard feature as described in another forum. There is an opportunity for the user to copy something when the bookmarks are being replaced.

Any more help is appreciated.

Regards,
John

(in reply to longie)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> String Length Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts