|
-
Oct 17th, 2006, 02:43 AM
#1
Thread Starter
Lively Member
[RESOLVED] Loading mswinsck.ocx with resource editor
Hey. I want to know how to make a program and when you click a button it extracts mswinsck.ocx to the current dir.
I tried:
Private Sub Command1_Click()
Dim x As String
x = LoadResData(101, "CUSTOM")
Open "mswinsck.ocx" For Binary Access Write As #1
Put #1, , x
Close #1
End Sub
and failed.
I opened the real mswinsck.ocx with UEdit and compared it to the one I extracted. It was exactly the same exept at the start, it had
". ...(c with a stroke through it)......" So I took that all out and it was exactly the same as the real mswinsck.ocx. How can I take it out? Or is there a better way? Ionno.
Last edited by skankerer; Oct 17th, 2006 at 02:59 AM.
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
|