Foreword: Boys started learning VB6.0 by use of the previously used 3 years practical learning program, Step by step, from the EXCEL spreadsheet formula - & gt; EXCEL VBA program - & gt; ACCESS - VBA program - & gt; MS_SQL + ACCESS - VBA program, At present, there have been multiple small software in the actual operation of unit, mainly include: work plans, log management, object management, financial management, Are based on the background - MS SQL server + front ACCESS program,
Program to upgrade to the VB6.0 by use of reason, I have been to the program must rely on OFFICE2003 software,, Because, OFFICE2003 gradually behind the elimination, the difference is too big, an architecture in an basic to rewrite my software, So kick open OFFICE, using VB to write, Consider using VB2010 originally, but the feeling is so different with VBA syntax! Had to temporarily use VB6.0 by use first, at least, a lot of code can be directly copied,
Software architecture: Well! Directly hold a piece of software that our unit! 1, the background data using SQL server storage, 2, the front desk a main window, in which each functional module of the forms show, free open, switch, closed, 3, all sorts of function modules, ready to make a DLL, real-time running from the server to download,
Steps: 1, the main program - functions: A, connect to SQL server, complete the B, read the local configuration file content, complete, C, the login window, read the list of users, permissions, completed authentication codes, D, the program icon, study... E, the main window plan...
CodePudding user response:
Can consult everybody the teacher, EXE program on the same DLL at runtime:, downloaded to a local call, exit closes, delete the DLL file?
Well! I'm going to the terminal, there is only one of the main program EXE file, a CFG configuration files, terminal is not save DLL files, need from the server to download, run after the completion of the deleted, Because of considering, DLL file on the server can be upgraded at any time, every time to open the can real-time using the latest version,
CodePudding user response:
Icon fix: pentagram
CodePudding user response:
Can, of course, the question a lot, specific can oneself slowly to baidu
CodePudding user response:
Can, but need to dynamic load DLLS, seems to have some difficulty in implementation
CodePudding user response:
This is a typical plug-in architecture, increase the function you just need to download the DLL module, do not need to function can also be dynamic unloading,