Click here to Skip to main content
16,005,138 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionIcon not showing in the alt+tab window Pin
Quecumber25626-Jan-06 5:15
Quecumber25626-Jan-06 5:15 
AnswerRe: Icon not showing in the alt+tab window Pin
Dave Kreskowiak26-Jan-06 5:56
mveDave Kreskowiak26-Jan-06 5:56 
GeneralRe: Icon not showing in the alt+tab window Pin
Quecumber25626-Jan-06 6:23
Quecumber25626-Jan-06 6:23 
GeneralRe: Icon not showing in the alt+tab window Pin
Dave Kreskowiak26-Jan-06 7:23
mveDave Kreskowiak26-Jan-06 7:23 
GeneralRe: Icon not showing in the alt+tab window Pin
Quecumber25626-Jan-06 7:38
Quecumber25626-Jan-06 7:38 
GeneralRe: Icon not showing in the alt+tab window Pin
Dave Kreskowiak26-Jan-06 8:31
mveDave Kreskowiak26-Jan-06 8:31 
GeneralRe: Icon not showing in the alt+tab window Pin
Quecumber25626-Jan-06 8:39
Quecumber25626-Jan-06 8:39 
GeneralRe: Icon not showing in the alt+tab window Pin
Dave Kreskowiak26-Jan-06 14:23
mveDave Kreskowiak26-Jan-06 14:23 
I just assumed you would be putting the ...Icon= line in the same place at the one you posted. That line MUST go in some Sub or Function somewhere, usually inside the Form.Load event handler.

Damn! Sorry! The Icon class is in the System.Drawing namespace. Make sure you add a Reference to System.Drawing.dll.
Imports System.Io
Imports System.Drawing
 
Public Class Form1
 
    Private Sub Form_Load(blah, blah) Handles MyBase.Load
        Me.Icon = New Icon(Path.Combine(Application.StartupPath, "myIcon.ico"))
    End Sub
End Class





RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome


-- modified at 20:48 Thursday 26th January, 2006
GeneralRe: Icon not showing in the alt+tab window Pin
Quecumber25627-Jan-06 4:00
Quecumber25627-Jan-06 4:00 
GeneralRe: Icon not showing in the alt+tab window Pin
Dave Kreskowiak27-Jan-06 18:09
mveDave Kreskowiak27-Jan-06 18:09 
GeneralRe: Icon not showing in the alt+tab window Pin
Ray Cassick26-Jan-06 12:21
Ray Cassick26-Jan-06 12:21 
GeneralRe: Icon not showing in the alt+tab window Pin
Quecumber25627-Jan-06 5:06
Quecumber25627-Jan-06 5:06 
Questionchanging ComboBox style at runtime Pin
bonosa26-Jan-06 5:03
bonosa26-Jan-06 5:03 
AnswerRe: changing ComboBox style at runtime Pin
Dave Kreskowiak26-Jan-06 5:35
mveDave Kreskowiak26-Jan-06 5:35 
GeneralRe: changing ComboBox style at runtime Pin
bonosa26-Jan-06 15:45
bonosa26-Jan-06 15:45 
QuestionDatagrid focus or lack of focus? Pin
KreativeKai26-Jan-06 4:51
professionalKreativeKai26-Jan-06 4:51 
AnswerRe: Datagrid focus or lack of focus? Pin
Dave Kreskowiak26-Jan-06 5:34
mveDave Kreskowiak26-Jan-06 5:34 
GeneralRe: Datagrid focus or lack of focus? Pin
KreativeKai26-Jan-06 6:08
professionalKreativeKai26-Jan-06 6:08 
GeneralRe: Datagrid focus or lack of focus? Pin
Dave Kreskowiak26-Jan-06 7:31
mveDave Kreskowiak26-Jan-06 7:31 
GeneralRe: Datagrid focus or lack of focus? Pin
KreativeKai26-Jan-06 7:44
professionalKreativeKai26-Jan-06 7:44 
GeneralRe: Datagrid focus or lack of focus? Pin
Dave Kreskowiak26-Jan-06 14:25
mveDave Kreskowiak26-Jan-06 14:25 
GeneralRe: Datagrid focus or lack of focus? Pin
KreativeKai27-Jan-06 1:35
professionalKreativeKai27-Jan-06 1:35 
GeneralRe: Datagrid focus or lack of focus? Pin
KreativeKai30-Jan-06 4:15
professionalKreativeKai30-Jan-06 4:15 
QuestionRegistering a VB.net created COM/ActiveX dll on another machine Pin
Lewy7626-Jan-06 4:45
Lewy7626-Jan-06 4:45 
AnswerRe: Registering a VB.net created COM/ActiveX dll on another machine Pin
Dave Kreskowiak26-Jan-06 5:23
mveDave Kreskowiak26-Jan-06 5:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.