Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
Questiondynamically generate the copy of background Pin
sushantkaura3-Mar-07 9:50
sushantkaura3-Mar-07 9:50 
Generalcollection class Pin
needhelpinnet3-Mar-07 9:44
needhelpinnet3-Mar-07 9:44 
GeneralRe: collection class Pin
Not Active3-Mar-07 10:20
mentorNot Active3-Mar-07 10:20 
GeneralRe: collection class Pin
needhelpinnet3-Mar-07 12:28
needhelpinnet3-Mar-07 12:28 
QuestionWord or Excel , get opened file name Pin
Muhammad Nauman Yousuf3-Mar-07 8:00
Muhammad Nauman Yousuf3-Mar-07 8:00 
QuestionSystem.Drawing.Bitmap byte[] Pin
KainPlan3-Mar-07 7:25
KainPlan3-Mar-07 7:25 
AnswerRe: System.Drawing.Bitmap byte[] Pin
Wayne Phipps3-Mar-07 8:03
Wayne Phipps3-Mar-07 8:03 
GeneralRe: System.Drawing.Bitmap byte[] Pin
KainPlan3-Mar-07 8:26
KainPlan3-Mar-07 8:26 
Yeah i know this... it works... but the display works with 8 bit per pixel and the result of viewing the bitmap is not what it meant for. (sry for bad english) I need to Convert the Bitmap or the array but it all happens in a rendering thread at 10fps and a convert like this:

for (int y = 0; y < bmp.Height; y++)
{
for (int x = 0; x < bmp.Width; x++)
{

byte b = 0;
if (bmp.GetPixel(x, y).B < 128)
b = 128;
arr_bytes[i] = b;
i++;
}
}

is too slow.

Edit:
(if b >= 128 the display draws a black pixel.)
AnswerRe: System.Drawing.Bitmap byte[] Pin
.armin3-Mar-07 11:16
.armin3-Mar-07 11:16 
GeneralRe: System.Drawing.Bitmap byte[] Pin
KainPlan3-Mar-07 14:33
KainPlan3-Mar-07 14:33 
GeneralRe: System.Drawing.Bitmap byte[] Pin
KainPlan3-Mar-07 19:37
KainPlan3-Mar-07 19:37 
Question How to force an IE window to be opened on link click from axWebBrowser Pin
vedmack3-Mar-07 6:21
vedmack3-Mar-07 6:21 
QuestionManaged &amp; Unmanaged objects classification... Pin
Shy Agam3-Mar-07 5:36
Shy Agam3-Mar-07 5:36 
AnswerRe: Managed &amp; Unmanaged objects classification... Pin
Guffa3-Mar-07 6:00
Guffa3-Mar-07 6:00 
GeneralRe: Managed &amp; Unmanaged objects classification... Pin
Shy Agam3-Mar-07 6:03
Shy Agam3-Mar-07 6:03 
GeneralRe: Managed &amp; Unmanaged objects classification... Pin
S. Senthil Kumar3-Mar-07 7:32
S. Senthil Kumar3-Mar-07 7:32 
GeneralRe: Managed &amp; Unmanaged objects classification... Pin
Guffa3-Mar-07 7:52
Guffa3-Mar-07 7:52 
QuestionStatistics on C# (.net) usage Pin
asm1233-Mar-07 4:02
asm1233-Mar-07 4:02 
QuestionPorting C++ to C#: Types Pin
Ri Qen-Sin3-Mar-07 3:24
Ri Qen-Sin3-Mar-07 3:24 
AnswerRe: Porting C++ to C#: Types Pin
Parwej Ahamad3-Mar-07 3:45
professionalParwej Ahamad3-Mar-07 3:45 
GeneralRe: Porting C++ to C#: Types Pin
Ri Qen-Sin3-Mar-07 3:57
Ri Qen-Sin3-Mar-07 3:57 
GeneralRe: Porting C++ to C#: Types Pin
Parwej Ahamad3-Mar-07 7:58
professionalParwej Ahamad3-Mar-07 7:58 
AnswerRe: Porting C++ to C#: Types Pin
Guffa3-Mar-07 4:50
Guffa3-Mar-07 4:50 
GeneralRe: Porting C++ to C#: Types Pin
Luc Pattyn3-Mar-07 12:18
sitebuilderLuc Pattyn3-Mar-07 12:18 
QuestionCircular Control Reference -- A control cannot be parented to iteself. Pin
new_phoenix3-Mar-07 2:37
new_phoenix3-Mar-07 2:37 

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.