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 COM automation
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Steve
- EViews Developer
- Posts: 844
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: EViews COM automation
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
As a side note, your code sample will result in a hidden EViews. To show it, you'll have to call app.Show().
Steve
Re: EViews COM automation
Thanks Steve. Yep, I was aware of the app.Show statement.
Who is online
Users browsing this forum: No registered users and 2 guests
