This project represents one of my first professional developments, created between 1999-2001 when I was 19 years old while living in CΓ³rdoba, Spain. Mega Contable 2000 was designed as an integrated management system for package and courier companies, developed during the transition period from the peseta to the euro.
Although the project faced commercial challenges at the time, it represents months of intense work and self-taught learning. Now, more than two decades later, I have decided to release the code as a historical testament to software development in the pre-mass-internet era and as an example of business applications from the late 90s.
Mega Contable 2000 is a complete shipment and package management system that allows:
- π Manifest Management: Creation and tracking of shipments with detailed control of packages, weight, mileage, and cash on delivery
- π₯ Customer Database: Complete CRUD system with advanced searches by multiple fields
- π° Rate Management: Price control with automatic Peseta/Euro conversion (1β¬ = 166.386 Ptas)
- π Statistics and Reports: Generation of daily and monthly reports with statistical analysis
- π¨οΈ Document Printing: Formatted listings ready for dot matrix printer
- Primary Language: QuickBASIC / QBasic
- Graphical Interface: NeoBook (Visual application builder)
- Database: Custom system with random access binary files (.CWT)
- Platform: DOS/Windows (compatible with late 90s systems)
- Architecture: Modular with independent executables for each function
MG2000/
βββ MG.PUB # Main interface (NeoBook)
βββ Manifests/
β βββ M.BAS # Create shipping manifests
β βββ M2.BAS # Read/Edit manifests
βββ Customers/
β βββ C.BAS # Add customers
β βββ C2.BAS # Read/Edit customers
β βββ C3.BAS # List all customers
β βββ C4.BAS # Search by last name
β βββ C5.BAS # Search by email
β βββ C6.BAS # Search by province
βββ Rates/
β βββ T.BAS # Add rates
β βββ T2.BAS # Read/Edit rates
β βββ T3.BAS # List rates
βββ Reports/
β βββ E.BAS # Monthly statistics
β βββ I.BAS # Print daily report
β βββ I2.BAS # Print monthly report
βββ Utilities/
βββ B.BAS # Delete/Clear manifests
The system uses custom binary files with .CWT extension (Custom Working Table):
- CLIENTES.CWT: Customer database (281-byte records)
- TARIFAS.CWT: Rate database (44-byte records)
- M[YY]G[MM]_[RR].CWT: Manifests (nomenclature: Year+Month+Record in hexadecimal)
Customer (281 bytes):
- Name: 20 characters
- Last Name: 30 characters
- Address: 65 characters
- City: 30 characters
- Province: 30 characters
- Phone: 12 characters
- Fax: 12 characters
- Email: 30 characters
- Notes: 65 characters
- Origin and destination control
- Delivery note registration
- Sender and recipient tracking
- Package and weight control
- Mileage calculation
- Cash on delivery management
- Pending payments
- Customer creation, deletion, and modification
- Searches by name, phone, or email
- Alphabetically ordered listings
- Province filtering
- Export to printer
- Daily average calculation
- Identification of peak shipping days
- Monthly totals
- Detailed reports by origin/destination
- Operating System: DOS 6.0+ or Windows 95/98/ME with DOS compatibility
- Memory: 640KB RAM minimum
- Display: 80x25 text mode with 16-color support
- Keyboard: Spanish layout recommended
- Printer: Dot matrix or plain text compatible (optional)
- Clone the repository
git clone https://github.com/[your-username]/MG2000.git-
To run on modern systems, an emulator is recommended such as:
- DOSBox: For complete DOS emulation
- QB64: To recompile .BAS files on modern systems
-
Run the main menu through the
MG.PUBfile (requires NeoBook runtime)
This project represents:
- Pre-Web Development: Example of business applications before the internet boom
- Structured Programming: Modular code in BASIC without object orientation
- Manual Data Management: Custom database implementation without SQL
- Classic User Interface: Text-based DOS UI
- Monetary Transition Era: Code that handled Peseta/Euro conversion
Developed during:
- The Spanish monetary transition (Peseta β Euro)
- The rise of private courier companies in Spain
- The pre-smartphone and pre-GPS era
- When email was a novelty in the business world
This project is released under the MIT license. After more than 20 years, the code becomes public domain for educational and historical purposes.
Jordi Cor Originally developed by Gehni Technologies (1999-2001) Released as open source in 2025
This project represents my beginnings in professional software development. Although the commercial experience was not what I expected, the technical and personal learning was invaluable. Each line of code here represents hours of self-teaching, problem-solving, and the passion of a young programmer to create useful solutions.
If you find this code useful, educational, or simply curious from a historical perspective, it will have been worth sharing with the community.
"Code is poetry, even when written in BASIC" π»
β If you find this project interesting from a historical or educational perspective, consider giving it a star.