Search found 7 matches

by Pierre
Wed Sep 29, 2010 9:43 am
Forum: Vensim
Topic: vensim and vb6
Replies: 8
Views: 7237

Thanks Bob!

I am currently using Vensim 5.7. Once I have compared my results in Excel using the function vensim_get_data, if the result isn't good enough I relaunch a run using a command script but the run stops and Vensim asks me to choose another vdf file (with a openfile dialog box).

Pierre
by Pierre
Wed Sep 29, 2010 8:17 am
Forum: Vensim
Topic: vensim and vb6
Replies: 8
Views: 7237

Hi everybody ! I think I am encountering the same problem as in the previous message. I am using the function vensim_get_data() to read the .vdf file in an Excel/VBA workbook and according to the result, I may need to run my model with the same vdf name. However, this is impossible as the file .vdf ...
by Pierre
Wed Apr 29, 2009 8:26 am
Forum: Vensim
Topic: Warnings suppressed
Replies: 3
Views: 3912

Warnings suppressed

Hi, When I launch a simulation in Vensim, I've got some warnings with the messages "similar warnings suppressed for additional variables" during the SETUP and "data range warnings suppressed for additional variables" during the SIMULATION. I would like to have the complete list o...
by Pierre
Tue Nov 25, 2008 10:20 am
Forum: Vensim
Topic: Floating point overflow problem
Replies: 7
Views: 7679

I am using an external function library, but if I include it when I publish my model, when I launch the .vpm generated I get the error message : "external function version mismatch need version 400 (got 401)". Message that I do not get if I simulate from the .mdl file. If I don't include t...
by Pierre
Mon Nov 24, 2008 5:58 pm
Forum: Vensim
Topic: Floating point overflow problem
Replies: 7
Views: 7679

Thank you for your answer. I tried to publish my model including my changes files, my data files and also my external dll. When I launch the .vdf run in vensim it works perfectly. So I leave out the READCIN/ADDCIN and DATA/ADDDATA of my VBA code and I tried to launch my published model. But I still ...
by Pierre
Fri Nov 21, 2008 4:07 pm
Forum: Vensim
Topic: Floating point overflow problem
Replies: 7
Views: 7679

Thank you for your answer. But unfortunately I still have the same message.

I don't know if I need to include or not all my changes and datas files when I publish my packaged model (and If I have to extract them). I have tried both, but I always get the same error...
by Pierre
Fri Nov 21, 2008 2:57 pm
Forum: Vensim
Topic: Floating point overflow problem
Replies: 7
Views: 7679

Floating point overflow problem

Hi everybody ! I've got a vensim model (.mdl) that works perfectly when I launch it in Vensim by Model -> Simulate including my changes and data files. I want to launch this model from Excel. So I publish my model in order to obtain a .vpm file and I use the following VBA code : result = vensim_comm...