Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

3dcwgrph.ocx activex

Hello there,

I'm trying to generate a 3d graph from data strored in a database to a web interface.

I added the following code to the html page:

<OBJECT ID="Object1" CLASSID="CLSID:xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" CODEBASE="cw3dgrph.ocx"></OBJECT>

Now I have a page that displays the activex with the 3 axes that can be rotated.

I don't known how to plot data. Can anyone explain me how this is done?

Thanks,

Adao



0 Kudos
Message 1 of 2
(3,182 Views)

Hi

I join the response of the US R&D about the way you have to follow to use activeX cx3dgraph in asp.NET, it can help other customers too.

-----------------------------------

We don't have an ASP.NET version of the 3dGraph , the current version is an ActiveX control. There are ways to use an ActiveX control in ASP.NET, one of them is by adding the following html code to the ASP.NET page
<OBJECT ID="Object1" CLASSID="CLSID:2AFA9F10-0B6A-11D2-A250-00A024D8324D" CODEBASE="cw3dgrph.ocx"></OBJECT>
"object1" is how you would reference the graph. I obtained the classid by viewing the type library of the cw3dgraph.
You can see this link for some info on this
http://p2p.wrox.com/topic.asp?TOPIC_ID=7260
You can then use vbscipt or javascript to manipulate the graph, since now this is a client side control. This is something the customer will need to investigate. If he is deploying the graph application, he will need to distribute the license of the graph via an .lpk file. This is a license pakaage file and there are tools available that help you create this.
With the lpk file, the tag would look like the following.
<OBJECT ID="Object1" CLASSID="CLSID:2AFA9F10-0B6A-11D2-A250-00A024D8324D" CODEBASE="cw3dgrph.ocx">
<PARAM NAME="LPKPath" VALUE="graph.lpk">
</OBJECT>

The customer should also research using ActiveX controls from ASP.NET, since he might have to consider browser security settings and .NET interop to COM controls. There are several resources available online that provide information about this.
-----------------------------------------------------------------------
Can you send me the htmùl page you have created?
kamal
NIF

0 Kudos
Message 2 of 2
(3,158 Views)