Picture Box Variable Usage?? *Answered*
Morning ladies, gentlemen, small children, pets and UDP packets.
I have been looking around for a few days and still unable to find the meaning to life. Maybe i have been asking the wrong question but who knows. If someone could answer it for me, I would greatly appreciate it and be able to live in a state of ahh knowing such knowledge
Mostly i am wondering about using a variable declared as a picturebox variable. I was wondering if its possible to declare said variable and not use an actual picture box item to work with the picture?
For Example:
VB Code:
Dim Picture1Temp As PictureBox
Dim picture2Temp As PictureBox
picture2Temp.Picture = LoadPicture(sDir & sFileName)
the above code doesn't quite work when you go to load the picture you get the error . .
Number: 91
Object variable or with block variable not set.
Now i know i am just overlooking something obvious, i don't normally work with graphics much and have been running a fever for 2 days, so needless to say, ye old brain is taking a vacation without me. Thanks much in advance for any assistance.