I've programmed a routine in VBA (excel) that calls a prg.
I work with EViews 6 running under v4 compatibility and works just fine.
When I run it on my client's computer (EViews 7.2 Enterprise Edition with the latest patch installed today), the routine crashes with an uncontrolled error. Report is attached here. The line that causes the crash should be quite innocuous and similar tables are defined previously, so I don't have any idea of what is going on.
"Table T_S_InvMG_%valor2 = tablaa" (tablaa is another table defined previously)
What is worse, is that I thought maybe the wildcard had something to do with the issue, so I rewrote the line like this "Table T_S_InvMG_{%valor2} = tablaa", but nothing happened, so I tried:
"Table T_S_InvMG_{%valor2}
T_S_InvMG_{%valor2} = tablaa"
AND GUESS WHAT? It worked! BUT, when I tried to run the VBA routine with the shell command, it crashed again AND wouldn't even run from EViews without the shell command.
I'm completely puzzled by this and I need a prompt solution. If this uncontrolled bug needs a patch, I will need a temporary solution at least. I hope you can help me.
Thanks!
EViews 7.2
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13585
- Joined: Tue Sep 16, 2008 5:38 pm
EViews 7.2
Can you confirm the build date of your copy of EViews? You can check it under Help->About EViews.
-
sschaffrath
- Posts: 15
- Joined: Tue Nov 16, 2010 6:05 am
Re: EViews 7.2
20 Jul 2012 -enterprise edition
-
EViews Jason
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: EViews 7.2
We are looking into the issue and will reply to this thread as soon as we have more information
-
sschaffrath
- Posts: 15
- Joined: Tue Nov 16, 2010 6:05 am
Re: EViews 7.2
Thanks.
If you need to talk to someone please give us a call ASAP
If you need to talk to someone please give us a call ASAP
-
EViews Steve
- EViews Developer
- Posts: 844
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: EViews 7.2
Ok I tried to do the following to recreate your issue but failed to find a problem:
1. Created a program named test111.prg with the following contents:
where blah1.wf just contains a single table object named "T"
I ran the program from within EViews and it worked fine. A new table object by the name "T_V" was created.
2. I also kicked off EViews7.exe with the path to the program file and that worked fine:
3. Finally, I used COM Automation using VBA from Excel 2007 to launch an instance of EViews and ran the program with the following code:
and that worked fine as well.
Are you doing something different?
Steve
1. Created a program named test111.prg with the following contents:
Code: Select all
wfload c:\files\blah1.wf1
%valor2 = "v"
table t_{%valor2} = tI ran the program from within EViews and it worked fine. A new table object by the name "T_V" was created.
2. I also kicked off EViews7.exe with the path to the program file and that worked fine:
Code: Select all
EViews7.exe c:\files\test111.prgCode: Select all
Sub test()
Dim mgr As New EViews.Manager
Dim app As EViews.Application
Set app = mgr.GetApplication(NewInstance)
app.Show
app.Run "run c:\files\test111.prg"
End SubAre you doing something different?
Steve
-
sschaffrath
- Posts: 15
- Joined: Tue Nov 16, 2010 6:05 am
Re: EViews 7.2
Steve,
As I mentioned in the first post, the strangest thing is that the overflow happens when creating a table, but NOT the first time it is done.
We're running the program from a shell command such as
shell(path/EViews 6/Eviews6.exe path/program.prg), similar to your 2 option. Is it exactly the same?
As I mentioned in the first post, the strangest thing is that the overflow happens when creating a table, but NOT the first time it is done.
We're running the program from a shell command such as
shell(path/EViews 6/Eviews6.exe path/program.prg), similar to your 2 option. Is it exactly the same?
-
EViews Steve
- EViews Developer
- Posts: 844
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: EViews 7.2
Send me your EViews program and highlight the line (with a comment) that is causing the error. Send it to steve@eviews.com.
Who is online
Users browsing this forum: No registered users and 2 guests
