Archive for the Category: Programming

ShellExecute in Delphi – Launch external applications.

Your Ad Here Executing external applications from Delphi can be very useful for a programmer. Imagine you want to call other applications from Delphi code, like backup utilities, text editors, music players, video players, word and excel documents, etc.. You can execute any external file by using the ShellExecute function present in the ShellApi library […]

Also posted in Delphi Tagged backup utilities, code execution, data segments, delphi code, dynamic link library, enough memory, pchar, shellexecute, text editors, uses clause, win32 exe 15 Comments

Oscam Version Auto Update on Dreambox

Your Ad Here Oscam is an open-source project and the developers constantly update the SVN. If you are a freak about having your devices up to date then you can use this script that downloads the latest version of Oscam for your box and installs it. Share: Bookmark on Delicious Digg this post Recommend on […]

Also posted in Cardsharing, HD Receivers, Oscam, Satellite, Set Top Boxes Tagged binaries, cronjob, custom scripts, developers, emu, emus, filecenter, index file, light distribution, mips, new location, open source project, svn, tar gz, time ie 74 Comments

Object Oriented Programming in Java

A few years ago I made my first attempt to learn the Java language, but as soon as I heard there were things called “Polymorphism” and “Abstraction” 🙁 I got really scared and assumed this language was too hard for me to learn. I couldn´t have been more wrong. The names are scary but their […]

Also posted in Java Tagged abstraction, encap, inheritance, instance variables, int age, java concepts, java language, java oo, object oriented programming, polymorphism, public string, string newname, variable age Leave a comment

Fix “Key Violation” on Paradox tables.

“Key Violation” errors occur whenever a new record is created with a primary key that already exists. This means that the field you defined as your primary key must be unique on the table. No other record can have that value, and it generates a “Key Violation” error when this happens. Share: Bookmark on Delicious […]

Also posted in Algorithms, Delphi, Paradox Tagged auto increment, delphi code, delphi programs, integer number, paradox table, paradox tables, primary key, violation error 13 Comments

How to compress/decompress multiple files using Delphi 7?

Sometimes, Delphi 7 programmers need to implement some kind of compression/decompression features in their programs. Imagine you need to make a backup of files, like paradox databases or making an import/export feature that needs several files. The best way to do this is using compression tools to archive all the files into one single exportable […]

Also posted in Algorithms, Delphi Tagged compression decompression, decompression features, delphi 7, paradox databases, zip ace 20 Comments