BookmarkSubscribeRSS Feed
eugeniothierry
Fluorite | Level 6

Hi, I have a VBScript.

Do you know why

Dim OleSAS

Set OleSAS = CreateObject("SAS.Application")

OleSAS.Visible = True

works, opening and showing me the app.

But

Dim OleSAS

Set OleSAS = CreateObject("SASEGObjectModel.Application.8.1")

OleSAS.Visible = True

doesn't?

[Error:Object doesn't support this property or method: 'Visible' Code: 800A01B6]

Originally I took several parameter via InputBox but the visuals are not appealing and I was asked to show SAS eqp prompt window instead.

Thank you in advance.

 

 

1 REPLY 1
ChrisHemedinger
Community Manager

The EG Application model for automation is inherently not visible. It does not support scripting with the user interface showing.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Discussion stats
  • 1 reply
  • 829 views
  • 1 like
  • 2 in conversation