Save files with extension .vdf

Use this forum to post Vensim related questions.
Post Reply
siafu
Member
Posts: 21
Joined: Sat Nov 20, 2010 9:47 am

Save files with extension .vdf

Post by siafu »

Hello,

Performed simulations from a web application with java and I need to keep
files with extension. vdf that are created to simulate.
The problem I have is that when I close the application these files me
disappear. I have to do to get a particular store

Thanks
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: Save files with extension .vdf

Post by Administrator »

The Vensim DLL should not delete the files when it ends.

Is the Java code deleting the files?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: Save files with extension .vdf

Post by tomfid »

The multicontext dll will delete files on closure, if the wantcleanup flag is set to a nonzero value when you call VensimContextAdd.
siafu
Member
Posts: 21
Joined: Sat Nov 20, 2010 9:47 am

Re: Save files with extension .vdf

Post by siafu »

I was wrong, not erased, so good.

Now the problem is to overwrite the files, I mean, do a simulation with a thread 1 and I saved the file here: ctxt0001, but if I do another simulation overwrites the old file and do not want to overwrite it, I have to put do not

Thanks again
Post Reply