C
Colin McGuire
Sorry to ask a simple question on syntax but the line inside the
subroutine "assignBitmapArray" won't compile giving me an "Expression
Expected" error. What is the correct syntax to initialize an array of
Objects/Bitmaps?
Thank you
Colin
Public Structure testStruct
Dim testBitmap() As Bitmap
End Structure
Dim globalStruct As testStruct
Private Sub assignBitmapArray
globalStruct.testBitmap = {new Bitmap("c:\tb\WApp01\flower023.bmp")}
End Sub
subroutine "assignBitmapArray" won't compile giving me an "Expression
Expected" error. What is the correct syntax to initialize an array of
Objects/Bitmaps?
Thank you
Colin
Public Structure testStruct
Dim testBitmap() As Bitmap
End Structure
Dim globalStruct As testStruct
Private Sub assignBitmapArray
globalStruct.testBitmap = {new Bitmap("c:\tb\WApp01\flower023.bmp")}
End Sub