Search found 19 matches
- Thu Mar 21, 2013 2:38 pm
- Forum: Vensim
- Topic: How to get the List of dataset loaded for simulation
- Replies: 4
- Views: 4720
Re: How to get the List of dataset loaded for simulation
thanks alot for your help
- Thu Mar 21, 2013 1:34 pm
- Forum: Vensim
- Topic: How to get the List of dataset loaded for simulation
- Replies: 4
- Views: 4720
Re: How to get the List of dataset loaded for simulation
Thanks very much.
I am having a difficulty on how to call the vensim_get_info function especially on how to supply the variable(s) to the function.
Below is my sample code
I am having a difficulty on how to call the vensim_get_info function especially on how to supply the variable(s) to the function.
Below is my sample code
Code: Select all
Dim testresult As Object
Dim testbuf As String = ""
testresult = vensim_get_info(10, testbuf, 500)
- Thu Mar 21, 2013 10:42 am
- Forum: Vensim
- Topic: How to get the List of dataset loaded for simulation
- Replies: 4
- Views: 4720
How to get the List of dataset loaded for simulation
Hi All, I am using MENU>LOAD_RUN|? in a vb.net program to open the dialog box to load the datasets. Below is the sample Vb.net code I used Dim result As Object result = vensim_command("MENU>LOAD_RUN|?") I want to know how to get the (names or counts)of the list of loaded datasets for the s...
- Sat Mar 09, 2013 3:11 pm
- Forum: Vensim
- Topic: How to use the SETTING> comand to get the Initial Time
- Replies: 2
- Views: 3693
Re: How to use the SETTING> comand to get the Initial Time
thanks a lot. it worked
- Fri Mar 08, 2013 3:35 pm
- Forum: Vensim
- Topic: How to use the SETTING> comand to get the Initial Time
- Replies: 2
- Views: 3693
How to use the SETTING> comand to get the Initial Time
Hi All,
I am using vensim version 5.10e dll in visual basic. How do i use the Vensim SETTING> command to get the Initial Time and the Final Time and also how to set a new value for both the Initial Time and the Final Time.
Thanks.
I am using vensim version 5.10e dll in visual basic. How do i use the Vensim SETTING> command to get the Initial Time and the Final Time and also how to set a new value for both the Initial Time and the Final Time.
Thanks.
- Wed Jul 27, 2011 10:14 am
- Forum: Vensim
- Topic: help with vensim_get_data in visual studio 2008
- Replies: 5
- Views: 7204
Re: help with vensim_get_data in visual studio 2008
So what happens, does the vensim_get_data command work ok? Does it retrieve the values for you? Thanks so much for your help. I finally got the vensim_get_data to work. i tested it by collecting the data to a listbox. Below is the sample in Vb2008 that i used Private Sub Command2_Click(ByVal eventS...
- Tue Jul 26, 2011 1:34 pm
- Forum: Vensim
- Topic: How to get the name of the Run in visual studio 2008
- Replies: 5
- Views: 5852
Re: How to get the name of the Run in visual studio 2008
ok, use the vensim_get_info function, you can get the list of loaded runs using that. Hi, Can you help me with the use of the vensim_get_info? When i tried the code below, a value of 22 is displayed in the textbox . Private Sub cmdInfo_Click(ByVal sender As System.Object, ByVal e As System.EventArg...
- Tue Jul 26, 2011 11:30 am
- Forum: Vensim
- Topic: help with vensim_get_data in visual studio 2008
- Replies: 5
- Views: 7204
Re: help with vensim_get_data in visual studio 2008
So is vensim_get_data working for you? The C++ example that ships with Vensim uses it to get data from runs, have you tried compiling and running that? Hi, I am having a problem with the vesnim_get_data. I am not into C++ but rather VB. So i compiled the vb example that was shipped with vensim. sin...
- Tue Jul 26, 2011 11:11 am
- Forum: Vensim
- Topic: How to get the name of the Run in visual studio 2008
- Replies: 5
- Views: 5852
Re: How to get the name of the Run in visual studio 2008
How are you creating the runs? If you are using a FileOpenDialog, just store the filenames returned from that. Or if you want all .VDF files in a directory, there are plenty of free code examples on the web showing how to do that. Hi, On my interface, I have a button which uses "vensim_command...
- Mon Jul 25, 2011 4:33 pm
- Forum: Vensim
- Topic: How to get the name of the Run in visual studio 2008
- Replies: 5
- Views: 5852
How to get the name of the Run in visual studio 2008
Hi;
I want to be able to get the names of the Runs that I create during simulation.
Is there a way to get the run names of the simulation runs?
Help

I want to be able to get the names of the Runs that I create during simulation.
Is there a way to get the run names of the simulation runs?
Help


- Mon Jul 25, 2011 3:28 pm
- Forum: Vensim
- Topic: help with vensim_get_data in visual studio 2008
- Replies: 5
- Views: 7204
help with vensim_get_data in visual studio 2008
Hi, I need to display all the variable data after simulation. Output the result of the vensim_get_data to say listbox or Datagrid. the final result of what i need to do is to display the data for each variable in a tabular form for each run. In the long run, I will like to use these data to plot gra...
- Mon Jul 04, 2011 3:28 pm
- Forum: Vensim
- Topic: redistribution vensim application developed in VB2008
- Replies: 1
- Views: 2750
redistribution vensim application developed in VB2008
Hi, I am using vesim 5.10e DSS Commercial license. I have developed a user interface in vb2008 for my vesim model. I deployed the user interface on another machine with the VenDLL32.dll file . When i run the application i received a message that i should reinstall vensim. The application of works on...
- Mon Jul 04, 2011 1:51 pm
- Forum: Vensim
- Topic: trackbar to change vensim Constant variabl in Visual Studio
- Replies: 5
- Views: 6060
Re: trackbar to change vensim Constant variabl in Visual Stu
it worked
thanks
thanks

- Tue Jun 28, 2011 5:31 pm
- Forum: Vensim
- Topic: trackbar to change vensim Constant variabl in Visual Studio
- Replies: 5
- Views: 6060
Re: trackbar to change vensim Constant variabl in Visual Stu
Thanks Tom,
unfortunately, I am not a vb guru either and eventhough i believe your suggestion would work, I have no idea on how to do that.
Can someone help me with a working vb code?
unfortunately, I am not a vb guru either and eventhough i believe your suggestion would work, I have no idea on how to do that.
Can someone help me with a working vb code?

- Tue Jun 28, 2011 2:30 pm
- Forum: Sable
- Topic: How to enter a run name in edit box for a simulation
- Replies: 6
- Views: 33305
Re: How to enter a run name in edit box for a simulation
great that works
thanks
thanks

- Tue Jun 28, 2011 12:43 pm
- Forum: Vensim
- Topic: trackbar to change vensim Constant variabl in Visual Studio
- Replies: 5
- Views: 6060
trackbar to change vensim Constant variabl in Visual Studio
Hi, I am trying to programme in Visual Studio 2008. I am trying to change vensim Constant variable value using trackbar control in Visual Studio 2008. I have assigned the maximum, minimum and the tick frequency to the trackbar control. When i run the code and use the trackbar control, the values cha...
- Fri Jun 10, 2011 10:07 am
- Forum: Sable
- Topic: How to enter a run name in edit box for a simulation
- Replies: 6
- Views: 33305
How to enter a run name in edit box for a simulation
Hi I am new to vensim and sable. I am designing an interface in sable and I have added a button and an edit box. What i want to do is that I want to enter the run name in the edit box and when i click on the button, the simulation is run and the text in the edit box is saved as the run name. I also ...
- Thu Jun 09, 2011 11:08 pm
- Forum: Vensim
- Topic: How to call Vensim 5.4c DLL in VB2008 professional
- Replies: 3
- Views: 4114
Re: How to call Vensim 5.4c DLL in VB2008 professional
I copied the sample vb6 code to the vb2008 but there seems to be something wrong with e code. Below is the code "Private Declare Function vensim_be_quiet Lib "vendll32.dll" (ByVal quietflag As Long) As Long" Could you please help me with this code and also where shld the vendll32...
- Thu Jun 09, 2011 1:03 am
- Forum: Vensim
- Topic: How to call Vensim 5.4c DLL in VB2008 professional
- Replies: 3
- Views: 4114
How to call Vensim 5.4c DLL in VB2008 professional
Hi to all,
I am using vensim 5.4c and I want to call the dll in vb 2008 but am unable to find my way around. please help.
Thanks
I am using vensim 5.4c and I want to call the dll in vb 2008 but am unable to find my way around. please help.
Thanks