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

    Forget about GetPrivateProfileInt :), I got it to work but I have one problem....

    I get False or True when I use GetPrivateProfileString, but how can I read a value from it...I can write a value to ini but how can I read that value and display it in text1.text...not True or False but string itself

    Thank You


  2. #2
    Join Date
    Sep 1999
    Location
    Germany
    Posts
    66

    Re: Forget about GetPrivateProfileInt :), I got it to work but I have one problem....

    The return value is the number of characters copied to the buffer.

    You need check 4-th parameter (lpReturnedString).

    [email protected]
    http://vbcode.webhostme.com/

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