Problem with Eviews COM Automation
Posted: Wed May 15, 2013 1:56 am
I was experimenting with Eviews COM Automation tool. I wrote the following code in VB.NET to call a Eviews workfile from VB.
After I run the code I get a form with a button. I click the button but nothing happens. I understand that I have to find a way to display the object but not sure
how to do that. Any help would be highly appreciated.
Code: Select all
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim mgr As New EViews.Manager
Dim app As EViews.Application
app = mgr.GetApplication(EViews.CreateType.NewInstance)
app.Run("wfopen J:\Hans\MOF\EViewsStuff\macmod.wf1")
End Sub
how to do that. Any help would be highly appreciated.