New topic: HTMLviewer fails loading "file:///..." on Macintosh
<http://forums.realsoftware.com/viewtopic.php?t=32283> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message Bad_Wolf Post subject: HTMLviewer fails loading "file:///..." on MacintoshPosted: Mon Feb 01, 2010 12:08 am Joined: Fri Sep 30, 2005 4:19 pm Posts: 222 Location: European Community Hello everyone, I develop my applications on Windows. They are using .html files for logging the programs actions. Those html files are stored on the local users disk. This is the URL : file:///D:/Projecten/Alvirek/SignWerX/SignWerX_UserData/P_Logs/Session_Logs/Kermit_XY_#20100201_8#.html On Windows this works fine but on Macintosh the page will not load at all. Do you know the reason why a perfectly working HTMLviewer on Windows does not work on Macintosh? Thank you in advance and have a nice day. Friendly greetings, Bad_Wolf City Hopper Mbombela Top DaveS Post subject: Re: HTMLviewer fails loading "file:///..." on MacintoshPosted: Mon Feb 01, 2010 12:12 am Joined: Sun Aug 05, 2007 10:46 am Posts: 2018 Location: San Diego, CA try taking the extra / out file:// not file:/// plus on a MAC there is no such thing as "D:" _________________ Dave Sisemore MacPro, OSX 10.5.8 RB2009r5.1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top Bad_Wolf Post subject: Re: HTMLviewer fails loading "file:///..." on MacintoshPosted: Mon Feb 01, 2010 12:29 am Joined: Fri Sep 30, 2005 4:19 pm Posts: 222 Location: European Community Hello Dave, Thank you very much for your very fast reply. On this moment I am on Windows and pasted the URL of the Windows version onto my post. However when I use the program on Macintosh, it uses the Mac location, so there will not a "D:" in that URL. But because I am using Windows now, I could not copy the Mac URL (I am working on a laptop and my Mac is 8 km further away). Those session logs are stored in a directory. What the program does is getting the names of all those logs, put them in a combobox with the newest frst. So when the user choose an URL (name) the location is assembled again and the page is loaded. Works on Windows without error. So I believe that your suggestion to leave out an "/" will possibly and hopefully work. Thanks again for your help and have a nice day. Friendly greetings, Bad_Wolf City Hopper Mbombela Top tomis Post subject: Re: HTMLviewer fails loading "file:///..." on MacintoshPosted: Mon Feb 01, 2010 3:54 am Joined: Thu Jul 27, 2006 6:31 pm Posts: 1581 Location: Monterey, CA How are you obtaining the path exactly? The folderitem class has functions to get the path in the proper format for you. This assumes you've set up your folderitem to point to the correct location in the first place of course. _________________ ImagePlay Effects Library (40+ image effects in one open source module. No plugins, no dependencies, no restrictions.) http://imageplay.sourceforge.net/ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- 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]
