|
-
Feb 2nd, 2004, 08:55 PM
#1
Thread Starter
Frenzied Member
[VB] Loads Custom Resource data to file
'/*Loads Custom Resource data to file
Function rFile(index As Integer, sFile As String)
On Error GoTo DarnIt
Dim fn As Integer
Dim arr() As Byte
fn = FreeFile
arr() = LoadResData(index, "CUSTOM")
If FileExists(sFile) = True Then
Kill sFile
End If
Open sFile For Binary As #fn
Put #fn, , arr()
Close #fn
DoEvents
DarnIt:
End Function
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|