I want to upgrade Vb5 code to Vb.net but I don’t know how to upgrade this command
strMsgDtl and vbCrLf are string:
strMsgDtl = strMsgDtl & String(75, "-") & vbCrLf
What does the following command mean??
String(75, "-")
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
String(75,"-")creates a string 75 characters long, made of the “-” character.VB.Net equivalent would be
New String("-", 75)