cancel
Showing results for 
Search instead for 
Did you mean: 

Creating new sessions in background/hidden

Former Member
0 Kudos

When creating a connection, I am using the /INPLACE flag to prevent the window from being visible to the end user.  When I create a new session using the CreateSession method of the GuiSession object, the new session will always pop up.  I can handle the CreateSession event, but I don't know what I can do with the returned GuiSession object to prevent it from showing up in the foreground.

Any solutions to keep the additional sessions silent and in the background?

I'm using c#

Thanks,

Steve

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member213011
Participant
0 Kudos

Dear Steve,

I'm using session.iconify method to minimize the session (not entirely hide it but it keeps it in the background), but in VBA.

Thanks,

MSA

Former Member
0 Kudos

I actually found a solution in the last day.  I ran across this post: http://scn.sap.com/message/114183, and from there was able to set the parent of the window from the new session to a container object in my project and keep any pop-ups or session windows hidden.

Thanks,
Steve