Click here to Skip to main content
15,887,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 7:49
Arun Bhalla3-Feb-04 7:49 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 8:49
protectorHeath Stewart3-Feb-04 8:49 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 10:26
Arun Bhalla3-Feb-04 10:26 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 10:32
protectorHeath Stewart3-Feb-04 10:32 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 11:08
Arun Bhalla3-Feb-04 11:08 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 11:15
protectorHeath Stewart3-Feb-04 11:15 
GeneralWinForms app displays differently on different computers. Pin
~michL~2-Feb-04 12:47
~michL~2-Feb-04 12:47 
GeneralRe: WinForms app displays differently on different computers. Pin
Heath Stewart3-Feb-04 5:29
protectorHeath Stewart3-Feb-04 5:29 
~michL~ wrote:
Any ideas on what could be going on here???

Screen resolution.

Since .NET uses pixels and pixels display differently on different resolutions, the layout of the form can't truly be garaunteed. This is why some languages like VB6 (and below) use twips, points, and other logical units. The anchoring won't matter in this case because the initial positions and sizes of the controls are correct in relation to pixels. It's pretty hard to explain.

I've actually never seen that big of a problem before. What resolution are you using? What resolution is the other machine using?

If necessary, you can always P/Invoke the GetDeviceCaps native function (for which the SystemInformationClass does, but doesn't support everything) and get the number of pixels per whatever logical unit you like. The reason it works when you use RDP (termainal services) is because you can specify a resolution in which to work when you connect. The graphics card on the target machine should support your target resolution, so you might want to try using that resolution locally on that machine.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: WinForms app displays differently on different computers. Pin
~michL~3-Feb-04 13:44
~michL~3-Feb-04 13:44 
GeneralRe: WinForms app displays differently on different computers. Pin
Heath Stewart3-Feb-04 17:54
protectorHeath Stewart3-Feb-04 17:54 
GeneralProgramatically iterating through controls in C# csharp or VB.net Pin
billoo2-Feb-04 11:51
billoo2-Feb-04 11:51 
GeneralRe: Programatically iterating through controls in C# csharp or VB.net Pin
Heath Stewart2-Feb-04 12:05
protectorHeath Stewart2-Feb-04 12:05 
GeneralRe: Programatically iterating through controls in C# csharp or VB.net Pin
billoo2-Feb-04 12:33
billoo2-Feb-04 12:33 
GeneralRe: Programatically iterating through controls in C# csharp or VB.net Pin
Colin Angus Mackay2-Feb-04 12:06
Colin Angus Mackay2-Feb-04 12:06 
GeneralUpdating table from datatable Pin
zuhx2-Feb-04 11:38
zuhx2-Feb-04 11:38 
GeneralRe: Updating table from datatable Pin
Heath Stewart2-Feb-04 12:01
protectorHeath Stewart2-Feb-04 12:01 
GeneralListView Pin
Gary Kirkham2-Feb-04 11:23
Gary Kirkham2-Feb-04 11:23 
GeneralRe: ListView Pin
Heath Stewart2-Feb-04 11:57
protectorHeath Stewart2-Feb-04 11:57 
GeneralRe: ListView Pin
Gary Kirkham2-Feb-04 12:02
Gary Kirkham2-Feb-04 12:02 
GeneralRe: ListView Pin
Heath Stewart2-Feb-04 12:06
protectorHeath Stewart2-Feb-04 12:06 
QuestionGood PDF Viewer control? Pin
Alex Korchemniy2-Feb-04 11:04
Alex Korchemniy2-Feb-04 11:04 
GeneralCOM/C# datatype mismatch Pin
KingTermite2-Feb-04 10:26
KingTermite2-Feb-04 10:26 
GeneralRe: COM/C# datatype mismatch Pin
Heath Stewart2-Feb-04 10:29
protectorHeath Stewart2-Feb-04 10:29 
GeneralRe: COM/C# datatype mismatch Pin
KingTermite2-Feb-04 10:59
KingTermite2-Feb-04 10:59 
GeneralRe: COM/C# datatype mismatch Pin
Heath Stewart2-Feb-04 11:01
protectorHeath Stewart2-Feb-04 11:01 

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.