Skip to main content

Search

Search

Bt Window Still Invisible After Setting Visiblewindows As All

Comments

5 comments

  • Avatar
    Domingo Rodriguez
    Moderator

    What happens if immediately after making the Window visible you sleep the system for 5 seconds, will you then see the visible window?

     

    // Wait five seconds so the user can see the window.
          System.Threading.Thread.Sleep(5000);
    
    

    Furthermore, the bartend.exe process you see in task manager, is it running under the same Windows account than you're currently logged under?

    0
  • Avatar
    Legacy Poster

    What happens if immediately after making the Window visible you sleep the system for 5 seconds, will you then see the visible window?

     

    // Wait five seconds so the user can see the window.
          System.Threading.Thread.Sleep(5000);
    
    

    Furthermore, the bartend.exe process you see in task manager, is it running under the same Windows account than you're currently logged under?

     

    No, it is the same as before.

     

    And the bartend.exe is running under the same Windows account.

    0
  • Avatar
    Domingo Rodriguez
    Moderator

    If BarTender is being run under a service context (which seems to be the case as you're using IIS), BarTender cannot be made visible because interactive dialogs are not allowed in newer versions of Windows. This is because Windows discovered that this was a security flaw.

    0
  • Avatar
    Legacy Poster

    If BarTender is being run under a service context (which seems to be the case as you're using IIS), BarTender cannot be made visible because interactive dialogs are not allowed in newer versions of Windows. This is because Windows discovered that this was a security flaw.

     

    Is there any workaround? Does Windows XP work this way?

    0
  • Avatar
    Domingo Rodriguez
    Moderator

    Services cannot directly interact with a user as of Windows Vista, so yes, on Windows XP the behaviour should be different, but please be aware that running interactive dialogs while running under a service context is a security risk and this is why Microsoft has blocked this in newer versions of Windows.

    0

Please sign in to leave a comment.