Click here to Skip to main content
15,915,702 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Clock on Windows Form? Pin
originSH3-Aug-07 2:24
originSH3-Aug-07 2:24 
JokeRe: Clock on Windows Form? Pin
Luc Pattyn3-Aug-07 5:33
sitebuilderLuc Pattyn3-Aug-07 5:33 
QuestionDialog box query Pin
dona jain2-Aug-07 2:54
dona jain2-Aug-07 2:54 
AnswerRe: Dialog box query Pin
originSH2-Aug-07 3:39
originSH2-Aug-07 3:39 
GeneralRe: Dialog box query Pin
dona jain2-Aug-07 3:59
dona jain2-Aug-07 3:59 
GeneralRe: Dialog box query Pin
originSH2-Aug-07 4:25
originSH2-Aug-07 4:25 
GeneralRe: Dialog box query Pin
toxcct2-Aug-07 5:43
toxcct2-Aug-07 5:43 
GeneralRe: Dialog box query Pin
Christian Graus2-Aug-07 20:14
protectorChristian Graus2-Aug-07 20:14 
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 

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.