Hi All,
This topic will teach you how to compile the Q-Xpress source code. Since I am releasing this code for general distribution
I only ask that if you use or modify any code that you credit me, and also that all official Q-Xpress bug fixes and patches get posted on this forum for rolling into the main source.
What you will need:- Visual Basic 6
- A knowledge of how to compile and build programs
That's basically it.
How to compile:- In the Q-Xpress Source folder, find the file "QXpress.vbp". Open this in VB6
- First, check "Project -> References"
- You must have the following ticked:
- Microsoft Scripting Runtime (C:\Windows\System32\scrrun.dll)
- Microsoft XML Version 2.0 (C:\Windows\System32\msxml.dll)
- vbAccelerator VB6 Subclassing and Timer Assistant (SSubTMr6.dll)
- MoleStudio MoleZip (MoleZip.dll)
- Next, check "Project -> Components". You must have the following ticked:
- Microsoft Internet Transfer Control 6.0 (C:\Windows\System32\MSINET.OCX)
- Microsoft Tabbed Dialog Control 6.0 (C:\Windows\System32\TABCTL32.OCX)
- Microsoft Windows Common Controls 6.0 (SP6) (C:\Windows\System32\MSCOMCTL.OCX)
- To compile, hit F5 or Shift-F5. If you get any errors, double check your references and components above
To build a setup package:There are 2 ways of doing this. The first is the standard NSIS NullSoft Installer way. This requires you to have NSIS installed. The second is the standard VB6 way.
To build the package using NSIS:- In the Q-Xpress Source folder, first:
- Copy QXpress.exe to the Install\Program folder
- Go into Install\vb6 and open up InstallScriptQX.nsi in a text editor
- Change the version number at the top
- Close down and run this install script with NSIS
- The resulting file will be in Install\vb6
To build using VB6:- Copy the QXpress.exe file to Package(2)\Support
- In the above folder, double click on QXpress.BAT
Credits:Thanks to:
- Jon @ ambience-design.com for the GUI desigh
- vbAccelerator, for the subclassing
- WinRAR, for the unrar.dll
- MoleStudio, for the unzip methods
- Microsoft, for VB6
- Anybody else who I missed
General note:This code is released as-is. I accept no responsibility for it, and it's messy and possibly hard to understand. Your usage may vary - You have been warned.
If you have any questions about the source code, or about functions or procedures or how it works, post a reply or a new thread in this forum.
The code can be gotten from: http://www.q-xpressinstaller.com/source/QXpress118src.rar (http://www.q-xpressinstaller.com/source/QXpress118src.rar)
Regards
Delphy