Desktop productivity for business analysts and programmers

Enterprise Guide VB Net Automation

Reply
N/A
Posts: 1

Enterprise Guide VB Net Automation

I seem to have a basic problem, I wanted to automate EG Guide via VB Net 2008, but I keep getting error messages that Message="C:\Users\ABC\Documents\Visual Studio 2008\Projects\WindowsApplication2\WindowsApplication2\bin\Debug\SEGuide.exe" was not found

I have registered the assembly and also references the SASEGScripting via the Project Explorer. I checked the C# application pdf that was in SAS.support and was able to make some headway..but I still am stuck in the area above.

Here is my simple code

Dim ProjectName As String = "C:\\Users\ABC\Documents\My SAS Files\Test_NET.egp"
Dim EGApp As New SAS.EG.Scripting.Application
Dim EGproj As New SAS.EG.Scripting.Project
EGproj = EGApp.Open(ProjectName, "") <<<<<<<--It fails here
EGApp.Quit()

Can someone please help me ?
N/A
Posts: 0

Re: Enterprise Guide VB Net Automation

I 'm trying to do the same in VBS

http://support.sas.com/forums/thread.jspa?threadID=9182&tstart=0

Maybe you will find some way to find your solution with the script attached in my post ...

Best regards,
Ask a Question
Discussion stats
  • 1 reply
  • 168 views
  • 0 likes
  • 2 in conversation