EViews COM automation

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

jt2010
Posts: 2
Joined: Tue Sep 21, 2010 7:07 pm

EViews COM automation

Postby jt2010 » Wed Sep 22, 2010 3:03 am

Has anyone tried out the new EViews COM automation feature. If so, does anyone know if you can instantiate a new Eviews application in a VB.net form? Currently, the code below loads Eviews but in a window outside of the VB.Net form:

Dim mgr As New EViews.Manager
Dim app As EViews.Application
app = mgr.GetApplication(EViews.CreateType.NewInstance)

Thanks for any suggestions.

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: EViews COM automation

Postby EViews Steve » Wed Sep 22, 2010 7:26 am

EViews COM Automation wasn't written to support running as an ActiveX control inside another application. Currently, it will always act as a separate application running concurrently with the client. Perhaps we'll support running as an ActiveX control in the future, but for now we don't.

As a side note, your code sample will result in a hidden EViews. To show it, you'll have to call app.Show().

Steve

jt2010
Posts: 2
Joined: Tue Sep 21, 2010 7:07 pm

Re: EViews COM automation

Postby jt2010 » Wed Sep 22, 2010 9:59 am

Thanks Steve. Yep, I was aware of the app.Show statement.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests