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.

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!