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

C#

 
GeneralRe: breaking a string to substrings [modified] Pin
petercrab29-Dec-09 20:10
petercrab29-Dec-09 20:10 
GeneralRe: breaking a string to substrings Pin
coolestCoder29-Dec-09 22:16
coolestCoder29-Dec-09 22:16 
AnswerRe: breaking a string to substrings Pin
Md. Marufuzzaman29-Dec-09 20:42
professionalMd. Marufuzzaman29-Dec-09 20:42 
QuestionRichTextBox in WPF raised InvalidComObjectException in release build application Pin
Jingcheng29-Dec-09 17:52
Jingcheng29-Dec-09 17:52 
QuestionControlPaint.DrawBorder Pin
Saksida Bojan29-Dec-09 11:00
Saksida Bojan29-Dec-09 11:00 
AnswerRe: ControlPaint.DrawBorder Pin
Ravi Bhavnani29-Dec-09 14:53
professionalRavi Bhavnani29-Dec-09 14:53 
GeneralRe: ControlPaint.DrawBorder Pin
Saksida Bojan29-Dec-09 19:26
Saksida Bojan29-Dec-09 19:26 
QuestionHow to mark / build C# / WPF component STA Pin
Jingcheng29-Dec-09 10:15
Jingcheng29-Dec-09 10:15 
I am hosting WPF components in unmanaged MFC. This WPF components will do some ricktext editing. Hosting / editing are working fine but closing will crash application on exit (release version only and no crash on debug). The following is the current structure:

class parentA_COM : definited / implemented in unmanaged C++, STA
class memberB_COM : definited in unmanaged C++, but implemented in C# (ComVisible)
class winUserControl: implemented in C# to host WPF user control;
class wpfUserControl: implemented in C#

class MyApp // unmanaged C++
{
main ()
{
parentA_COM pPA(); // Initialize COM component
}
}

class parentA_COM // unmanaged C++
{
void get_hWnd()
{
m_ipMB.CreateInstance(xxx);
m_ipMB->get_hWnd();
}

private:
memberB_COM m_ipMB;
}

class memberB_COM : IDisposable, ... // C#
{
constuctor // initialize winUserControl
}

class winUserControl : UserControl
{
host WPF control wpfUserControl
}

How can I mark / make wpfUserControl / or winUserControl / or memberB_COM STA? Thanks.
QuestionFill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 9:51
diialer29-Dec-09 9:51 
AnswerRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
#realJSOP29-Dec-09 10:07
mve#realJSOP29-Dec-09 10:07 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 10:13
diialer29-Dec-09 10:13 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
DaveyM6929-Dec-09 11:24
professionalDaveyM6929-Dec-09 11:24 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 13:34
diialer29-Dec-09 13:34 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
Luc Pattyn29-Dec-09 14:29
sitebuilderLuc Pattyn29-Dec-09 14:29 
AnswerRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
OriginalGriff29-Dec-09 10:12
mveOriginalGriff29-Dec-09 10:12 
QuestionWord Bookmark Value Pin
Member 230798429-Dec-09 9:42
Member 230798429-Dec-09 9:42 
AnswerRe: Word Bookmark Value Pin
Rick Shaub30-Dec-09 3:57
Rick Shaub30-Dec-09 3:57 
Questiondisplay detail view form when click on a row Pin
duce1nik29-Dec-09 8:09
duce1nik29-Dec-09 8:09 
AnswerRe: display detail view form when click on a row Pin
#realJSOP29-Dec-09 8:14
mve#realJSOP29-Dec-09 8:14 
GeneralRe: display detail view form when click on a row Pin
duce1nik29-Dec-09 16:50
duce1nik29-Dec-09 16:50 
QuestionCheckBox In WinForms DataGridView Not Working Pin
Kevin Marois29-Dec-09 8:00
professionalKevin Marois29-Dec-09 8:00 
AnswerRe: CheckBox In WinForms DataGridView Not Working Pin
darkelv29-Dec-09 8:05
darkelv29-Dec-09 8:05 
GeneralRe: CheckBox In WinForms DataGridView Not Working Pin
Kevin Marois29-Dec-09 8:19
professionalKevin Marois29-Dec-09 8:19 
GeneralRe: CheckBox In WinForms DataGridView Not Working Pin
darkelv29-Dec-09 8:24
darkelv29-Dec-09 8:24 
GeneralC# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01229-Dec-09 5:23
Wheels01229-Dec-09 5:23 

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.