| |
ActiveSizer Support
Started by Yesugey at 07-28-2008 2:53 AM. Topic has 8 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
07-28-2008, 5:47 AM
|
Andrey - DD
Joined on 08-01-2007
Russia, Novosibirsk
Posts 561

|
|
|
Yesugey,
In order to use DynamiCube3 with VS2005 you should nstall DynamiCube 3.0 Primary Interop Assembly first.
This KB article should be helpful:
http://www.datadynamics.com/forums/97491/ShowPost.aspx
Also, I've attached a simple sample which shows how to use DynamiCube3 in VB 2005.
Install DynamiCube 3.3.0.1215, install DynamiCube primary interop assembly and open this sampple in VB 2005.
Thank you,
Andrey T.
|
|
|
|
|
Report
|
|
|
|
07-28-2008, 10:43 AM
|
Andrey - DD
Joined on 08-01-2007
Russia, Novosibirsk
Posts 561

|
|
|
Yesugey,
I've updated the sample and now it uses DynamiCube's interop assembly
(using DataDynamics.DynamiCube.Interop;). Sample works fine for me now. Please see the attachment.
Thank you,
Andrey T.
|
|
|
|
|
Report
|
|
|
|
07-29-2008, 5:07 AM
|
Andrey - DD
Joined on 08-01-2007
Russia, Novosibirsk
Posts 561

|
Re: oField gives NullReferenceException
Attachment: dcUtil.zip
|
|
|
|
|
Yesugey,
I recommend you to take the following steps:
Uninstall DynamiCube3 from your system, make sure all instances of DCube3.ocx and DynamiCube.Interop.dll are deleted.
Install the latest DynamiCube3 3.3.0.1215 build again.
Install the DynamiCube 3.0 Primary Interop Assembly in the global assembly cache (GAC):
http://www.datadynamics.com/forums/97491/ShowPost.aspx
(Unzip the attached file to C:\Program Files\Data Dynamics\DynamiCube3 (where DynamiCube.Interop.dll and Install DynamiCube Primary Interop Assembly.bat files are located) and run .bat file again.)
Run Visual Studio 2005 and open sample.
Thank you,
Andrey T.
|
|
|
|
|
Report
|
|
|
|
07-30-2008, 7:48 AM
|
Yesugey

Joined on 07-28-2008
Turkiye
Posts 8
|
|
|
|
Hi again Andrey;
I cleaned old versions of DynaCube, installed it again. Also installed Global Assembly Cache.
And i noticed you attacked 2 .exe files in your last post, i executed them too. Now i building your sample, i getting this new error:
Maybe i did not implemented your sample well, but my boss intalled DynaCube again on his computer also, and we getting both same errors.
What we do wrong to take same errors on two different computers? I bet it is about our dll references, but i need your opinion.
|
|
|
|
|
Report
|
|
|
|
07-30-2008, 11:15 AM
|
ericc
Joined on 03-01-2005
Posts 1,857

|
Re: oField gives NullReferenceException
|
|
|
|
|
|
|
|
07-31-2008, 3:30 AM
|
Yesugey

Joined on 07-28-2008
Turkiye
Posts 8
|
Re: oField gives NullReferenceException
|
|
|
|
|
|
Hi ericc;
I always tried to add the DynaCube Reference, from "COM Components". Today i just selected "Browse", and found "DynamiCube.Interop.dll" on the Common Files. So now i managed to run the Andrey's sample. Thanks for your and Andreyy's help :)
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Product Support » ActiveSizer Sup... » Re: oField gives NullReferenceException
|
|
|
|
|