Link to home
Start Free TrialLog in
Avatar of Sigh_Man
Sigh_Man

asked on

How to make a COMponent to allow other apps access to my app's functions

I have written a complete application in VB.Net.  Assuming I have a form: 'frmNewFolders' which contains a Function which creates 5 new folders in the directory named: strDirectoryLocation (a private variable declared in that form).  (The value of the 'strDirectoryLocation' string is set elsewhere within the application.)

How do I create a dll in order to access that form's 'CreateFolders' function?
Does the private variable strDirectoryLocation need to be declared as a Public variable before it will be accessible to other applications?
If someone has already installed my application, if I send them the necessary dll file what must they do to get the dll file to be recognised by their system/available to their other applications?
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial