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

C#

 
AnswerRe: Regular Expresion Pin
OriginalGriff14-May-09 3:54
mveOriginalGriff14-May-09 3:54 
GeneralRe: Regular Expresion Pin
ONeil Tomlinson14-May-09 4:05
ONeil Tomlinson14-May-09 4:05 
GeneralRe: Regular Expresion Pin
OriginalGriff14-May-09 4:44
mveOriginalGriff14-May-09 4:44 
GeneralRe: Regular Expresion Pin
MidwestLimey14-May-09 4:47
professionalMidwestLimey14-May-09 4:47 
AnswerRe: Regular Expresion Pin
MidwestLimey14-May-09 4:47
professionalMidwestLimey14-May-09 4:47 
GeneralRe: Regular Expresion Pin
ONeil Tomlinson14-May-09 4:54
ONeil Tomlinson14-May-09 4:54 
QuestionProblem to save usercontrol as .bmp image Pin
Seraph_summer14-May-09 3:40
Seraph_summer14-May-09 3:40 
AnswerRe: Problem to save usercontrol as .bmp image Pin
Luc Pattyn14-May-09 4:01
sitebuilderLuc Pattyn14-May-09 4:01 
Hi,

Not sure about UserControls. I do know some Controls don't have a functional DrawToBitmap() method.
e.g. the RichTextBox.DrawToBitmap() documentation says: "This API supports the .NET Framework infrastructure and is not intended to be used directly from your code."

In order to paint such Controls you probably need some P/Invoke. The other day I had to send a FormatRange message (with a hDC and some struct) to get a RichTextBox paint its content to a bitmap correctly.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

AnswerRe: Problem to save usercontrol as .bmp image Pin
DidiKunz14-May-09 5:01
DidiKunz14-May-09 5:01 
QuestionHow to access String from within whole application... Pin
Baeltazor14-May-09 3:36
Baeltazor14-May-09 3:36 
AnswerRe: How to access String from within whole application... Pin
Henry Minute14-May-09 3:44
Henry Minute14-May-09 3:44 
GeneralRe: How to access String from within whole application... Pin
Baeltazor14-May-09 3:48
Baeltazor14-May-09 3:48 
QuestionSearch Data from File in FIle2 Pin
MumbleB14-May-09 3:32
MumbleB14-May-09 3:32 
AnswerRe: Search Data from File in FIle2 Pin
stancrm14-May-09 3:37
stancrm14-May-09 3:37 
GeneralRe: Search Data from File in FIle2 Pin
MumbleB14-May-09 3:54
MumbleB14-May-09 3:54 
AnswerRe: Search Data from File in FIle2 Pin
musefan14-May-09 3:54
musefan14-May-09 3:54 
GeneralRe: Search Data from File in FIle2 Pin
MumbleB14-May-09 18:56
MumbleB14-May-09 18:56 
QuestionProblem instantiating form classes created in other C# project Pin
Jacobus0114-May-09 3:07
Jacobus0114-May-09 3:07 
AnswerRe: Problem instantiating form classes created in other C# project Pin
sudman114-May-09 3:12
sudman114-May-09 3:12 
GeneralRe: Problem instantiating form classes created in other C# project Pin
Jacobus0114-May-09 3:24
Jacobus0114-May-09 3:24 
AnswerRe: Problem instantiating form classes created in other C# project Pin
DaveyM6914-May-09 3:13
professionalDaveyM6914-May-09 3:13 
AnswerRe: Problem instantiating form classes created in other C# project Pin
Henry Minute14-May-09 3:30
Henry Minute14-May-09 3:30 
GeneralRe: Problem instantiating form classes created in other C# project Pin
Jacobus0114-May-09 3:41
Jacobus0114-May-09 3:41 
GeneralRe: Problem instantiating form classes created in other C# project Pin
Henry Minute14-May-09 3:50
Henry Minute14-May-09 3:50 
GeneralRe: Problem instantiating form classes created in other C# project Pin
Jacobus0114-May-09 3:57
Jacobus0114-May-09 3:57 

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.