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.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!