Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
AnswerRe: Getting TableName in Tables of DataSet Pin
PIEBALDconsult3-Mar-09 3:28
mvePIEBALDconsult3-Mar-09 3:28 
Question2 C# question Pin
E_Gold2-Mar-09 9:59
E_Gold2-Mar-09 9:59 
AnswerRe: 2 C# question Pin
DaveyM692-Mar-09 10:32
professionalDaveyM692-Mar-09 10:32 
AnswerRe: 2 C# question Pin
Maxim Langman2-Mar-09 11:02
Maxim Langman2-Mar-09 11:02 
QuestionBitmap.LockBits ! Pin
Mohammad Dayyan2-Mar-09 8:42
Mohammad Dayyan2-Mar-09 8:42 
AnswerRe: Bitmap.LockBits ! Pin
Dave Kreskowiak2-Mar-09 8:51
mveDave Kreskowiak2-Mar-09 8:51 
GeneralRe: Bitmap.LockBits ! Pin
Mohammad Dayyan2-Mar-09 8:59
Mohammad Dayyan2-Mar-09 8:59 
AnswerRe: Bitmap.LockBits ! Pin
knockNrod9-Sep-10 3:08
knockNrod9-Sep-10 3:08 
I hate to be a contrarian, but that's not correct. Bob Powell has some really great documentation on GDI+. Just google Bob Powell GDI+. When there, search for LockBits.

Bitmaps are usually displayed on screen. If you're editing a portion of a bitmap that is displayed, it will be really slow because it has to perform safe edits on each pixel. Instead, you can grab the piece (even if that piece is the whole image) you want to work with and copy that piece into an array of memory and pin it there. That's what LockBits does for you. Calling SetPixel on the copied, pinned array will be much, much faster, but you have to remember to call UnlockBits so that it can be unpinned.

Without darkness, there are no dreams.
-Karla Kuban
QuestionRead the formatting from a Word document using C# Pin
Edward Hoad2-Mar-09 8:28
Edward Hoad2-Mar-09 8:28 
QuestionHow to call a method from a running service? Pin
s196675m2-Mar-09 6:48
s196675m2-Mar-09 6:48 
AnswerRe: How to call a method from a running service? Pin
Ravi Bhavnani2-Mar-09 8:10
professionalRavi Bhavnani2-Mar-09 8:10 
GeneralRe: How to call a method from a running service? Pin
s196675m2-Mar-09 9:44
s196675m2-Mar-09 9:44 
GeneralRe: How to call a method from a running service? Pin
Ravi Bhavnani2-Mar-09 9:50
professionalRavi Bhavnani2-Mar-09 9:50 
Questionabout USP to Parallel port Pin
Member 33767902-Mar-09 6:43
Member 33767902-Mar-09 6:43 
QuestionReturning primary key value from a FoxPro Table insert Pin
dptalt2-Mar-09 4:36
dptalt2-Mar-09 4:36 
AnswerRe: Returning primary key value from a FoxPro Table insert Pin
Xmen Real 2-Mar-09 6:11
professional Xmen Real 2-Mar-09 6:11 
Questionwhy I can't create setup for my application Pin
laziale2-Mar-09 4:23
laziale2-Mar-09 4:23 
AnswerRe: why I can't create setup for my application Pin
Xmen Real 2-Mar-09 6:06
professional Xmen Real 2-Mar-09 6:06 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 6:32
laziale2-Mar-09 6:32 
GeneralRe: why I can't create setup for my application Pin
Xmen Real 2-Mar-09 6:34
professional Xmen Real 2-Mar-09 6:34 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 6:59
laziale2-Mar-09 6:59 
GeneralRe: why I can't create setup for my application Pin
Dave Kreskowiak2-Mar-09 8:13
mveDave Kreskowiak2-Mar-09 8:13 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 8:27
laziale2-Mar-09 8:27 
QuestionHow Can I automate the process of adding a webcam device to a C# video capture app. Pin
Jose_Gomez2-Mar-09 3:22
Jose_Gomez2-Mar-09 3:22 
QuestionWMI query doesnot return record for user having less previleges!! Pin
Cracked-Down2-Mar-09 3:02
Cracked-Down2-Mar-09 3:02 

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.