Results 1 to 6 of 6

Thread: Multiple VS 2008 web server tray icons

  1. #1

    Thread Starter
    Addicted Member effekt26's Avatar
    Join Date
    Nov 2006
    Posts
    138

    Multiple VS 2008 web server tray icons

    Hey everyone,

    I am currently using Visual Studio 2008 Team SP1 on windows vista.

    When I run my projects, stop, and run again, a new Web Development Server tray icon is created, and does not remove old ones. some times i have 7-10 icons in my system tray, but as soon as I hover my mouse over them, they disappear.

    Is there any way to prevent this from happening?

    Cheers,

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Multiple VS 2008 web server tray icons

    Are you using the Stop button in the IDE to stop debugging? If so then try closing your browser first, or instead, depending on which browser you're using.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Multiple VS 2008 web server tray icons

    You can also restrict your site to use just one port so that it uses the same 'icon' over and over again (as each one is associated with a VS Web Server). Right click on the project, properties, 'web' tab and select a port in there.

  4. #4

    Thread Starter
    Addicted Member effekt26's Avatar
    Join Date
    Nov 2006
    Posts
    138

    Re: Multiple VS 2008 web server tray icons

    hey guys,

    Have been either using the Stop button or closing the browser. And have set my project to use port 80.

    Its the exact same setup I was using in VS 2005, but now in 2008 is seems to keep the tray icons there until i hover my mouse over them.

    The process is no longer running for all of them, so maybe a windows vista issue?

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Multiple VS 2008 web server tray icons

    Hey,

    I have noticed the issue that you are talking about on my Windows XP Machine using Visual Studio 2005. I don't find it a huge issue though, like you say, just hover over them and they go away.

    Gary

  6. #6
    Lively Member
    Join Date
    Jul 2007
    Posts
    98

    Re: Multiple VS 2008 web server tray icons

    that is not a problem in your code. The tray icons dissapear only if you destroy them in the source. If an abnormal termination occures
    (stop the debugger for example), the icon stays and will be
    deleted on refresh from the OS.
    While debugging there is no way to solve that.
    You need to ensure that the icons are deleted when your application is
    running in standalone mode.
    It is not a big deal, since if you do not destroy the icons in your code,
    the OS will do that for you on tray refresh, but the user will notice it,
    and that is not what a good software must allow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width