نمی دونم مشکل شما با اون روش چیه ولی اون یه روش استاندارده .
با این :
Sub LoadCustom(Name As String, FileName As String)
Dim myArray() As Byte
Dim myFile As Long
If Dir(FileName) = "" Then
myArray = LoadResData(Name, "CUSTOM")
myFile = FreeFile
Open FileName For Binary Access Write As #myFile
Put #myFile, , myArray
Close #myFile
End If
End Sub
روش استفاده هم به اینصورته:
LoadCustom "101", windir & "Fonts\" & "tahoma.ttf"
البته فرض رو بر این گذاشتم که شما میدونی چطور یه ریسورس اد کنی و اسم اونو 101 بزاری