where is my toolbar images
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
when design time i see images on toolbar buttons but after build then run, there is no images. I guess it is a bug of Vs.Net Express . Any diffeerent idea ? Recently i face so many times Loader Exception and still there is no fix for that.
I know .NET 1.0 and 1.1 had a bug like this when calling
EnableVisualStyles()
. The work-around was to callApplication.DoEvents()
after enabling visual styles and before displaying your form, like this...Public Class Main
Public Shared Sub Main(ByVal args() As String)
Application.EnableVisualStyles()
Application.DoEvents()
Application.Run(New MyForm)
End Sub
End Class