Ce programme est une traduction en C# du programme VB http://www.vbfrance.com/code.aspx?ID=38656 Ce petit navigateur web repose sur le composant WebBrowser... Lire la suite
C'est une classe de point plus précise que la classe Point du framework parce qu'elle stocke ses coordonnées en float. Je l'ai premièrement... Lire la suite
Ce source permet d'activer un workflow à partir d'un fichier xoml et de son fichier de regles (.rules) sans avoir à le compiler. Le point clé est... Lire la suite
Bonjour, une petite tool pour gérer, manipuler et tester rapidement les expressions régulières - IsMatch : vérifie la validité d'une chaine entrée (ex... Lire la suite
Ce code créer une toolbar avec un dégrader transparent. Bien sur il y a des (deux pour l'instant) fenêtre dedant. En fait j'ai voulut créer une... Lire la suite
Je suis débutant en DirectX et j'ai trouvé que c'était dûr de commencer vu que l'info et les exemples ne courent pas les rues !. Je voulais... Lire la suite
Custom Configuration File C# J'ai voulu faire quelque chose de très simple, et finalement j'ai passé plusieurs heures dans la documentation avant... Lire la suite
Il y a 3 programmes: - Serveur - Client - Gestion des utilisateurs Ces logiciels utilise la classe Socket du .NET Framework en mode asynchrone. Les... Lire la suite
Il est parfois utile de pouvoir borner le temps que mettra une méthode à s'exécuter. Par exemple, on peut considérer qu'au delà de 30 secondes,... Lire la suite
Ce bout de code illustre les différentes façon de faire communiquer l'application hôte d'un workflow avec ses différentes instances, que cela soit... Lire la suite
Il y a ~10 mois j'avai posté sur VBFrance une source (la 1ere) traitant des CustomtaskPane dans Office 2007 et j'ai montré comment il était simple... Lire la suite
C'est en regardant un webcast des Mercredi du Développement sur la sécurité pour les développeurs qui m'a décidé à fournir cet exemple. Exemple... Lire la suite
Il s'agit des sources utilisées pour le post "XPath : utilisez des requêtes paramétrées" que vous trouverez ici : http://blogs.codes... Lire la suite
Cette source montre comment implémenter le pattern Asynchronous tel qu'il est décrit dans la MSDN (http://msdn2.microsoft.com/fr... Lire la suite
Bonjour a toutes et a tous, Voila en cherchant comment avoir des informations sur la batterie de mon pc portable j'ai fouillé un peu dans l'object... Lire la suite
Démonstration de l'utilisation de l'API du Firewall de Windows. Doc MSDN: http://msdn2.microsoft.com/en-us/library/aa366453.aspx La classe... Lire la suite
Bonsoir, je me suis posé la question de savoir si cela valait le coup de réaliser une application comme cela sachant que Access dispose d'outils de... Lire la suite
Bon voila! c'est un programme qui calcul l'échéance d'un crédit sur une durée avec un taux d'intérêts. Le fichier texte générer vous... Lire la suite
Qui n'a jamais rêvé de faire un memory à l'effigie de CodeS-SourceS? :-) Et bien votre rêve est désormais exaucé ! C'est donc un petit jeu... Lire la suite
Une question qu'on retrouve souvent sur le forum : Comment copier des données provenant d'un classeur excel vers SQL Server Voici une méthode... Lire la suite