New topic: File path question
<http://forums.realsoftware.com/viewtopic.php?t=44845> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message jerryab Post subject: File path questionPosted: Thu Jul 26, 2012 10:55 am Joined: Mon Dec 12, 2011 7:25 pm Posts: 37 Location: Grand Rapids MI Area Kinda feel dumb asking this but for some reason can't get it to work. I have a folder path that looks like this. CurrentWorkingDirectory = the programs default folder kPageHelpFolder = Docs (Sub folder and set as a constant) gPageHelpFileName = any file.ext (this global variable changes all the time) I'm not sure what I am doing wrong but the code below does not work. Dim f as FolderItem = SpecialFolder.CurrentWorkingDirectory.Child(kPageHelpFolder).Child(gPageHelpFileName) if f<>Nil then HTMLViewer1.LoadPage(f) end if _________________ iMac 27" (2.8GHz Intel Core i5, 16GB RAM, 1TB Drive) OS X Lion 10.7.3 Toshiba Laptop Running Windows 7 & WinXP SP3 REAL Studio Enterprise Edition 2011r4.3 http://www.theultimatecampgroundlog.com Being rewritten for the Mac 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]
