Click here to Skip to main content
16,016,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: search on start menu Pin
Nelek16-May-07 1:32
protectorNelek16-May-07 1:32 
QuestionHow to add a character in the begin and end of the string? Pin
ashokbngr15-May-07 23:21
ashokbngr15-May-07 23:21 
AnswerRe: How to add a character in the begin and end of the string? Pin
toxcct15-May-07 23:27
toxcct15-May-07 23:27 
AnswerRe: How to add a character in the begin and end of the string? Pin
Nibu babu thomas16-May-07 1:36
Nibu babu thomas16-May-07 1:36 
AnswerRe: How to add a character in the begin and end of the string? Pin
krmed16-May-07 1:52
krmed16-May-07 1:52 
AnswerRe: How to add a character in the begin and end of the string? Pin
balu chettri17-May-07 6:17
balu chettri17-May-07 6:17 
QuestionBarcode scanning using TWAIN Pin
kk.tvm15-May-07 22:13
kk.tvm15-May-07 22:13 
Questioninterface and main in VC++2005 Pin
lavy288315-May-07 22:05
lavy288315-May-07 22:05 
Helo...I have my inteface in c++ and I want to take the data from the interface in the main program like this:

int main(array<system::string ^=""> ^args)
{
// Enabling Windows XP visual effects before any controls are created
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// Create the main window and run it
Application::Run(gcnew Form1());
int container = Convert::ToInt32(forminterface::Form1::ContainerWidthtextBox, System::Globalization::CultureInfo::CurrentCulture);
.........}

in the interface I have a TextBox...ContainerWidthtextBox in which I introduce the data ...haw can I use this value in my main ....because it doesn't let me to use:

int container = Convert::ToInt32(forminterface::Form1::ContainerWidthtextBox->Text, System::Globalization::CultureInfo::CurrentCulture);

it give me an error like Error 5 error C2227: left of '->Text' must point to class/struct/union/generic type
please help me.......
AnswerRe: interface and main in VC++2005 Pin
Hamid_RT15-May-07 22:11
Hamid_RT15-May-07 22:11 
AnswerRe: interface and main in VC++2005 Pin
Cedric Moonen15-May-07 22:15
Cedric Moonen15-May-07 22:15 
GeneralRe: interface and main in VC++2005 Pin
lavy288315-May-07 22:19
lavy288315-May-07 22:19 
Questionhow to display html Pin
john563215-May-07 20:53
john563215-May-07 20:53 
AnswerRe: how to display html Pin
Hamid_RT15-May-07 20:58
Hamid_RT15-May-07 20:58 
QuestionRe: how to display html Pin
john563215-May-07 21:13
john563215-May-07 21:13 
AnswerRe: how to display html Pin
Hamid_RT15-May-07 21:42
Hamid_RT15-May-07 21:42 
QuestionRe: how to display html Pin
john563215-May-07 21:59
john563215-May-07 21:59 
AnswerRe: how to display html Pin
Hamid_RT15-May-07 22:09
Hamid_RT15-May-07 22:09 
QuestionI have to automate telnet process in VC++ ,Need Help Pin
yaminisridaran15-May-07 20:14
yaminisridaran15-May-07 20:14 
AnswerRe: I have to automate telnet process in VC++ ,Need Help Pin
dharani16-May-07 18:21
dharani16-May-07 18:21 
Questionwhat is wrong in this code Pin
prathuraj15-May-07 20:06
prathuraj15-May-07 20:06 
AnswerRe: what is wrong in this code Pin
Cedric Moonen15-May-07 20:26
Cedric Moonen15-May-07 20:26 
AnswerRe: what is wrong in this code Pin
CPallini15-May-07 20:37
mveCPallini15-May-07 20:37 
AnswerRe: what is wrong in this code Pin
Hamid_RT15-May-07 20:51
Hamid_RT15-May-07 20:51 
GeneralRe: what is wrong in this code Pin
prathuraj15-May-07 21:17
prathuraj15-May-07 21:17 
GeneralRe: what is wrong in this code Pin
Hamid_RT15-May-07 21:43
Hamid_RT15-May-07 21:43 

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.