New topic: Issues with Creating a Log File
<http://forums.realsoftware.com/viewtopic.php?t=38386> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message JayBird Post subject: Issues with Creating a Log FilePosted: Tue Mar 29, 2011 3:03 pm Joined: Thu Mar 17, 2011 6:12 pm Posts: 22 Hi All, In a VB program i created ages ago i had a bit of code that when i logged in it would print the date and time to a file each time a successful login happened: Code: Dim fHand As Integer fHand = FreeFile Open "C:\Logs\LOG.DD" For Append As fHand Print #fHand, "System Accessed at", Now & logentry Close fHand i cannot seem to do the same with RealBasic Code: Dim Creation as FolderItem Dim Saving as TextOutputStream Creation = SpecialFolder.Desktop.Child("Log") Saving = Creation.CreateTextFile saving.Write "System Access at" Saving.Write "" saving.close can someone please point me in the right direction Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
