Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding/Minimizing the attachmate screen 1

Status
Not open for further replies.

Losman500

Technical User
Oct 9, 2007
43
US
I have a procedure that goes to 3 different host screens and puts the information into Excel then prints is to PDF. All I want the user to see is the end result (The pdf file). I already know how to "hide" excel while the macro is running, but how about attachmate? can the screen updating or window be hidden or minimized while the macro runs?

I have not found any useful post yet.
 
If the screen cannot be hidden or minimized can someone let me know if there is a way to display a message box while the macro executes and automatically close once the macros is finished. I'm just afraid that my user will start touching the screen while the macro is running.
 
Hi,

Have a look at...
Code:
    Set oSystem = CreateObject("Extra.System")
    
    Set oSess = oSystem.Sessions.Open("C:\Program Files\E!PC\Sessions\Mainframe.edp")

    With oSess
        .Visible = True
        .WindowState = xNORMAL
    End With

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
I looked at the help file on Attachmate and did not find it thinking that this would belong to the screen object and not the session object.

Once again thank you Skip!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top