Click here to Skip to main content
15,917,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Send Key Input Pin
peterchen16-Mar-08 5:23
peterchen16-Mar-08 5:23 
GeneralRe: Send Key Input Pin
ThatsAlok16-Mar-08 5:25
ThatsAlok16-Mar-08 5:25 
GeneralRe: Send Key Input Pin
Rajesh R Subramanian16-Mar-08 5:55
professionalRajesh R Subramanian16-Mar-08 5:55 
GeneralRe: Send Key Input Pin
ThomasCouto16-Mar-08 14:47
ThomasCouto16-Mar-08 14:47 
GeneralRe: Send Key Input Pin
Randor 16-Mar-08 18:36
professional Randor 16-Mar-08 18:36 
QuestionRe: Send Key Input Pin
Rajkumar R16-Mar-08 23:10
Rajkumar R16-Mar-08 23:10 
GeneralRe: Send Key Input Pin
Randor 17-Mar-08 3:31
professional Randor 17-Mar-08 3:31 
QuestionHelp VS2008: assigning a returned string to an edit control Pin
Hamid intact15-Mar-08 10:36
Hamid intact15-Mar-08 10:36 
Hi! Everybody,
I am new to programming and this is my first post here. I have problem with assigning a string which is returned by the active component to my edit control box. I will appreciate any hint if possible.
I have created a dialog based MFC standard application and I am using a button to simulate the problem by clicking on the button, but without any progress. This is the description of what I have done:
- Created a C++ dialog based MFC application
- inserted an ActiveX component and created a member variable called “m_Active“
- inserted an edit control and created a member variable called “m_Edit”
- inserted a button and crated a member variable called ”m_Button”

void CTestDlg::OnBnClickedButton()
{
// TODO: Add your control notification handler code here
m_Active.mConnect(0);
m_Active.mListening(1,2000);
m_Active.mStartServers(1,2001,2002,2003);
m_Active.mStreamVideo(1);
m_Active.mStreamAudio(1);
m_Edit.SetString(mGetLocalHostName);

}
……………………………………………………………………………………………………………………
Every thing works fine untill the last line
M_Edit.SetString(mGetLocalHostName);

I have to add that “mGetLocalHostName” forces the ActiveX component to return the string wich I am intending to have in the Edit control.

I hope I have been able to describe the problem I have. And I appriciate any kind of help.
AnswerRe: Help VS2008: assigning a returned string to an edit control Pin
Rajesh R Subramanian15-Mar-08 11:03
professionalRajesh R Subramanian15-Mar-08 11:03 
AnswerRe: Help VS2008: assigning a returned string to an edit control Pin
Hamid intact15-Mar-08 12:17
Hamid intact15-Mar-08 12:17 
QuestionRe: Help VS2008: assigning a returned string to an edit control Pin
David Crow15-Mar-08 15:24
David Crow15-Mar-08 15:24 
AnswerRe: Help VS2008: assigning a returned string to an edit control Pin
Hamid intact15-Mar-08 23:00
Hamid intact15-Mar-08 23:00 
GeneralRe: Help VS2008: assigning a returned string to an edit control Pin
Rajesh R Subramanian16-Mar-08 3:27
professionalRajesh R Subramanian16-Mar-08 3:27 
GeneralRe: Help VS2008: assigning a returned string to an edit control Pin
Hamid intact16-Mar-08 4:33
Hamid intact16-Mar-08 4:33 
GeneralRe: Help VS2008: assigning a returned string to an edit control Pin
Rajesh R Subramanian16-Mar-08 5:51
professionalRajesh R Subramanian16-Mar-08 5:51 
GeneralRe: Help VS2008: assigning a returned string to an edit control Pin
krmed16-Mar-08 3:54
krmed16-Mar-08 3:54 
GeneralRe: Help VS2008: assigning a returned string to an edit control Pin
Hamid intact16-Mar-08 4:33
Hamid intact16-Mar-08 4:33 
GeneralExecutable icon in visual studio 2005 Pin
marcio kovags15-Mar-08 9:18
marcio kovags15-Mar-08 9:18 
GeneralRe: Executable icon in visual studio 2005 Pin
Mark Salsbery16-Mar-08 7:45
Mark Salsbery16-Mar-08 7:45 
QuestionHow to Merge two or more CImageList objects to a single one Pin
georgekjolly15-Mar-08 8:10
georgekjolly15-Mar-08 8:10 
AnswerRe: How to Merge two or more CImageList objects to a single one Pin
Rajkumar R15-Mar-08 10:34
Rajkumar R15-Mar-08 10:34 
AnswerRe: How to Merge two or more CImageList objects to a single one Pin
Mark Salsbery16-Mar-08 7:53
Mark Salsbery16-Mar-08 7:53 
GeneralRe: How to Merge two or more CImageList objects to a single one Pin
georgekjolly16-Mar-08 19:03
georgekjolly16-Mar-08 19:03 
GeneralRe: How to Merge two or more CImageList objects to a single one Pin
Mark Salsbery17-Mar-08 5:49
Mark Salsbery17-Mar-08 5:49 
GeneralCall MS ACCESS from dialog. Pin
Andrey2215-Mar-08 7:46
Andrey2215-Mar-08 7:46 

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.