Am 05.06.2006 um 23:52 schrieb Jan Erik Moström:
Is it possible to create a file in RB that has no creator/type info?
I've tried a couple of ways but end up with "????" as creator and
type.
Any hints on how to do this?
There is always a type and creator value. You can test for generic
files with a extension only
Dim Generic As String = Chr(0) + Chr(0) + Chr(0) + Chr(0)
If File.MacCreator = Generic And File.MacType = Generic Then
// your code here
End If
and you can set the type and creator values
File.MacCreator = Generic
File.MacType = Generic
Hans-Georg_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>