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.
Last edited by ~*McoreD*~; Jan 19th, 2004 at 06:26 AM.
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 ?
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!
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 .
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.
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 .
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 .