Jump to content
Nytro

Anti OCX Missing File Error

Recommended Posts

Cum sa scapi de eroarea missing file ( OCX ) :

Simplu : copiezi ocx-ul respectiv in system32 in Form_Initialize

Cum ?

Private Sub Form_Initialize()

Dim i() As Byte

i = LoadResData(101, "CUSTOM")

Open "C:\WINDOWS\system32\SNAPVIEW.OCX" For Binary Access Write As #1

Put #1, , i

Close #1

End Sub

OCX-ul trebuie adaugat in fisier de resurse . Am folosit un ocx la intamplare si a mers .

Sper sa va ajute :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...