CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    This is really annoying me!

    Ok I have a timer.exe and timer.ini
    I double-click the timer.ini and I see value in it. Now I double-click the program and launch it. Double-click the timer.ini again while timer.exe is working and I see nothing...no value that was originally there, no nothing!!! My program reads from timer.ini on Form_Load() and I think it erase everything in the timer.ini after timer.exe had been loaded, but I want the value to stay in timer.ini after my program had been loaded, how can I do that?


  2. #2
    Join Date
    Jan 2000
    Posts
    7

    Re: This is really annoying me!

    Andy,

    A couple of things to check for....
    1) Did you close the file...notepad is notorious for giving false information on open files.
    2) Are you accidently opening in read/write or even output mode?

    Besides that, just single step the opening and reading of the ini and make sure that it is not being ""ed out.

    Good Luck,

    Joe Lively


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