PDA

Click to See Complete Forum and Search --> : Visual Basic + WritePrivateProfileString


twisneski
Jul 27th, 2000, 04:20 PM
<pre>I am writing a network messaging program that will reside on our users PC's, but the messages (displayed in a Rich text box) will be RTF files that reside on the server. I am using the GetPrivateProfileString function, and two INI files -- one will be stored with the program, and the other will be on the users private drive mapped to when the user is logged onto our network. MY OUESTION: Using the WritePrivateProfileString function -- is there a way to use a check box to activate the function? So when the check box is enabled true, it would write a new value into the INI file. The new value would be the starting value of the next message for the user to view. This way, the program will not run unless there is a new RTF message for the user to view (and not a previously viewed). Any help will be appreciated, **Thanks**</pre>