You should use Path.Combine()
when dealing with string paths, You can do this as follows:
Image.Image = Image.FromFile(Path.Combine(MYSTRING, "image.png"))
More Related Contents:
- VB: Unhandled exception [duplicate]
- First time execution was not stopped
- OleDbException was unhandled…….Syntax error in UPDATE statement
- How To Get Control Property by “String Name”?
- .NET Core doesn’t know about Windows 1252, how to fix?
- (OrElse and Or) and (AndAlso and And) – When to use?
- Differences Between vbLf, vbCrLf & vbCr Constants
- Webpage works in IE, Chrome and Firefox, but not when using the .NET WebBrowser control
- Difference between DirectCast() and CType() in VB.NET
- Write text files without Byte Order Mark (BOM)?
- handling dbnull data in vb.net
- How can I get the WebClient to use Cookies?
- Select Case True
- .DrawImage with opacity?
- IsNothing versus Is Nothing
- AES Encrypt String in VB.NET
- How to POST a JSON to a specific url using VB.NET?
- Get a list of all files inside of a directory in vb.net
- ByVal and ByRef with reference type
- Control array in VB.NET
- How to Save/Reload data in vb.net after .exe close?
- Should I use Call keyword in VB/VBA?
- Crossthread operation not valid… – VB.NET
- Casting a boolean to an integer returns -1 for true?
- Run batch file in vb.net?
- Vb.net Random Number generator generating same number many times
- Is there an easy way to randomize a list in VB.NET?
- Progress Bar and Background Worker
- How to run DOS/CMD/Command Prompt commands from VB.NET?
- VB6 to VB.net conversion [closed]