Looking for a way to register a Dll from Code and a second question please

R

Rocky

Hello friends;

1.I am looking for a way to register a .DLL from code or one of the forms
events. without the .Dll the form comes back with an error.
I can't include this in an installer package , but I don't necessarliy want
to install this application on every one's machine. I just want a user to be
able to see the functionality of the application.



2. Is there a list somewhere of the files needed to install access (.exe,
..dll, .mda, mdz, etc...)on a client machine so it can run an application. I
have the SDK, but looking for a custumized install with logo, and stuff.


Thanks

Rocky
 
S

Stephen Lebans

See Peter's sample MDB in the Developer Downloads section here:
http://www.papwalker.com/
DLL Heaven
Plagued by DLL Hell and broken references for custom controls and OLE
libraries? This may be the solution you are after.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
R

Rocky

No stephen; I am afraid it did not answer my question. I saw somewhere that
upon form open the ocx, and dll will get registered.

What about my second question any ideas?

Thanks
 
S

Stephen Lebans

Rocky the solution I pointed you to demonstates how to programmatically
register an OCX/DLL from a form's Load event which is exactly what you
asked for. Perhaps you need to restate your question with more
specifics.

As for your second question, some clarification on your part is
required. You state that you have the SDK but there is no SDK for
Access. AFAIK prior to A2003 there was a seperate Developer's edition of
Access and currently there are Access Developer extensions to Visual
Studio. Either solution includes a packaging wizard to aid in
redistribution. If this is not sufficient for your needs then you will
have to purchase a the third party commercial installation solution.


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Top