String$ function
-
Hi everybody, I hope somebody can help me with this. I've received a VB.NET project, and I must add some functions taken from another VB6 project. One of these functions, uses the String$ function like this: strValTemp = String$(1024, 0) But it seems that VB.NET does not allow me use this function. Is there any other way of doing the same? Thanks.
Time to come clean... Vive y deja vivir / Live and let live Javier
-
Hi everybody, I hope somebody can help me with this. I've received a VB.NET project, and I must add some functions taken from another VB6 project. One of these functions, uses the String$ function like this: strValTemp = String$(1024, 0) But it seems that VB.NET does not allow me use this function. Is there any other way of doing the same? Thanks.
Time to come clean... Vive y deja vivir / Live and let live Javier
String$(1024, 0)
creates a string 1024 characters long filled with nulls. Is that going to be too hard in vb7.net?
Panic, Chaos, Destruction. My work here is done.
-
Hi everybody, I hope somebody can help me with this. I've received a VB.NET project, and I must add some functions taken from another VB6 project. One of these functions, uses the String$ function like this: strValTemp = String$(1024, 0) But it seems that VB.NET does not allow me use this function. Is there any other way of doing the same? Thanks.
Time to come clean... Vive y deja vivir / Live and let live Javier
Hi, the string class has a constructor that takes one character and one number; it builds a string using that character count times, which AFAIK is what String$() used to do. :)
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
-
Hi, the string class has a constructor that takes one character and one number; it builds a string using that character count times, which AFAIK is what String$() used to do. :)
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
Thank you very much, Luc. Sometimes these stupid questions are the most difficult for me. ;)
Time to come clean... Vive y deja vivir / Live and let live Javier
-
Thank you very much, Luc. Sometimes these stupid questions are the most difficult for me. ;)
Time to come clean... Vive y deja vivir / Live and let live Javier
you're welcome. :)
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.