Discussion Locked

How to create libraries in VB6?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Wat is the best way to create a set of libraries to my programmers under this conditions?
1. No library source code should to be exposed to the programmers.
2. Library is still under construction, thus will be modified very often, ie: once everyweek.
3. Application will be deployed to user phase by phase, in other words, user will be using it while developers r still developing other logical modules.
4. only one EXE will be placed in the server (none in pc), all the 200+ pc will be executing the server EXE thru a shortcut icon on their desktop.
5. updating application DLLs shall not give too much hassle to pc user. preferebly updating EXE and DLL r transparent to users. updating of EXE can be done in the server without involving user pc.

4 replies

by madestroitsolutions

Well, this is how I would do it:

- Create DLLs (Dynamic link libraries) according to what they need, once compiled and placed somewhere where they can reference it, They cannot see the code, only call its methods.

- DLLs can be modified as much as you want, the only catch is however, that no one else should be using (referencing with a program) the DLL at the time you update it, or it will throw a "Permission denied" error when compiling. You must also set your project compatibility properties to "Binary". You can perform the update after everyone leaves. No problem.

- You must deploy your application using an installation package like the one that ships with vb. The catch is that you are not supposed to install it, but let them use it straight from the "support" folder that gets created when you make the setup package. This folder will contain your program's executable that will run without any installation. This is the file you want to create a shortcut to. This "support" folder must be placed on the server of course.

A final thought: Keep in mind that doing what you are requesting is ok for a small number of users (20-30), but if you are planning to do this for 100 or more users, then make sure your server is able to take the stress.

Hope that helps, and drop a line if further assistance is needed. By the way, I am a VB Programmer currently looking for a job, so If there is anything available, let me know, lol.

Good luck, bye.

This discussion is closed to new replies.