BookmarkSubscribeRSS Feed
Penterasa
Calcite | Level 5
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 ?
1 REPLY 1
deleted_user
Not applicable
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,

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1080 views
  • 0 likes
  • 2 in conversation