Search found 15 matches

by newbie
Wed Mar 04, 2009 7:42 pm
Forum: Vensim
Topic: How to access subscripts control dialog in VenApp?
Replies: 7
Views: 5002

Hi Bob, Thanks for the update. I tried this command and it works fine and brings up the Projects subscript window. string strVensimCommand = "SPECIAL>SUBSCRIPT|PROJECTS|?,"; Now, if I want to set the value of the subscript PROJECTS then how can I do that? In the model, Projects is defined ...
by newbie
Tue Mar 03, 2009 8:03 pm
Forum: Vensim
Topic: How to access subscripts control dialog in VenApp?
Replies: 7
Views: 5002

Hi Bob,

Just wanted to get an update from you regarding this fix as you had mentioned earlier. I have downloaded the last release 5.8d, but the issue still exists. Could you please check and let me know.

Thanks.
by newbie
Fri Jan 09, 2009 5:42 pm
Forum: Vensim
Topic: Excel VBA crashing
Replies: 15
Views: 10313

Okay I figured that one out. Works just fine. Dim strVensimVarName As String * 128 Do While (bExitLoop = False) strVensimVarName = "" nResult = vensim_get_substring(Buf(1), nFromPosition, strVensimVarName, 100) If (nResult <> 0) Then nFromPosition = nFromPosition + nResult ComboBox1.AddIte...
by newbie
Wed Jan 07, 2009 9:12 pm
Forum: Vensim
Topic: Excel VBA crashing
Replies: 15
Views: 10313

I am having similar issues with vensim_get_substring function call. So, I changed the definition similar to vensim_get_varnames to Public Declare Function vensim_get_substring Lib "vendll32.dll" (ByVal fullstring$, ByVal frompos As Long, Buf As Byte, ByVal maxbuflen As Long) As Long Do Whi...
by newbie
Mon Jan 05, 2009 5:40 pm
Forum: Vensim
Topic: How to access subscripts control dialog in VenApp?
Replies: 7
Views: 5002

I have tried using that but it doesn't work.
by newbie
Fri Jan 02, 2009 10:04 pm
Forum: Vensim
Topic: How to access subscripts control dialog in VenApp?
Replies: 7
Views: 5002

How to access subscripts control dialog in VenApp?

Hi,

I am trying to build a VenApp where the user can update the range for one of the subscripts. How can I do this?

Thanks,
by newbie
Wed Dec 31, 2008 8:20 pm
Forum: Vensim
Topic: Excel VBA crashing
Replies: 15
Views: 10313

Yep, that worked. Thanks Bob.
by newbie
Wed Dec 17, 2008 10:06 pm
Forum: Vensim
Topic: Excel VBA crashing
Replies: 15
Views: 10313

Well, I get "ByRef argument type mismatch" compile error. Private Declare Function vensim_get_varnames Lib "vendll32.dll" (ByVal filter$, ByVal vartype As Long, Buf As Byte, ByVal maxbuflen As Long) As Long Dim Buf() As Byte sFilter = "*" nMaxStringLen = vensim_get_varn...
by newbie
Tue Dec 16, 2008 5:19 pm
Forum: Vensim
Topic: Excel VBA crashing
Replies: 15
Views: 10313

Hi Bob, Sorry got side tracked on another project work. Anyways, I tried that and it doesn't seem to work either. It is expecting an array due to this declaration Private Declare Function vensim_get_varnames Lib "vendll32.dll" (ByVal filter$, ByVal vartype As Long, Buf() As Byte, ByVal max...
by newbie
Thu Dec 04, 2008 5:24 pm
Forum: Vensim
Topic: Excel VBA crashing
Replies: 15
Views: 10313

Bob, Still running into the same issue with changed code. Private Declare Function vensim_get_varnames Lib "vendll32.dll" (ByVal filter$, ByVal vartype As Long, Buf() As Byte, ByVal maxbuflen As Long) As Long Dim Buf() As Byte sFilter = "*" nMaxStringLen = vensim_get_varnames(sFi...
by newbie
Tue Dec 02, 2008 11:02 pm
Forum: Vensim
Topic: Excel VBA crashing
Replies: 15
Views: 10313

Thanks Bob. I'll try it out.
by newbie
Tue Nov 25, 2008 10:08 pm
Forum: Vensim
Topic: Excel VBA crashing
Replies: 15
Views: 10313

Excel VBA crashing

Hi everybody. I have a Excel workbook that loads and runs the Vensim model perfectly fine. When I am trying to call the variables the vensim doesn't seem to like something and it crashes Excel without throwing any error. Here's piece of code that I'm running in Excel. The first vensim_get_varnames c...
by newbie
Mon Aug 25, 2008 3:27 pm
Forum: Vensim
Topic: which version is right for me?
Replies: 4
Views: 3190

Is there anyway to port a license from one computer to another?
by newbie
Mon Aug 25, 2008 3:13 pm
Forum: Vensim
Topic: which version is right for me?
Replies: 4
Views: 3190

Hi Bob, Thanks for the reply. I am currently inheriting a model build by someone else, need to get upto speed and figure out some of the issues mentioned above asap. The model was built using the free eval version. Now, the task come onto me to continue working on the model and add these functionali...
by newbie
Fri Aug 22, 2008 3:36 pm
Forum: Vensim
Topic: which version is right for me?
Replies: 4
Views: 3190

which version is right for me?

Hi, I am relatively new to VenSim and systems dynamics. I am currently working on project that needs some systems dynamics modeling and Vensim is one of the products we are looking at. Some of the main functionality we would want in the tool are: 1. ability to import/export to excel 2. ability to us...