Skip to Content
avatar image
Former Member

Creating new sessions in background/hidden

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 28, 2013 at 05:57 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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