Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
GeneralRe: mp3 player Pin
crushinghellhammer29-Jul-04 12:17
crushinghellhammer29-Jul-04 12:17 
QuestionDrawing twice causes exception? Pin
Pain_Elemental29-Jul-04 9:34
Pain_Elemental29-Jul-04 9:34 
AnswerRe: Drawing twice causes exception? Pin
Heath Stewart29-Jul-04 9:42
protectorHeath Stewart29-Jul-04 9:42 
GeneralRe: Drawing twice causes exception? Pin
Pain_Elemental29-Jul-04 20:26
Pain_Elemental29-Jul-04 20:26 
GeneralRe: Drawing twice causes exception? Pin
Heath Stewart30-Jul-04 3:13
protectorHeath Stewart30-Jul-04 3:13 
GeneralRe: Drawing twice causes exception? Pin
Pain_Elemental30-Jul-04 3:34
Pain_Elemental30-Jul-04 3:34 
GeneralRe: Drawing twice causes exception? Pin
Pain_Elemental30-Jul-04 10:37
Pain_Elemental30-Jul-04 10:37 
GeneralDifferent behavior on different machines Pin
DougW4829-Jul-04 9:22
DougW4829-Jul-04 9:22 
I've noticed that sometimes, specific parts of my application will run on my machine differently than the machine that it is actually intended to be run on. For instance, my computer, the one I am using to develop this application, there are MANY instances where the program has run flawlessly. However, when I move the application to the computers where it will be run, some things will either respond differently, or cause a crash. Examples of this include objects being disposed too early on the live-system machines, causing a crash. These same objects are alive and working fine at the same stages on the development machine. Another example is I want to simply position a button inside of a textbox (this is embedded in a datagrid column). Works fine on the development machine, and the button always shows up properly, and in the correct placement. However, on the live-system, the button seems to have a mind of its own, sometimes showing up, sometimes not, and usually always positioned in the wrong place.

So what is the deal with this type of behavior? Is this something that programmers will have to constantly deal with if using the .NET environment? The development and live-system computers all are running the same versions of the .NET Framework. I just don't get it. It is difficult to fix a problem when I can't duplicate the cause. Is this an inherent result of C#, or .NET, programs compiling as they are being run? I like the idea that they are actually being optimized for the specific machine they are being run on, but is the optimizer causing my programs to run differently on different machines? If that isn't causing the problem, then what in the world could it possibly be? I'm open to a lot of suggestions here!

Thanks, I hope somebody (Heath...hint hint) can help me out here. Big Grin | :-D
GeneralRe: Different behavior on different machines Pin
Heath Stewart29-Jul-04 9:36
protectorHeath Stewart29-Jul-04 9:36 
GeneralRe: Different behavior on different machines Pin
DougW4829-Jul-04 9:59
DougW4829-Jul-04 9:59 
GeneralCryptography Pin
Wender Oliveira29-Jul-04 9:14
Wender Oliveira29-Jul-04 9:14 
GeneralRe: Cryptography Pin
Heath Stewart29-Jul-04 9:22
protectorHeath Stewart29-Jul-04 9:22 
Questioncontrol InvokeRequired() always necessary? Pin
vista2729-Jul-04 8:32
vista2729-Jul-04 8:32 
AnswerRe: control InvokeRequired() always necessary? Pin
Judah Gabriel Himango29-Jul-04 8:58
sponsorJudah Gabriel Himango29-Jul-04 8:58 
AnswerRe: control InvokeRequired() always necessary? Pin
Nick Parker29-Jul-04 9:07
protectorNick Parker29-Jul-04 9:07 
GeneralRe: control InvokeRequired() always necessary? Pin
Heath Stewart29-Jul-04 9:13
protectorHeath Stewart29-Jul-04 9:13 
GeneralRe: control InvokeRequired() always necessary? Pin
Nick Parker29-Jul-04 9:28
protectorNick Parker29-Jul-04 9:28 
GeneralRe: control InvokeRequired() always necessary? Pin
Heath Stewart29-Jul-04 9:39
protectorHeath Stewart29-Jul-04 9:39 
GeneralRe: control InvokeRequired() always necessary? Pin
Judah Gabriel Himango29-Jul-04 9:39
sponsorJudah Gabriel Himango29-Jul-04 9:39 
AnswerRe: control InvokeRequired() always necessary? Pin
Heath Stewart29-Jul-04 9:16
protectorHeath Stewart29-Jul-04 9:16 
GeneralInstantiating an array of objects Pin
crushinghellhammer29-Jul-04 8:11
crushinghellhammer29-Jul-04 8:11 
GeneralRe: Instantiating an array of objects Pin
Nick Parker29-Jul-04 9:11
protectorNick Parker29-Jul-04 9:11 
GeneralRe: Instantiating an array of objects Pin
crushinghellhammer29-Jul-04 9:32
crushinghellhammer29-Jul-04 9:32 
GeneralRe: Instantiating an array of objects Pin
Nick Parker29-Jul-04 10:11
protectorNick Parker29-Jul-04 10:11 
GeneralWM_PRINT for themed controls Pin
Mathew Hall29-Jul-04 6:31
Mathew Hall29-Jul-04 6:31 

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.