16 Sept 2007

Form effects and navigation

Jettez un oeil là-dessus pour naviguer entre les Forms et ajouter des jolies effets de transition.
Check out this to navigate between your Forms and add nice transition effects.

http://www.aspecto-software.com/rw/applications/developer/flowfx/index.html

(thanks Peter for the link)

Autorun from flash

Windows Mobile supporte une manière automatique d'installer et de désinstaller des applications depuis une carte mémoire externe. Quand une carte est insérée dans le périphérique, l'OS récupère l'évènement et regarde si le répertoire suivant existe en fonction du type de processeur :

Windows Mobile supports an automated way of installing and uninstalling applications from removable external cards. When a card is inserted into a device the OS catches the hardware event and looks on the storage card for a directory that matches the processor type:
ARMV4 : 2577
X86: 686
ARM 720: 1824
MIPS: 4000
SH3: 10003

Si ce répertoire existe l'OS cherche un fichier nommé Autorun.exe et le copie dans le répertoire ‘\windows\autorun\Storage Card Name’. Une fois la copie effectuée l'application est lancée avec le paramètre ‘install’.
If this directory exists the OS looks for a file named 'Autorun.exe' and attempt to copy it to the ‘\windows\autorun\Storage Card Name’ directory. Once the file is copied it is executed with a single parameter string ‘install’.


Pour plus de détails :
For details:

http://msdn2.microsoft.com/en-us/library/Aa458062.aspx

11 Sept 2007

Vista compatible ?



95% des logiciels les plus vendus sur le marché Grand public Français depuis 2005 sont compatibles avec Windows Vista selon BenchExpert
95% of the software most sold on the French market since 2005 are compatible with Windows Vista according to BenchExpert


Microsoft vient de publier les résultats des tests menés par le laboratoire indépendant BenchExpert sur la compatibilité de Windows Vista. Cette étude porte sur les 300 logiciels grand public les plus vendus en France (selon GfK) entre 2005 et 2007. Les tests ont porté sur l’installation, le lancement et le bon fonctionnement des logiciels sélectionnés.
La liste de compatibilité et les résultats sont disponibles sur : http://support.microsoft.com/gp/VistaCompatibility/fr
En complément de cette étude, nous vous rappelons qu’un certain nombre d’applications ont également reçu un logo Certifié ou Compatible Windows Vista® et que d’autres liens intéressants sont à votre disposition :
La liste des applications ayant reçu le logo "Certifié pour Windows Vista®" est disponible à la page Webhttps://winqual.microsoft.com/member/softwarelogo/certifiedlist.aspx (en anglais)
La liste des applications ayant reçu le logo "Compatible Windows Vista®" est disponible à la page Webhttps://winqual.microsoft.com/member/softwarelogo/workswithlist.aspx (en anglais)
L’article en ligne pour vous aider à résoudre les problèmes de compatibilité des programmes dans Windows Vista® :http://support.microsoft.com/kb/927386/fr
Le pack de mises à jour de compatibilité des applications « March 2007 Windows Vista® Application Compatibility Update » qui résout certains problèmes de compatibilité applicative de Windows Vista® est disponible via l'article :http://support.microsoft.com/kb/932246/fr

Retrouvez régulièrement les informations à jour sur le Windows Vista Web Café http://www.windowsvistacafe.com/

2 Sept 2007

CF 3.5 Debug tools with VS2008 Beta 2

Les outils / Tools

Le CF 3.5 inclut des nouveaux outils de diagnostique et d'analyse des performances.
The CF 3.5 includes new diagnostics and performance tools.

  • Premièrement, si vous voulez avoir accès à tous les remote tools, vous devez désinstaller manuellement le CF3.5 et télécharger et réinstaller la version suivante:

    First of all, if you want to access to all the remote tools, you must manually uninstall the CF3.5 and download and install the following version :

    http://www.microsoft.com/downloads/details.aspx?FamilyID=1343d537-a62f-4a6e-9727-7791bf4cc2bd&displaylang=en

    Ensuite, vous disposerez de tous les outils d'aide au développement dans :
    Then, you will have all the tools to help the application development in :

    C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\bin

  • Le device Security Manager est intégré à VS2008.
    Device Security Manager is now integrated in VS 2008
    http://fabdecret.blogspot.com/2007/04/windows-mobile-security.html

  • Le Remote Performance Monitor est inclus dans VS2008.
    The Remote Performance Monitor is now included in VS2008


Cette application permet aussi de voir le GC heap toute la durée de vie de l'application avec les allocations du GC et les libérations de mémoire. Ainsi, vous pouvez analyser les allocations faites pour les objets.
This application can also show the GC heap over the lifetime of an application and the GC allocates and frees memory. Then, you can analyze objects allocations.
  • Device Logging Configuration tool

    Cette application permet d'activer ou de désactiver le réseau, le loader, native interop logging…
    The application allows you to activate or disable network, loader, native interop logging…



















                                      • Le CF 3.5 supporte le CLR Profiler, qui n'était disponible que pour le Framework dans les versions précédentes. Cet outil offre la possibilité de visualiser le heap managé d'un processus et d'analyser le comportement du garbage collector.
                                        The .NET Compact Framework 3.5 supports the CLR Profiler, which was previously available only with the full .NET Framework. The profiler enables you to view the managed heap of a process and investigate the behavior of the garbage collector.










                                      Grâce à cet outil les éléments suivant peuvent être visualisés (avec quelques copies d'écrans des fenêtres) :
                                      This tool provides viewing the following elements (with some screenshot of the window):




                                      • Histogram allocated Types
                                      • Histogram Relocated Types
                                      • Object by adress
                                      • Histogram by Address
                                      • Allocation Graph
                                      • Assembly Graph
                                      • Function Graph
                                      • Module Graph
                                      • Class Graph
                                      • Heap Graph

                                      • Call Graph
                                      • Time Line
                                      • Call Tree

                                      • Unit Testing pour Smartdevice, permet de tester votre application avec des tests unitaires. Vous pouvez lancer ces tests unitaires tout au long du cycle de développement.
                                        Unit Testing for Devices allows you to develop a suite of unit test to test your code. You can run the tests continuously during the developpement cycle.


                                      Avec Visual 2008 Beta 2 et le Compact Framework 3.5, il y a beaucoup de nouvelles améliorations et perfectionnements qui sont vraiment utiles pour le développement mobilité. Dès que vous l'aurez testé, n'hésitez pas à poster vos commentaires.
                                      There are a lot of new improvements and enhancements for mobile development that are really useful with VS 2008 Beta 2 and Compact Framework 3.5. As soon as you test it, do not hesitate to post your comments.

                                      VS2008 Beta 2 et le CF 3.5

                                      Voici un petit aperçu des nouveautés de VS2008 Beta 2 pour le développement mobilité (CF 3.5). Vous pouvez la télécharger ici:
                                      Here is a small description of the new features in VS2008 Beta 2 for the smartdevice development (CF 3.5). You can download it here:
                                      http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx

                                      Nouveautés pour la création de projets mobile:
                                      New projects wizard for mobile applications:


                                      Vous pouvez choisir la plate-forme et la version du Compact Framework désiré.
                                      You can choose the platform and the Compact Framework version you want.




                                      Compact Framework 3.5

                                      Le CF 3.5 inclut les nouvelles fonctionnalités suivantes :
                                      CF 3.5 includes the new following features:


                                      • WCF (Windows Communications Foundation)
                                        http://blogs.msdn.com/markprenticems/archive/2007/04/25/introduction-to-the-windows-communication-foundation-for-the-net-compact-framework-store-and-forward-messaging.aspx
                                      • LINQ (Language Integrated Queries)
                                        http://msdn2.microsoft.com/fr-fr/netframework/aa904594.aspx
                                      • Améliorations dans les Windows Forms
                                        Windows Forms the improvements :
                                        Les utilisateurs peuvent ajouter des graphiques aux:
                                        Users can now add graphics to:
                                        o System.Windows.Forms.TabPage
                                        o System.Windows.Forms.Panel
                                        o System.Windows.Forms.Splitter
                                        o System.Windows.Forms.PictureBox
                                        Les propriétés System.Windows.Forms.ComboBox.SelectionLength sont maintenant supportées.
                                        System.Windows.Forms.ComboBox.SelectionLength properties are now supported.
                                      • SoundPlayer
                                        Le .NET Compact Framework 3.5 supporte la classe SoundPlayer dans le namespace System.Media, qui permet de jouer plusieurs sons.
                                        The .NET Compact Framework 3.5 supports SoundPlayer in System.Media namespace, which enables you to play multiple sounds.
                                        http://msdn2.microsoft.com/en-us/library/system.media.soundplayer_members(VS.90).aspx

                                        Notez que la méthode Play joue le son dans un nouveau thread. Si vous appelez Play avant que le fichier de musique n'ait été chargé en mémoire, le fichier .Wav sera chargé avant que la lecture ne commence. Vous pouvez utiliser LoadAsync ou Load pour charger le fichier en mémoire par avance.
                                        Note that the Play method plays the sound using a new thread. If you call Play before the .wav file has been loaded into memory, the .wav file will be loaded before playback starts. You can use the LoadAsync or Load method to load the .wav file to memory in advance.

                                      • Compression
                                        Le Compact Framework 3.5 supporte les classes suivantes pour la gestion de la compression.
                                        The .NET Compact Framework 3.5 adds support for the following classes in the System.IO.Compression namespace:
                                        o System.IO.Compression.CompressionMode
                                        o System.IO.Compression.DeflateStream
                                        o System.IO.Compression.GZipStream
                                        De plus, la propriété System.Net.HttpWebRequest.AutomaticDecompression est dorénavant supportée.
                                        In addition, the System.Net.HttpWebRequest.AutomaticDecompression property is supported.

                                      • Les certifications coté client d'authentification des appels de Web Service sont supportées.
                                        Client-side certificates are supported to authentificate Web Service calls.

                                      • Le CF 3.5 fournit des nouvelles informations concernant le type de plate-forme, notamment si c'est une plate-forme de type PPC ou Smartphone ou WinCE.
                                        The .NET Compact Framework 3.5 provides new information about the platform type, specifically whether a platform is a Pocket PC or a Smartphone or Win CE.
                                        La variable contenant ces informations est :
                                        The variable containing this information is :
                                        SystemSettings.Platform with an enumeration type:
                                        o WinCEPlatform.PocketPC
                                        o WinCEPlatform.Smartphone
                                        o WinCEPlatform.WinCEGeneric

                                      • Les DelegatesSupport pour System.Delegate.CreateDelegate(System.Type,System.Object,System.Reflection.MethodInfo) ont été ajoutés au .NET Compact Framework 3.5.
                                        DelegatesSupport for System.Delegate.CreateDelegate(System.Type,System.Object,System.Reflection.MethodInfo) has been added to the .NET Compact Framework 3.5.

                                        http://msdn2.microsoft.com/en-us/library/74x8f551.aspx
                                      Avec Visual 2008 Beta 2 et le Compact Framework 3.5, il y a beaucoup de nouvelles améliorations et perfectionnements qui sont vraiment utiles pour le développement mobilité. Dès que vous l'aurez testé, n'hésitez pas à poster vos commentaires.
                                      There are a lot of new improvements and enhancements for mobile development that are really useful with VS 2008 Beta 2 and Compact Framework 3.5. As soon as you test it, do not hesitate to post your comments.