May 28th, 2013, 05:54 AM
Can i make 2 instances of the same datareport?
i'm working with datarepots on VB6, and the system offers many ways to show the listview. So, for each listview model, i need to align and resize all the objects again.
I was thinking about create some instances of the same datareport, and resize all objects without modify all the rest of the instances.
i'm trying like the code:
dim obj(2) as DataReport1
set obj(0) = New DataReport1
set obj(1) = New DataReport1
But, when i try to run the code... i receive a exception, and my VS close.
The exception is about win32 5504.
More 1 question... is possible to reset all the objects positions in the runtime?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.