Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retrieving POP3 message Pin
Heath Stewart16-Jun-04 21:31
protectorHeath Stewart16-Jun-04 21:31 
Questionhow to scrolling through "stacked" images? Pin
ABean16-Jun-04 15:38
ABean16-Jun-04 15:38 
AnswerRe: how to scrolling through "stacked" images? Pin
Heath Stewart16-Jun-04 21:23
protectorHeath Stewart16-Jun-04 21:23 
GeneralExecption in db command..please help Pin
link_7916-Jun-04 12:24
link_7916-Jun-04 12:24 
GeneralNever mind Pin
link_7916-Jun-04 12:58
link_7916-Jun-04 12:58 
Generalcustom metadata editor using c#.net Pin
abhishk2001@yahoo.com16-Jun-04 11:53
abhishk2001@yahoo.com16-Jun-04 11:53 
GeneralRe: custom metadata editor using c#.net Pin
link_7916-Jun-04 12:36
link_7916-Jun-04 12:36 
GeneralRe: custom metadata editor using c#.net Pin
Heath Stewart16-Jun-04 13:56
protectorHeath Stewart16-Jun-04 13:56 
Actually, that would throw a TypeLoadException since the types are not the same, but you apparently handled the exception and continued executing code, meaning that the object you were trying to instantiate of that type was still null, hence the NullReferenceException.

You can avoid this problem in your multi-project solution by adding project reference instead of assembly reference. So, if project "B" depends on project "A", right-click on project "B", select Add Reference, then click the Projects tab. Double-click project "A" to add it.

Now a build dependency is established. Any changes to project "A" will cause project "A" to be compiled when you compiled project "B", and if project "A" is recompile project "B" will grab the new copy when it's compiled. This also means that when you compile a release build of project "B", a release build is compiled for project "A", thus keeping your builds in sync as well.

 

Microsoft MVP, Visual C#
My Articles
GeneralArcCatalog Custom metadata editor using c#.net Pin
abhishk2001@yahoo.com16-Jun-04 11:48
abhishk2001@yahoo.com16-Jun-04 11:48 
GeneralRe: ArcCatalog Custom metadata editor using c#.net Pin
Heath Stewart16-Jun-04 13:52
protectorHeath Stewart16-Jun-04 13:52 
GeneralArcCatalog Custom metadata editor using c#.net Pin
abhishk2001@yahoo.com16-Jun-04 11:45
abhishk2001@yahoo.com16-Jun-04 11:45 
GeneralUTC time to localtime Pin
Anonymous16-Jun-04 11:14
Anonymous16-Jun-04 11:14 
GeneralRe: UTC time to localtime Pin
Heath Stewart16-Jun-04 13:49
protectorHeath Stewart16-Jun-04 13:49 
Generalmy mouse up event only fires once Pin
robmays16-Jun-04 10:57
robmays16-Jun-04 10:57 
GeneralRe: my mouse up event only fires once Pin
Heath Stewart16-Jun-04 13:45
protectorHeath Stewart16-Jun-04 13:45 
GeneralIs there a "TextFolding Control"! Pin
BrandonXander16-Jun-04 10:46
BrandonXander16-Jun-04 10:46 
GeneralRe: Is there a "TextFolding Control"! Pin
xuhx16-Jun-04 17:22
xuhx16-Jun-04 17:22 
GeneralWinControls and System.Management Pin
Wender Oliveira16-Jun-04 8:39
Wender Oliveira16-Jun-04 8:39 
GeneralRe: WinControls and System.Management Pin
Dave Kreskowiak16-Jun-04 9:14
mveDave Kreskowiak16-Jun-04 9:14 
GeneralNet.Socket problem Pin
tweakk16-Jun-04 8:29
tweakk16-Jun-04 8:29 
GeneralRe: Net.Socket problem Pin
Heath Stewart16-Jun-04 10:17
protectorHeath Stewart16-Jun-04 10:17 
GeneralRe: Net.Socket problem Pin
tweakk16-Jun-04 10:35
tweakk16-Jun-04 10:35 
Generalservice that collect files.. Pin
japanreddy16-Jun-04 6:48
japanreddy16-Jun-04 6:48 
GeneralRe: service that collect files.. Pin
Colin Angus Mackay16-Jun-04 7:17
Colin Angus Mackay16-Jun-04 7:17 
GeneralRe: service that collect files.. Pin
japanreddy16-Jun-04 7:22
japanreddy16-Jun-04 7: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.