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,

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1026 views
  • 0 likes
  • 2 in conversation