Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cursor woes. Pin
Anonymous19-Dec-02 9:15
Anonymous19-Dec-02 9:15 
GeneralRe: Cursor woes. Pin
Joel Matthias19-Dec-02 9:14
Joel Matthias19-Dec-02 9:14 
GeneralArrayList Comparison/Diff Pin
gercules19-Dec-02 0:08
gercules19-Dec-02 0:08 
GeneralRe: ArrayList Comparison/Diff Pin
Rob Graham19-Dec-02 5:07
Rob Graham19-Dec-02 5:07 
GeneralRe: ArrayList Comparison/Diff Pin
Eric Gunnerson (msft)19-Dec-02 10:36
Eric Gunnerson (msft)19-Dec-02 10:36 
QuestionExtender Bug? Or am I missing something? Pin
FruitBatInShades18-Dec-02 23:53
FruitBatInShades18-Dec-02 23:53 
GeneralPoint out the error Pin
sns18-Dec-02 21:41
sns18-Dec-02 21:41 
GeneralRe: Point out the error Pin
Jeff J19-Dec-02 15:11
Jeff J19-Dec-02 15:11 
Just a guess here, but since the code fails only when a picture is absolutely required (type 1 is strictly icon, whereas other two use text and thus don't require a picture to be shown), maybe the error is saying that pic's underlying image is always invalid, and that only matters when one is absolutely needed. In other words, although pic is not null, it may not contain a reference to a valid StdPicture.

Since StdPicture is a COM object, it is possible that it is non-null, yet its Handle property may be invalid. COM objects can be that way. Could you try verifying if pic.Handle is valid rather than if pic overall is non-null?
GeneralRe: Point out the error Pin
sns20-Dec-02 1:57
sns20-Dec-02 1:57 
GeneralRe: Point out the error Pin
sns20-Dec-02 17:29
sns20-Dec-02 17:29 
GeneralRe: Point out the error Pin
Jeff J20-Dec-02 18:08
Jeff J20-Dec-02 18:08 
GeneralRe: Point out the error Pin
sns22-Dec-02 21:19
sns22-Dec-02 21:19 
GeneralRe: Point out the error Pin
WizardOfPeyton23-Dec-02 12:52
WizardOfPeyton23-Dec-02 12:52 
GeneralRe: Point out the error Pin
sns23-Dec-02 18:33
sns23-Dec-02 18:33 
GeneralRe: Point out the error Pin
WizardOfPeyton24-Dec-02 7:28
WizardOfPeyton24-Dec-02 7:28 
GeneralRe: Point out the error Pin
sns25-Dec-02 19:45
sns25-Dec-02 19:45 
GeneralRe: Point out the error Pin
WizardOfPeyton15-Jan-03 5:14
WizardOfPeyton15-Jan-03 5:14 
Generaladding extensions to the standard window's context menu Pin
jtmtv1818-Dec-02 18:36
jtmtv1818-Dec-02 18:36 
GeneralRe: adding extensions to the standard window's context menu Pin
Kannan Kalyanaraman18-Dec-02 21:30
Kannan Kalyanaraman18-Dec-02 21:30 
QuestionAnything I should watch out for doing this? Pin
LongRange.Shooter18-Dec-02 11:05
LongRange.Shooter18-Dec-02 11:05 
GeneralWeb Service Question Pin
Larry Rutledge18-Dec-02 6:54
Larry Rutledge18-Dec-02 6:54 
GeneralRe: Web Service Question Pin
Adrian Hall18-Dec-02 7:09
Adrian Hall18-Dec-02 7:09 
GeneralRe: Web Service Question Pin
Daniel Turini18-Dec-02 8:52
Daniel Turini18-Dec-02 8:52 
GeneralRe: Web Service Question Pin
Wilco B.18-Dec-02 10:43
Wilco B.18-Dec-02 10:43 
GeneraltextBox -to- Binary Registry Pin
Jassim Rahma18-Dec-02 6:22
Jassim Rahma18-Dec-02 6:22 

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.