Problem in DAT2VDF of version 5.11

Use this forum to post Vensim related questions.
Post Reply
tedliu
Junior Member
Posts: 6
Joined: Mon Jul 23, 2007 7:10 am

Problem in DAT2VDF of version 5.11

Post by tedliu »

Hello,
I wrote a program to call vendll32.dll with VB6.
It worked when the version of vendll32.dll is 5.8.
After I upgraded it to version 5.11.
It stoped at DAT2VDF command
Is there any change for this command in new version?
Here is my code.
Pls help to fix this problem.
Thanks

Code: Select all

Result = vensim_command("MENU>DAT2VDF|Baseline.dat|Baseline.vdf")
in the version 5.11. the value of Result is 0 which mean it fail.
Administrator
Super Administrator
Posts: 4838
Joined: Wed Mar 05, 2003 3:10 am

Re: Problem in DAT2VDF of version 5.11

Post by Administrator »

Do you get any errors when you convert the dataset in vensim itself?
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: 3995
Joined: Wed May 24, 2006 4:54 am

Re: Problem in DAT2VDF of version 5.11

Post by tomfid »

Are you using 5.11a? There was a problem (briefly) in one earlier version.

Can you describe the problem?
tedliu
Junior Member
Posts: 6
Joined: Mon Jul 23, 2007 7:10 am

Re: Problem in DAT2VDF of version 5.11

Post by tedliu »

Hi
No error when I convert the dataset in vensim itself.
I have upload the dataset here.
The version of Vensim is 5.11. not 5.11a.
I am still trying to figure out where the problem came from.
The OS is WinXP but in a virtual system (VirtualBox).
But I don't have this kind of problem when I have old version.
If this is not a common problem, then I have to do more check in my VB program.
tedliu
Junior Member
Posts: 6
Joined: Mon Jul 23, 2007 7:10 am

Re: Problem in DAT2VDF of version 5.11

Post by tedliu »

Hi
After I reinstall to version 5.10e
The problem solved.
Can I think it is the bug of version 5.11?
tomfid
Administrator
Posts: 3995
Joined: Wed May 24, 2006 4:54 am

Re: Problem in DAT2VDF of version 5.11

Post by tomfid »

Correct - the problem was introduced in 5.11 and is now fixed in 6.0.
Post Reply