UPDATE:
I think I've tracked the bug down.
If Application.EnableVisualStyles() is called, it doesn't draw the icons!
Is there a way around this?
Thanks!
[quoted text, click to view] "Philip Tepedino" <news.microsoft.com> wrote in message
news:%23LIAIcBTFHA.3308@TK2MSFTNGP14.phx.gbl...
> I'm trying to make a basic document browser using the FolderViewer and
> FileViewer controls from the vbpowerpack
>
> Everything works fine if a start a new solution, add the reference and
> create the controls, however, when i try to do the same thing on my
> existing project, the icons do not draw! I get no exception, and I've
> tested the imagelists being generated by the controls and they are filled
> .(Added code to save all the iamges in it for testing) If i copy/paste the
> control to another isntance of VS with another solution open, it works
> fine!!
>
> I've tried everything! I created a new form (not custom or anything) and
> added nothing but the two controls, and still, on this existing solution,
> it does not display the icons! I get a space where they are supposed to be
> instead. (i've tried all different views of the FileViewer)
>
> This exact same behavior also happens with the FolderViewer.
>
>
> Any ideas what could be causing this?
>
> btw, to help debug, i added the vbpowerpack project to my solution and
> referenced it localy, and nothing changed!
>
> Any help would be greatly appreciated!
>
> Thanks,
> Philip Tepedino
>
>