Search found 35 matches

by maxin454
Tue Sep 13, 2011 3:13 am
Forum: Vensim
Topic: Lookup Table
Replies: 5
Views: 5406

Re: Lookup Table

Dear Administrator,

Thanks again. I've sent an email to you.

maxin
by maxin454
Sat Sep 10, 2011 7:55 pm
Forum: Vensim
Topic: Lookup Table
Replies: 5
Views: 5406

Re: Lookup Table

Another observation, if the vensim DSS is installed, the lookup tables all appear in front of the main screen, in both Windows 7 and XP environment.

maxin
by maxin454
Sat Sep 10, 2011 6:57 pm
Forum: Vensim
Topic: Lookup Table
Replies: 5
Views: 5406

Re: Lookup Table

Hi. Yes, it does not seem to work. The vensim manual mentioned this command does not work in java environment? However I observed an interesting behavior and let me describe it to you. On Windows 7 machine, when open my application (.vpa) for the first time, a .jar (caller) will be extrated. The mai...
by maxin454
Sat Sep 10, 2011 4:49 pm
Forum: Vensim
Topic: Lookup Table
Replies: 5
Views: 5406

Lookup Table

Hi. When I invoke a lookup table for the first time after starting a java vensim application, the table appears behind all other windows currently opened. However, after the first time, the table will be opened in the front, which is what I want. Is there a way to set the lookup pop-up windows alway...
by maxin454
Fri Sep 09, 2011 9:45 pm
Forum: Vensim
Topic: model reader
Replies: 5
Views: 4420

Re: model reader

Yes, I know that. The application is in the form of .vpa. Most of the users run the application using model reader with no problem, because the error message never comes out when they install. And the installation is usually fairly easy, people just click through it. Just one user, when installing t...
by maxin454
Fri Sep 09, 2011 1:13 pm
Forum: Vensim
Topic: model reader
Replies: 5
Views: 4420

Re: model reader

Thanks. That's what I thought. The dll will automatically go to C:\Windows\System32 in 32 bit system no matter where you choose to install main program and supporting files. The error message appears in the end of the installation process, and it did prevent my all application from running normally....
by maxin454
Fri Sep 09, 2011 11:18 am
Forum: Vensim
Topic: model reader
Replies: 5
Views: 4420

model reader

Hi. I have a question regarding to vensim model reader installation. Is the VenDLL32.dll installed automatically into a pre-defined destination? During the installation process, it will ask two installation directories, one for the main program and the other for the supporting files. I'm assuming I ...
by maxin454
Wed Aug 24, 2011 12:29 pm
Forum: Vensim
Topic: DLL
Replies: 3
Views: 3855

Re: DLL

Thanks, Tony. I forgot to mention that if I package it as .vpa file, the vensim model reader can open the application successfully. Later on I found a way to package the application as a .jar file (I found it more clean compared with .vpa method because only one .jar appears on users' machines inste...
by maxin454
Wed Aug 24, 2011 2:08 am
Forum: Vensim
Topic: Sending Password Through Vensim Command
Replies: 4
Views: 4189

Re: Sending Password Through Vensim Command

When I publish .vpa, I unticked "Readable by" for DSS, Runtime, Model Reader. The .vpa file cannot be opened. Am I missing something? Thanks.
by maxin454
Wed Aug 24, 2011 1:48 am
Forum: Vensim
Topic: DLL
Replies: 3
Views: 3855

DLL

Hi. I've developed a java application using Vensim DLL. I packaged the application as a .jar file which includes the vensim model. When you run the .jar file, the vensim model will be extracted to the same directory so that the model can be exercised via my application. The .jar file works fine on m...
by maxin454
Tue Aug 16, 2011 2:22 pm
Forum: Vensim
Topic: Sending Password Through Vensim Command
Replies: 4
Views: 4189

Re: Sending Password Through Vensim Command

Thanks for your prompt reply. Also, there's one thing I would like to confirm. Is it true that if I give users .vpa file, then they won't be able to see the underlying model, i.e., they can exercise the application but cannot see the structure/equations of the model? Thanks.

maxin
by maxin454
Tue Aug 16, 2011 3:16 am
Forum: Vensim
Topic: Sending Password Through Vensim Command
Replies: 4
Views: 4189

Sending Password Through Vensim Command

Hi. I have developed a java interface for my vensim model (using DLL). I want the model to be password protected. I'm wondering if there is a way to send the password through the java code directly so that the vensim "enter password" pop-up window won't show when opening the interface. In ...
by maxin454
Sun Jul 24, 2011 4:27 pm
Forum: Vensim
Topic: GET XLS Function
Replies: 5
Views: 4743

Re: GET XLS Function

I have Vensim DSS 5.7a and I do not find GET DIRECT DATA function in it. Is the fuction a recent update? Thanks.

maxin
by maxin454
Sun Jul 24, 2011 3:30 pm
Forum: Vensim
Topic: GET XLS Function
Replies: 5
Views: 4743

Re: GET XLS Function

Thanks, Tony. But somehow I cannot locate GET DIRECT DATA function in the manual. Could you direct me to the right spot?

maxin
by maxin454
Sat Jul 23, 2011 5:05 pm
Forum: Vensim
Topic: GET XLS Function
Replies: 5
Views: 4743

GET XLS Function

I use GET XLS function in my vensim model to import data from an external excel spreadsheet. When running the model, the excel spreadsheet also opens up automatically. I'm wondering if there is a way to "NOT" auto run the excel spreadsheet when running the vensim model? Thank you.

maxin
by maxin454
Mon Apr 11, 2011 10:37 pm
Forum: Vensim
Topic: 32 bit or 64 bit
Replies: 1
Views: 2419

32 bit or 64 bit

Hi. I am wondering if vensim dll works with 64 bit machine (windows 7). I have a java application for vensim model and it does not seem to work if I install java 64 bit, however it works if I install java 32 bit. So, my question is 1. is there a 64 bit version of DLL? 2. if not, then is it true that...
by maxin454
Tue Mar 29, 2011 7:59 pm
Forum: Vensim
Topic: Directory for VDF File
Replies: 2
Views: 2974

Re: Directory for VDF File

Thank you.
by maxin454
Mon Mar 28, 2011 5:16 pm
Forum: Vensim
Topic: Directory for VDF File
Replies: 2
Views: 2974

Directory for VDF File

Hi. Can I change the directory where the .vdf can be generated after each run? In specific, currently, the vdf files are generated in the same directory as my vensim model. I would like to organize these vdf files in a specific directory. Am I able to do that? If so, how to do that? Thanks. maxin
by maxin454
Mon Nov 22, 2010 2:16 pm
Forum: Vensim
Topic: Application Distribution
Replies: 6
Views: 7722

Thanks, Bob.

I developed the java application on Windows 7 (64 bit). And I tested both on that machine and a machine with Windows XP.

Bob, is my "not writing the path of the model in the java application" correct for the distribution purpose?

Many thanks.
by maxin454
Mon Nov 22, 2010 4:00 am
Forum: Vensim
Topic: Application Distribution
Replies: 6
Views: 7722

Thank you, both Tony and Bob. First, I tried Tony's method to run the java application and it did not work. Let me try to explain my questions in more details (I apologize if it seems long, just try to record every step I did). Step 1: I created a java application to control my model using "ven...
by maxin454
Sun Nov 21, 2010 2:18 am
Forum: Vensim
Topic: Application Distribution
Replies: 6
Views: 7722

Application Distribution

Hello, I have created a java application, app.jar, which calls VenDLL32.dll. I'm preparing to distribute it to some users, who have installed Vensim Model Reader. I tried to create a .vpa file which contains the application file (.jar), the model file (.vpm), and some data file (.vdf). When I try to...
by maxin454
Fri Nov 05, 2010 7:13 pm
Forum: Vensim
Topic: MODTABLE
Replies: 5
Views: 4708

That's too bad. It would be a plus if I could utilize those tools.

But, thanks again, Tom.

maxin
by maxin454
Thu Nov 04, 2010 12:04 am
Forum: Vensim
Topic: MODTABLE
Replies: 5
Views: 4708

Thank you, both Tony and Tom. That really helps a lot.

I have another question and hope you could help to answer. In Venapp, I can use Causes Tree, Sketch (viewing my model structure), and Graph function. Is there way to utilize these functions as well in my java application?

Thanks again.

maxin
by maxin454
Tue Nov 02, 2010 2:53 am
Forum: Vensim
Topic: MODTABLE
Replies: 5
Views: 4708

MODTABLE

Hi. I'm trying to use vensim DLL to control the model on my java application. I am wondering how can I control a lookup table using dll. I want the function something like MODTABLE in Venapp. If anyone could help to answer this, I would really appreciate it. Thanks.
by maxin454
Fri Oct 01, 2010 12:46 am
Forum: Vensim
Topic: Venapp Questions
Replies: 11
Views: 8342

Thank you very much, Bob.