Outils pour utilisateurs

Outils du site


programmation_windows_trucs

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
programmation_windows_trucs [2007/03/31 17:04] – créée thierryprogrammation_windows_trucs [2008/09/20 23:29] (Version actuelle) thierry
Ligne 1: Ligne 1:
 ====== Windows Trucs ! ====== ====== Windows Trucs ! ======
 +
 ===== Perl: installer un module ===== ===== Perl: installer un module =====
 Installer le module Win32-API par exemple: Installer le module Win32-API par exemple:
Ligne 6: Ligne 7:
  
 Et voila. Et voila.
 +
 +
 +
 +
 +===== Creer un Widget (pour Vista) =====
 +
 +http://odetocode.com/Articles/463.aspx
 +
 +Fichier: ''gadget.xml''
 +  <?xml version="1.0" encoding="utf-8" ?>
 +  <gadget>
 +  <name>  TITRE_ICI  </name>
 +  <namespace>  NOM.Gadgets  </namespace>
 +  <version>1.0.0.0</version>
 +  <author name="Thierry Jaouen">
 +    <info url="www.thierry-jaouen.fr" />
 +  </author>
 +  <copyright>&#169; 09-2008</copyright>
 +  <description>  DESCRIPTION  </description>
 +  <hosts>
 +    <host name="sidebar">
 +      <base type="HTML" apiVersion="1.0.0" src=" LA_SOURCE_HTML.htm" />
 +      <permissions>Full</permissions>
 +      <platform minPlatformVersion="1.0" />
 +    </host>
 +  </hosts>
 +  </gadget>
 +
 +Fichier: ''LA_SOURCE_HTML.htm''
 +  <html xmlns="http://www.w3.org/1999/xhtml" >
 +  <head>
 +  <meta http-equiv=Cache-Control content=no-cache />
 +  <meta http-equiv=Pragma content=no-cache />
 +  <title>  TITRE </title>
 +  <link href=" FICHIER_CSS.css " rel="stylesheet" type="text/css" />
 +  <script language="JavaScript">
 +  <!--
 +  function doLoad()
 +  {
 +    setTimeout( "refresh()", 30*1000 );
 +  }
 +  
 +  function refresh()
 +  {
 +    window.location.reload( true );
 +  }
 +  -->
 +  </script>
 +  </head>
 +  <body bgcolor="#000000" onload="doLoad()" >
 +    <img border="0" src="http://www.thierry-jaouen.fr/cgi-bin/UNE_IMAGE.gif" />
 +  </body>
 +  </html>
 +
 +Fichier: ''FICHIER_CSS.css''
 +  body
 +  {
 +        width:130;
 +        height:60;
 +        background-color:Black;
 +        border:0;
 +        padding:0;
 +        margin:0;
 +  }
 +
 +Compresser chaque fichier:
 +  $ zip -j FICHIER.gadget FICHIER_CSS.css LA_SOURCE_HTML.htm gadget.xml
 +
 +Le fichier "FICHIER.gadget" peut être installer sous Vista (Click droit => Installer)
 +
programmation_windows_trucs.1175360642.txt.gz · Dernière modification : 2007/03/31 17:04 de thierry