CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    May 2004
    Location
    Germany
    Posts
    16

    Red face Save data for next session

    Hi, i just switched from VC6 to .NET 2 (2005 edition). Besides a lot of other things i have problems to get used to the all new techniques. I want to store a value in a dialog for the next session with my app.
    Befor i used WriteProfileInt from the Windows SDK i.e. and in the OnInitDialog i loaded the value with GetProfileInt from the SDK.
    What do i have to do in .NET?
    I read something about configuration .config XML files etc. but did not find a easy way to store the data when exiting the app.

    Please help
    Last edited by gintonic42; September 27th, 2006 at 05:32 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured