-
How do you use VB's create object Function, I want to know if I can use it to create a picturebox inside a class module so I can use some of it's methods, eg it's scaleX and scaleY functions from inside a class module without having a picturebox passed in.
Does anyone know ?
-
Hello Sam!
Once my email is up again, I will send you a sample of CreateObject, GetObject, and DDE.
Maybe, I am missing something here but inside the class module, can't you declare your variable as a picturebox?
-
Code:
Dim MyPic as object
set mypic = createobject("VB.PictureBox")
I think this should do the trick, but dont quote me on it.