How can I check to see if an object has been set or not?
I have this code in my form, that relates to a class (I can post if needed), but if the object has already been set I obviously get an error.
I just don't know how to check before I run this code.Code:Set oPic = New CMDIPicture 'The Init method takes the MDI form and a standard picture object 'as argument. Instead of LoadPicture you can pass the Picture property of 'any PictureBox or Image control or Load an image from a resource file. oPic.Init MDIMain, LoadPicture(App.Path & "\Image.jpg")


Reply With Quote
