Click here to Skip to main content
15,888,325 members
Home / Discussions / C#
   

C#

 
GeneralRe: Counting num words in richtext Pin
Donald_a16-Sep-03 0:11
Donald_a16-Sep-03 0:11 
GeneralGetting the height of a main menu Pin
CyberKewl14-Sep-03 15:58
CyberKewl14-Sep-03 15:58 
GeneralRe: Getting the height of a main menu Pin
James T. Johnson15-Sep-03 4:17
James T. Johnson15-Sep-03 4:17 
GeneralRe: Getting the height of a main menu Pin
CyberKewl15-Sep-03 5:47
CyberKewl15-Sep-03 5:47 
GeneralMemory in .NET Pin
Dave Kerr14-Sep-03 8:12
Dave Kerr14-Sep-03 8:12 
GeneralRe: Memory in .NET Pin
Nick Parker14-Sep-03 11:18
protectorNick Parker14-Sep-03 11:18 
GeneralRe: Memory in .NET Pin
Dave Kerr15-Sep-03 8:04
Dave Kerr15-Sep-03 8:04 
GeneralRe: Memory in .NET Pin
James T. Johnson15-Sep-03 8:54
James T. Johnson15-Sep-03 8:54 
Try changing the DllImport so that the SetLastError field is set to true.

[DllImport("gdi32.dll", SetLastError=true)], this tells the marhsaller to call GetLastError for you. You can then get the error code by calling DllImportAttribute.GetLastWin32Error(). It may not make any major changes, but it ensures that another Win32 call won't change the value, especially if that call is made by the framework.

James

"then when you go to bed...wait, you dont do that do you....ok....when you plug into the 'hive mind' to charge yourself, ill hack into your head"
Nnamdi Onyeyiri over MSN

GeneralUsing IsPostBack with LoadControl Pin
Jay Pal14-Sep-03 8:03
Jay Pal14-Sep-03 8:03 
GeneralRe: Using IsPostBack with LoadControl Pin
Nick Parker14-Sep-03 11:38
protectorNick Parker14-Sep-03 11:38 
GeneralDRawable Panel, Resize and Scrollbars ! Pin
Frank Olorin Rizzi14-Sep-03 4:46
Frank Olorin Rizzi14-Sep-03 4:46 
GeneralRe: DRawable Panel, Resize and Scrollbars ! Pin
Frank Olorin Rizzi14-Sep-03 14:39
Frank Olorin Rizzi14-Sep-03 14:39 
GeneralActiveX and C# Pin
Robert_14-Sep-03 2:40
Robert_14-Sep-03 2:40 
GeneralRe: ActiveX and C# Pin
Mazdak14-Sep-03 4:14
Mazdak14-Sep-03 4:14 
QuestionLet property builder generate code? Pin
Johan de Koning14-Sep-03 1:22
Johan de Koning14-Sep-03 1:22 
GeneralHTML editor in C# Pin
Jasper4C#13-Sep-03 22:24
Jasper4C#13-Sep-03 22:24 
GeneralRe: HTML editor in C# Pin
James T. Johnson15-Sep-03 4:26
James T. Johnson15-Sep-03 4:26 
GeneralRe: HTML editor in C# Pin
Jasper4C#15-Sep-03 8:08
Jasper4C#15-Sep-03 8:08 
GeneralMain Form Control Pin
dbetting13-Sep-03 14:17
dbetting13-Sep-03 14:17 
GeneralRe: Main Form Control Pin
mcgahanfl14-Sep-03 14:15
mcgahanfl14-Sep-03 14:15 
GeneralRe: Main Form Control Pin
dbetting14-Sep-03 15:12
dbetting14-Sep-03 15:12 
GeneralRe: Main Form Control Pin
mcgahanfl15-Sep-03 3:03
mcgahanfl15-Sep-03 3:03 
GeneralScreen Coordinates Pin
Paul Silvernail13-Sep-03 7:32
Paul Silvernail13-Sep-03 7:32 
GeneralRe: Screen Coordinates Pin
leppie13-Sep-03 8:12
leppie13-Sep-03 8:12 
GeneralRe: Screen Coordinates Pin
Paul Silvernail13-Sep-03 8:25
Paul Silvernail13-Sep-03 8:25 

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.