mercredi 31 août 2011

serial de smart installer maker

logiciel pour creer des installeur de logiciel developé
phpbb3
Q8ZZZ-MV417-E0P2T-3MA3L-N24UV

mercredi 24 août 2011

autoluanch

le dossier C:\Program Files\Common Files\microsoft shared\Web Components
pt etre utilidrt pr accueilir des process qui se lance automatisqmnt
dc c un prblm de secu

excellente alternative au gestionnaire de tache

http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx


svchost +tool to define wuch process use it

http://www.howtogeek.com/howto/windows-vista/what-is-svchostexe-and-why-is-it-running/



bitcoin -miner 100% cpu usage

i have instaled an bitcoin client but i have prblm after removing it
the bitcoin process still exist
so to remove it use taskmanager and choos eproprity of process to find location

mardi 16 août 2011

rename file and count number in folder c#

to count files
  public int count_file(String folder)
        {
            int fileCount = 0;
              fileCount = Directory.GetFiles(folder, "*.*", SearchOption.AllDirectories).Length;
            return fileCount;
        }


to rename files :

    static void rename(string args)
        {

            try
            {

                DirectoryInfo di = new DirectoryInfo(@"C:\Users\");

                // Get a reference to each file in that directory.

                FileInfo[] fiArr = di.GetFiles("*.jpg");

                // Define an Integer Counter

                int i = 0;

                string path;

                // Display the names of the files.

                foreach (FileInfo fri in fiArr)
                {

                    //Console.WriteLine(fri.Name);

                    //Change the prefix to something that is not already there

                    path = @"C:\Users\" + i.ToString() + ".jpg";

                    fri.MoveTo(path);

                    i++;

                }


                Console.WriteLine("Done");

            }


            catch (Exception e)
            {

                Console.WriteLine("The process failed: {0}", e.ToString());

            }
            Console.Read();

        }


mercredi 10 août 2011

astuce google

pour voir les site ki pointe un url

use

link: www....

waiting or sleep pour une winform ou 1 wpf c#

pour les winform on utilise un timer
http://www.techotopia.com/index.php/Understanding_C_Sharp_GUI_Eventspour wpf on utilise un dispatcher
http://www.c-sharpcorner.com/UploadFile/mahesh/WPfTimer09292009090518AM/WPfTimer.aspx

!! si on uilise attente par boucle for ou par thread ca bloque la Form

configuration de framwork utilisé


dans le fichier csproj cas de c# on troucve config de framwk

pr configurer le framwork a utilisé clik droit sur le projet ==>propriete

Nombre total de pages vues