(0)| 1/23/2023 9:19 AM | |
|
Joined: 1/17/2013 Last visit: 1/19/2026 Posts: 1117 Rating:
|
Dear Denilson Pegaia, I had try to do this code in order to print the data on GSC same as in notepad but it have no data on GCS. How to display data on GSC same as notepad ? [Code] Sub OnLButtonDown(Byval Item, Byval Flags, Byval x, Byval y) Dim file_path,fso,fso2 file_path = "C:\test2.csv" set fso = CreateObject("Scripting.FileSystemObject") '1 = read, 2 = write, 8 = append Set fso2 = fso.OpenTextFile(file_path, 8, True) fso2.WriteLine "TEST TEST TEST" HMIRuntime.Trace vbNewLine fso2.Close 'Storage free Set fso = Nothing Set fso2 = Nothing End Sub [Code] Best Regards, Vorapob ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 01/23/2023 11:51:30New subject after splitting Best Regards, |
|
Follow us on