Click here to Skip to main content
15,915,093 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: closing form Pin
Anonymous6-May-05 6:08
Anonymous6-May-05 6:08 
GeneralRe: closing form Pin
Dave Kreskowiak6-May-05 7:30
mveDave Kreskowiak6-May-05 7:30 
GeneralHelp Me to port to Win98 Pin
Saksida Bojan5-May-05 23:30
Saksida Bojan5-May-05 23:30 
GeneralRe: Help Me to port to Win98 Pin
Dan_P5-May-05 23:43
Dan_P5-May-05 23:43 
GeneralRe: Help Me to port to Win98 Pin
Saksida Bojan6-May-05 1:34
Saksida Bojan6-May-05 1:34 
GeneralRe: Help Me to port to Win98 Pin
Dave Kreskowiak6-May-05 7:18
mveDave Kreskowiak6-May-05 7:18 
GeneralRe: Help Me to port to Win98 Pin
Saksida Bojan6-May-05 10:54
Saksida Bojan6-May-05 10:54 
GeneralRe: Help Me to port to Win98 Pin
Dave Kreskowiak6-May-05 12:24
mveDave Kreskowiak6-May-05 12:24 
You're kidding, right? You don't pay me enough to debug your code for you, especially a chunk of code this long. I'm telling you how to find it yourself. You hope it helps me?!? No. Help yourself...

Let me show your what your NOT doing. I told you to check your return values before you try to use them. You're not doing that. For example:
RegistryKey *pKey = Registry::ClassesRoot;
pKey = pKey->OpenSubKey(S"ArtMoneyTable\\Shell\\Open\\Command");
Object *pValue = pKey->GetValue(S"");

Did OpenSubKey actually return a Registry object or is it null? You're not checking this. You're just assuming that it worked and returned the object you expected. Now, your next line immediately tries to use the returned object, calling its GetValue method. If OpenSubKey returned null, which exception do you think will be throw when you try and execute?
Object *pValue = null->GetValue(S"");

I'm not saying this is your codes' problem, but this is a glaring example of why your code is failing and you can't find where the problem is. Always check your return values before you try to use them!


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

GeneralThank For Help Pin
Saksida Bojan7-May-05 3:04
Saksida Bojan7-May-05 3:04 
GeneralPocket PC image processing problems Pin
redleafong5-May-05 18:35
redleafong5-May-05 18:35 
QuestionWhy is Textbox not working? Pin
Richard Jones5-May-05 9:30
Richard Jones5-May-05 9:30 
AnswerRe: Why is Textbox not working? Pin
Colin Angus Mackay5-May-05 10:42
Colin Angus Mackay5-May-05 10:42 
GeneralRe: Why is Textbox not working? Pin
Richard Jones6-May-05 2:20
Richard Jones6-May-05 2:20 
GeneralExtracting cab file : FDICopy() Failed: code 11[User aborted] Pin
Sheela Krishnan5-May-05 5:42
Sheela Krishnan5-May-05 5:42 
GeneralOverlapping Images with Windows Forms/PictureBox Pin
pcxboy4-May-05 18:27
pcxboy4-May-05 18:27 
GeneralRe: Overlapping Images with Windows Forms/PictureBox Pin
MoustafaS5-May-05 1:47
MoustafaS5-May-05 1:47 
GeneralRe: Overlapping Images with Windows Forms/PictureBox Pin
pcxboy5-May-05 2:59
pcxboy5-May-05 2:59 
QuestionHow to create database for smart device like Pocket PC Pin
Member 19358804-May-05 7:28
Member 19358804-May-05 7:28 
AnswerRe: How to create database for smart device like Pocket PC Pin
Dan_P4-May-05 14:57
Dan_P4-May-05 14:57 
GeneralRe: How to create database for smart device like Pocket PC Pin
Member 19358804-May-05 17:25
Member 19358804-May-05 17:25 
GeneralRe: How to create database for smart device like Pocket PC Pin
Dan_P4-May-05 18:02
Dan_P4-May-05 18:02 
GeneralRe: How to create database for smart device like Pocket PC Pin
Richard Jones6-May-05 2:23
Richard Jones6-May-05 2:23 
GeneralProblems running NUnit tests Pin
G.Ringbom4-May-05 4:53
G.Ringbom4-May-05 4:53 
GeneralRe: Problems running NUnit tests Pin
keith maddox4-May-05 11:01
keith maddox4-May-05 11:01 
QuestionHow do I stop momentary appearence of titlebar in MDI child? Pin
bsisson4-May-05 4:05
bsisson4-May-05 4:05 

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.