Using a DLL without registering it

NPhillips

New member
Local time
Today, 01:34
Joined
Dec 6, 2006
Messages
3
I am working in a fairly limited environment, and I do not have any administrative rights to the systems. Period. There is no way, no how, that I will ever be given rights (large governing body between me and the rights).

One of the projects I'm working on needs to use a 3rd party dll (XZip component from http://xstandard.com). But, without being able to register the dll, I can't seem to use the library (Runtime error 429, "ActiveX Component Cannot create object").

I am using sample code grabbed from another post here

Right now, it's an empty DB project, with one form, with a single button. OnClick runs this:
Code:
Private Sub Command0_Click()
    Dim cp As New XZip.Zip
    
    'Set cp = New XZip.Zip
    cp.Pack "C:\foo.xls", "C:\foo.zip"
    
    Set cp = Nothing

End Sub

I have added XZip via Tools>References, with no problem.

Also, this DB will be used by multiple persons, on different systems. We all have the same, limited setup.

Thanks in advance,
Nate
 

Users who are viewing this thread

Back
Top Bottom