how to develope vensim with multicontext.dll in the web appl

Use this forum to post Vensim related questions.
Post Reply
lynchyml
Senior Member
Posts: 70
Joined: Wed Aug 26, 2009 8:36 am

how to develope vensim with multicontext.dll in the web appl

Post by lynchyml »

1) we have readed the documents in the chapter 12 of the Vensim DSS Reference Supplement,but we found that
these functions are just for desktop applicaton (cs), not for web application(bs),

such as following codes:
VensimDLLWrapper.vensim_tool_command("WORKBENCH>GRAPH", (long)pictureBox_VensimGraph.Handle, 0);
the path of code: C:\Program Files\Vensim\dll\csharp\VensimDemo\VensimDLLWrapper.cs
//pictureBox_VensimGraph.Handle is windows handle, which is for cs ,not for bs.

2) so our question is:
We have bought multicontext DLL,where we can find the sample codes or manual to develope vensim with multicontext.dll under the web application (bs)?


3) do we need the license to develope vensim with multicontext.dll?

[Edited on 4-21-2010 by lynchyml]
tomfid
Administrator
Posts: 3986
Joined: Wed May 24, 2006 4:54 am

Post by tomfid »

[Edited on 4-22-2010 by tomfid]
lynchyml
Senior Member
Posts: 70
Joined: Wed Aug 26, 2009 8:36 am

Post by lynchyml »

Thank you!

Since we already have multicontext .dll, it might have other use I didn't find out, so I still need your help about multicontext DLL.

[Edited on 4-22-2010 by lynchyml]
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

to use the DLL with a web application you do indeed need the multicontext dll - it is the only product licensed for use in web applications. To develop for that you will also need a license for Vensim DSS.

The multicontext DLL is a silent DLL. As such it does not have any picture output. If you want to display graphs or other items these will need to be created in a product that supports web display of such information. For example something that creates Flash graphics and can be passed through. Usually the graphing is actually done of the client side using Javascript or something similar.
tomfid
Administrator
Posts: 3986
Joined: Wed May 24, 2006 4:54 am

Post by tomfid »

It's also easy to generate graphics by combining php with something like Google charts API.
Post Reply