I have a Long variable called ImageName that can go anywhere from 0 to infinity. It works with the following code that is designated to make a new image:
Set myImage = FormName.Controls.Add("VB.image", ImageName)
There is one problem though; ImageName must be a string, therefore an error is present if it is a Long. So basically, my question is, how can I do it so ImageName is a long?