I have never used Visual Basic 6.0 before. I have used vbscript before.
How do I concatanate a variable into a string in Visual Basic 6.0?
For example...
I have a fuction call where I pass in the path and an image name, The path is always the same, but the image is always a variable.
1. strImage = "someimagename"
2. some function ("C:\somedirectory\strImage.bmp")
how do I write the second line to concatanate the variable to the string, in vbscript it would be something like this...
some function ("C\somedirectory\&strImage&.bmp")
How is this in VB?
Sorry for the dumb question, but I've never done VB but am trying to edit some code.
How do I concatanate a variable into a string in Visual Basic 6.0?
For example...
I have a fuction call where I pass in the path and an image name, The path is always the same, but the image is always a variable.
1. strImage = "someimagename"
2. some function ("C:\somedirectory\strImage.bmp")
how do I write the second line to concatanate the variable to the string, in vbscript it would be something like this...
some function ("C\somedirectory\&strImage&.bmp")
How is this in VB?
Sorry for the dumb question, but I've never done VB but am trying to edit some code.