dim xpic as image dim image as new bitmapimage dim imagepath as string = "c:\users\public\pictures\sample pictures\desert.jpg" image.begininit() image.urisource = new uri(imagepath, urikind.absolute) image.end() xpic.source = image
my problame is this:
xpic.source = imagegives an error that says "variable 'xpic' is used before it has been assigned a value."
what am i donig wrong?

New Topic/Question
Reply



MultiQuote



|