开发者

Migration trobules upgrading from vb6 to vb.net

开发者 https://www.devze.com 2023-03-09 19:11 出处:网络
I want to upgrade Vb5 code to Vb.net but I don\'t know how to upgrade this command strMsgDtl and vbCrLf are str开发者_如何学编程ing:

I want to upgrade Vb5 code to Vb.net but I don't know how to upgrade this command strMsgDtl and vbCrLf are str开发者_如何学编程ing:

strMsgDtl = strMsgDtl & String(75, "-") & vbCrLf

What does the following command mean??

String(75, "-")


String(75,"-") creates a string 75 characters long, made of the "-" character.

VB.Net equivalent would be New String("-", 75)

0

精彩评论

暂无评论...
验证码 换一张
取 消