La fonction InstrRev recherche la position d'un caractère commencant par la fin Exemple d'utilisation: showmessage(inttostr(Instrrev(edit1.text,... Lire la suite
Mon premier code sur codes-source Qui n'a jamais eu de souci en voulant convertir une saisie utilisateur en flottant ? Ce code permet de convertir une... Lire la suite
cet exemple sert a connecté un client a un serveur via les composants ADO Lire la suite
Sert a obtenir le chemin des dossier spéciaux(temp, system, application data....). ça a sans doute déja été fait mais bon je l'ai fait pour moi ça peut... Lire la suite
Voilà une petite qui permet de voir comment fonctionne les directives de compilation. Conclusion : Dans les sources vous trouverez une petite aide sous... Lire la suite
Ce petit prog simule les mouvements et les appuis des boutons de la souris ainsi que de la molette avec un gamepad.Le code de base vient du prog de... Lire la suite
ElkPortNT est une librairie dynamique qui permet de communiquer directement avec les ports de votre PC,et particulièrement le port parallèle, et de piloter... Lire la suite
Voila quelques fonctions qui pouront rendre service à certains. Il y a 3 sortes de foctions : * fabriqués maison * modifiés maison * copiés sur... Lire la suite
Salut J'avait besoin d'une compression pour un autre code (sur ce site 30121), et je me suis dit autant commencer par les bases : Huffman & LZW.... Lire la suite
Ceux qui ont deja tapé dans l'invite de commande un tree >> repertoire.txt savent que le fichier est difficilement lisible par la suite, car plein de... Lire la suite
Réalisée a l'aide de delphi 7 et de l'unité Tidtcpserver Cette application a pour but de gerer les clients direct connect pour remplacer leur... Lire la suite
permet de changer les valeurs des données de type chaine en parcourant la totalité de la base des registres! Conclusion : en fait g utilisé Partition magic... Lire la suite
Bem voilà, comme certains le savent déjà, je ne fais pas de compos alors que je programme avec Delphi depuis 7 ans! Donc, je m' y suis mis pour savoir... Lire la suite
En utilisant le numéro de série de la clé USB et les événements liés a "WM_DEVICECHANGE", il est possible de créer un sytéme de protection intégré a un... Lire la suite
petit prog pour tester la fonction NetServerEnum de l'API windows Lire la suite
Ce programme permet d'utiliser une image web en fond de liste de MSN Messenger beta7 ou 6.2 (et precedentes). L'image est affichée dans un... Lire la suite
Bon, c'est un exemple tout con qui affiche dans une message box le temps depuis lequel le pc est allumé grave a la fonction gettickcount qui retourne... Lire la suite
C' est une fonction qui permet de copier un morceau d' un canvas vers un autre avec une vrai couleur de transparence (celle-ci n' est pas... Lire la suite
Ce code peut etre utilise dans l'ecriture d'un programme comme une fonction factorielle. Source / Exemple : ... ... Lire la suite
Prevoir un bouton et trois edit.text Source / Exemple : ... ... Lire la suite