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
Save files with extension .vdf
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Save files with extension .vdf
The Vensim DLL should not delete the files when it ends.
Is the Java code deleting the files?
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Save files with extension .vdf
The multicontext dll will delete files on closure, if the wantcleanup flag is set to a nonzero value when you call VensimContextAdd.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Save files with extension .vdf
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
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