G
Guest
Hi everyone,
I'm trying to set up a presentation slide on my touch-screen monitor where
people can type their contact info in the text-box by using the on-screen
keyboard. The problem I'm stuck with is that once the user hits the button
SAVE and the info is sent to my file, this info still stays in the text-box.
Is it possible to make it dissapear once it's saved, so next users can also
type their info?
Currently I use this routine to send info from the text-box to a file:
Sub SaveMe()
' ALL ON ONE LINE:
Call WriteStringToFile("C:\Temp\Infofile.txt",
ActivePresentation.Slides(1).Shapes("TextBox1").OLEFormat.Object.Text)
' Substitute the path/file.ext you want to use above
End Sub
Sub WriteStringToFile(pFileName As String, pString As String)
Dim intFileNum As Integer
intFileNum = FreeFile
Open pFileName For Output As intFileNum
Print #intFileNum, pString
Close intFileNum
End Sub
What and where should I insert in this code to make info dissapear once it's
saved?
Thank you and would really appreciate your suggestion,
Serge
I'm trying to set up a presentation slide on my touch-screen monitor where
people can type their contact info in the text-box by using the on-screen
keyboard. The problem I'm stuck with is that once the user hits the button
SAVE and the info is sent to my file, this info still stays in the text-box.
Is it possible to make it dissapear once it's saved, so next users can also
type their info?
Currently I use this routine to send info from the text-box to a file:
Sub SaveMe()
' ALL ON ONE LINE:
Call WriteStringToFile("C:\Temp\Infofile.txt",
ActivePresentation.Slides(1).Shapes("TextBox1").OLEFormat.Object.Text)
' Substitute the path/file.ext you want to use above
End Sub
Sub WriteStringToFile(pFileName As String, pString As String)
Dim intFileNum As Integer
intFileNum = FreeFile
Open pFileName For Output As intFileNum
Print #intFileNum, pString
Close intFileNum
End Sub
What and where should I insert in this code to make info dissapear once it's
saved?
Thank you and would really appreciate your suggestion,
Serge