Error "Method:[CreateInstance]" when running report in designer
Posted: Fri Mar 23, 2007 7:25 am
Hi!
I create a solution in visual studio 2005 as ActiveX component dll that has 2 interfaces, the first one displays the report and the second runs the report in the designer.
In addition I create an application in VB 6.0 where i use to test the report from the ActiveX component
In the application I use the second inteface to run a report in the design but unfortunately, I get a message "Method:[CreateInstance]" when clicking the preview tab.
I know that my defined class named "GLOwnerCollection" causes the error but I do not know how to solve the problem.
Here is a source in c# and in VB6.0
http://www.megaupload.com/?d=H5VDKHNU
Any help would be appreciated
Thanks
I create a solution in visual studio 2005 as ActiveX component dll that has 2 interfaces, the first one displays the report and the second runs the report in the designer.
In addition I create an application in VB 6.0 where i use to test the report from the ActiveX component
In the application I use the second inteface to run a report in the design but unfortunately, I get a message "Method:[CreateInstance]" when clicking the preview tab.
I know that my defined class named "GLOwnerCollection" causes the error but I do not know how to solve the problem.
Here is a source in c# and in VB6.0
http://www.megaupload.com/?d=H5VDKHNU
Any help would be appreciated
Thanks