Click here to Skip to main content
15,891,835 members
Home / Discussions / Windows Forms
   

Windows Forms

 
JokeRe: Dialog box query Pin
toxcct2-Aug-07 21:20
toxcct2-Aug-07 21:20 
GeneralRe: Dialog box query Pin
Christian Graus2-Aug-07 21:27
protectorChristian Graus2-Aug-07 21:27 
AnswerRe: Dialog box query Pin
toxcct2-Aug-07 5:41
toxcct2-Aug-07 5:41 
GeneralRe: Dialog box query Pin
dona jain2-Aug-07 18:48
dona jain2-Aug-07 18:48 
GeneralRe: Dialog box query Pin
toxcct2-Aug-07 21:18
toxcct2-Aug-07 21:18 
AnswerRe: Dialog box query Pin
Christian Graus2-Aug-07 11:05
protectorChristian Graus2-Aug-07 11:05 
GeneralRe: Dialog box query Pin
dona jain2-Aug-07 18:43
dona jain2-Aug-07 18:43 
GeneralRe: Dialog box query Pin
Christian Graus2-Aug-07 20:13
protectorChristian Graus2-Aug-07 20:13 
OK, so you *are* using Win32. The visual c++ forum is the best for this, although even then, you're in a severe minority to be using such an old approach to windows apps. Support for this is going to be very thin on the ground.

Now you'd just use standard c++ to save the values, using the classes I pointed you to the other day. Something like


#include <fstream>


std::ofstream file ("c:\\file.txt");

file << cName << std::endl;
file << cCompany << std::endl;

file.close();

This is standard C++, which I don't use much, so there may be some errors, you may need to check an online reference, or your books to get it exactly right.

Why do you need to use Win32 ? What a nightmare...





Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
GeneralRe: Dialog box query Pin
dona jain2-Aug-07 20:33
dona jain2-Aug-07 20:33 
GeneralRe: Dialog box query Pin
Christian Graus2-Aug-07 21:19
protectorChristian Graus2-Aug-07 21:19 
QuestionTables in RichTextBox Pin
Salman Sheikh2-Aug-07 2:17
Salman Sheikh2-Aug-07 2:17 
QuestionSmart Client Implementation Pin
Venkatesh Mookkan2-Aug-07 1:36
Venkatesh Mookkan2-Aug-07 1:36 
AnswerRe: Smart Client Implementation Pin
originSH2-Aug-07 3:46
originSH2-Aug-07 3:46 
GeneralRe: Smart Client Implementation Pin
Venkatesh Mookkan3-Aug-07 1:38
Venkatesh Mookkan3-Aug-07 1:38 
QuestionAdding Controls to UserControl / Component in VS Designer Pin
JamesParsons1-Aug-07 15:45
JamesParsons1-Aug-07 15:45 
AnswerRe: Adding Controls to UserControl / Component in VS Designer Pin
Scott Dorman1-Aug-07 15:52
professionalScott Dorman1-Aug-07 15:52 
QuestionDockable Windows and Tabs like Visual Studio Pin
JamesParsons1-Aug-07 14:10
JamesParsons1-Aug-07 14:10 
AnswerRe: Dockable Windows and Tabs like Visual Studio Pin
Scott Dorman1-Aug-07 14:54
professionalScott Dorman1-Aug-07 14:54 
AnswerRe: Dockable Windows and Tabs like Visual Studio Pin
Mike Hankey1-Aug-07 16:58
mveMike Hankey1-Aug-07 16:58 
AnswerRe: Dockable Windows and Tabs like Visual Studio Pin
JamesParsons1-Aug-07 19:11
JamesParsons1-Aug-07 19:11 
Questionconvert windows application to run using command line Pin
VK-Cadec1-Aug-07 8:50
VK-Cadec1-Aug-07 8:50 
AnswerRe: convert windows application to run using command line Pin
Christian Graus1-Aug-07 15:31
protectorChristian Graus1-Aug-07 15:31 
GeneralRe: convert windows application to run using command line Pin
VK-Cadec2-Aug-07 1:25
VK-Cadec2-Aug-07 1:25 
GeneralRe: convert windows application to run using command line Pin
originSH2-Aug-07 3:37
originSH2-Aug-07 3:37 
QuestionExe File Pin
dodoxor31-Jul-07 23:04
dodoxor31-Jul-07 23:04 

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.