New topic: 

File writing problem. Different format?

<http://forums.realsoftware.com/viewtopic.php?t=45568>

         Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic          Author  
Message        simulanics          Post subject: File writing problem. 
Different format?Posted: Tue Oct 09, 2012 5:59 pm                         
Joined: Sun Aug 12, 2007 10:10 am
Posts: 746
Location: Boiling Springs, SC                When I load a file into a string, 
then rewrite the file back to disk, the file cannot be read and has a different 
icon. Apologies...I'm more of a mobile...linux..and windows guru :-p

Here is a screenshot to show you what I mean.

The two files are "Untitled.rbp" and "Untitled3.rbp"

And I keep seeing something about "UnsupportedFormatException" for one of my 
listboxes?

Also...it appears RS 2012 has a problem with versioning? 0.0.0???

      
_________________
Matthew A. Combatti
Real Studio 2011 r4.3
Visit Real Studio Developer's Spot!
Systems:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8 Beta
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS
~All REAL Compatible~  
                             Top                npalardy          Post subject: 
Re: File writing problem. Different format?Posted: Tue Oct 09, 2012 7:25 pm     
                  Real Software Engineer          
Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7464
Location: Canada, Alberta, Near Red Deer                simulanics wrote:When I 
load a file into a string, then rewrite the file back to disk, the file cannot 
be read and has a different icon. Apologies...I'm more of a mobile...linux..and 
windows guru :-p

Here is a screenshot to show you what I mean.

The two files are "Untitled.rbp" and "Untitled3.rbp"

And I keep seeing something about "UnsupportedFormatException" for one of my 
listboxes?

Also...it appears RS 2012 has a problem with versioning? 0.0.0???



1) check the two files mac type & creators (while deprecated it's still often 
used)

2) no idea about UnsupportedFormatException except it may have to do with a 
file path name ?

3) no clue what you mean about versioning - where ?      
_________________
My web site Great White Software
RBLibrary.com REALbasic learning  
                             Top                simulanics          Post 
subject: Re: File writing problem. Different format?Posted: Tue Oct 09, 2012 
8:28 pm                         
Joined: Sun Aug 12, 2007 10:10 am
Posts: 746
Location: Boiling Springs, SC                npalardy wrote:simulanics 
wrote:When I load a file into a string, then rewrite the file back to disk, the 
file cannot be read and has a different icon. Apologies...I'm more of a 
mobile...linux..and windows guru :-p

Here is a screenshot to show you what I mean.

The two files are "Untitled.rbp" and "Untitled3.rbp"

And I keep seeing something about "UnsupportedFormatException" for one of my 
listboxes?

Also...it appears RS 2012 has a problem with versioning? 0.0.0???



1) check the two files mac type & creators (while deprecated it's still often 
used)

2) no idea about UnsupportedFormatException except it may have to do with a 
file path name ?

3) no clue what you mean about versioning - where ?


App.(major/minor/bug) all return 0 (see screenshot window title bar)

So what would the mactype and creator be for RBP, RBO, and zip files
Be? I am lost at the moment.      
_________________
Matthew A. Combatti
Real Studio 2011 r4.3
Visit Real Studio Developer's Spot!
Systems:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8 Beta
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS
~All REAL Compatible~  
                             Top                npalardy          Post subject: 
Re: File writing problem. Different format?Posted: Tue Oct 09, 2012 9:42 pm     
                  Real Software Engineer          
Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7464
Location: Canada, Alberta, Near Red Deer                simulanics 
wrote:App.(major/minor/bug) all return 0 (see screenshot window title bar)

Doubtful since the RB IDE uses them itself

simulanics wrote:So what would the mactype and creator be for RBP, RBO, and zip 
files
Be? I am lost at the moment.
try RbBf for MacType and RBv2 for MacCreator 
And they ARE case sensitive

Zip files could actually be type ???? creator ????

These are more legacy settings than anything BUT some versions of OS X will 
still use them.
Apple is deprecating their use in favour of UTI's (but that another whole long 
explanation)      
_________________
My web site Great White Software
RBLibrary.com REALbasic learning  
                             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]

Reply via email to