I Make Encode Text Program Then I use Function

TextBox2.Text = Passed(Microsoft.VisualBasic.Right(nowvalue, 5)) & " " & TextBox2.Text

And It tell This Error

Operator '&' is not defined for types 'System.Drawing.StringFormat' and 'String'.

Why "&" is caught in function but it seperate from "()"
First And
My Code Is Very Long
Thank For Help

Recommended Answers

All 2 Replies

I Make Encode Text Program Then I use Function

TextBox2.Text = Passed(Microsoft.VisualBasic.Right(nowvalue, 5)) & " " & TextBox2.Text

And It tell This Error

Operator '&' is not defined for types 'System.Drawing.StringFormat' and 'String'.

Why "&" is caught in function but it seperate from "()"
First And
My Code Is Very Long
Thank For Help

Sorry I Found My Problem After Posting Astonishing
Thank For Seeing

Please mark this thread as solved if you have found an answer to your question and good luck!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.