How do create a File and add ResourceForks 
Author Message
 How do create a File and add ResourceForks

When I create a File it doesn't have a resourcefork
so I can't add something to it.

Is there a way to do that?



Tue, 26 Aug 2003 18:23:01 GMT  
 How do create a File and add ResourceForks

Quote:

> When I create a File it doesn't have a resourcefork
> so I can't add something to it.

> Is there a way to do that?

dim f as folderitem
dim rf as resourcefork

f = getsavefolderitem("text")
if f <> nil then
        rf = f.createresourcefork
        // add resources here
        rf.close
end if

Paul
--
                            PGP Key-ID:
0xF41FD1B1 (RSA), 0xAD888615 (DH/DSS) - <http://www.p-hink.de/pgp/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      <http://www.p-hink.de/>



Tue, 26 Aug 2003 23:25:25 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Dynamic File Create - IT CAN BE DONE!

2. Dynamic File Create - IT CAN BE DONE!

3. adding data to a created file

4. Add a possiblity to create new directories from within the Tk file browser

5. Doing a Clipper-installer, create GRP and INI

6. How to replace or create a file using the open/create/replace.vi

7. FolderItem.ResourceFork resfNum How ?

8. Writing to the resourcefork

9. dragItems and resourceForks

10. ResourceFork

11. Resourceforks

12. Resourcefork help

 

 
Powered by phpBB® Forum Software