Results 1 to 10 of 10

Thread: Display Me.Icon at Alt + Tab [RESOLVED by Pirate]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252

    Display Me.Icon at Alt + Tab [RESOLVED by Pirate]

    Hi there,

    I just now noticed during a normal ALT + TAB that my application didn't display its icon in the Window. Please check the attach screenshot. 1000words in one JPG.

    I have icons for both Build Icon and Form Icon.
    I wonder why it doesn't show any of those in the screenshot.

    Appreciate your great help,
    Yours McoreD.
    Attached Images Attached Images  
    Last edited by ~*McoreD*~; Jan 19th, 2004 at 06:26 AM.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Do you have multiple forms and if yes then do all them have the same icon ?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252
    Hi Pirate,

    There are four forms and all the form have the same 48 * 48 icon.
    The build icon is the same too.

    McoreD.

    P.S: The actual program is attached.
    Attached Files Attached Files

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    It shows the icon on my machine (XP) . It seems it's using previously built exe . Delete bin and obj folders (make sure you don't have any dependencies there ) .

    btw , do you have any regkey associated with this app ?

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252

    Thumbs up

    It worked perfectly when the EXE was moved to another folder location.

    It is a mystery how it didn't show up the icon when running under the bin folder isnt it?

    Yes Pirate it does just SaveSetting() and GetSetting().
    I couldn't use my VB6 module in .NET, which did the job saving/recalling settings from a .INI file. That's another story.

    Thank Pirate for helping me.
    If you or somebody could explain the reason why the icon didn't show when running under the bin folder, that would be great!

    Cheers,
    McoreD

  6. #6
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    You're welcome .

    Well , when building your application with the option 'Debug' , it outputs an exe in the bin\Debug folder when the solution option is set to 'Release' it outputs an exe in the bin\Release . I think you were using the bin\debug exe instead of the released version . Does this makes sense .

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252
    Hi Pirate,

    The location of my EXEs are a bit different than the way you described. I don't know if I am doing something wrong.

    My EXE outputs to three locations.
    • \bin\
    • \obj\Debug
    • \obj\Release


    I was giving the EXE in the \bin\ folder. When sharing the prog with my friends, I used the same EXE. Am I sharing the wrong EXE? Thank you for pointing that out.

  8. #8
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    After you're done with your proj , set Solution Configuration to Release . This produces an optimized exe and stripe out temp configurations used in 'Debug' mode . So the released version is what're going to used all the way which exists in the default path of bin\release .

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252
    Hi Pirate,

    Yes I use Release to build the final EXE.

    But there is no such folder caleld \bin\Release.
    The Release is only in \obj\Release.

    McoreD

  10. #10
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by ~*McoreD*~
    Hi Pirate,

    Yes I use Release to build the final EXE.

    But there is no such folder caleld \bin\Release.
    The Release is only in \obj\Release.

    McoreD
    I configurated my IDE to output the released version in a folder named "\release" , sorry if I confused you . . Anyhow , before you ship your exe , use the released version in the bin folder .The other exes in the proj folder should be overwritten also .

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