Comment ouvrir automatiquement un type de fichier avec un programme?

Bonjour a tous,
J'ai développé un programme et j'aimerais pouvoir ouvrir automatiquement des fichiers avec mon soft. Que le type de fichier soit associé automatiquement à mon programme (Comme les .doc avec word etc...) et comment ça se code?
Suis-je clair??
D'avance merci.

bonjour je te propose :
1) création d'un type de fichier ".luc" par exemple
2) création d'un logiciel "mon application.exe"
3) sous windows il faut associer l'ouverture des fichiers de type ".luc" avec l'exe "mon application.exe", cocher l'option "toujours ouvrir avec"
4) dans le code de "mon application" ajouter la gestion d'ouverture via >> Application:Command Line Arguments Property, le deuxiéme argument est le chemin du ficheir
Application:Command Line Arguments Property
Returns an array of user-defined command-line arguments passed when LabVIEW launched.
User-defined arguments start after two hyphens (--) surrounded by spaces in the command line.
The first string in the array is the name of the executable launched. This property does not return the name of the VI launched or the LLB that contains the VI. If a user-defined command-line argument contains double quotation marks ("), this property returns the argument without the quotation marks.
If you use this property in a stand-alone application, you can pass all arguments as user-defined arguments so you do not need to enter the two hyphens before user-defined arguments in the command line.
This property is similar to the Pass all command line arguments to application option on the Advanced page of the Application Properties dialog box.
Luc Desruelle | Voir mon profil | LabVIEW Code & blog
Co-auteur livre LabVIEW : Programmation et applications
CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

Similar Messages

  • Comment ouvrir un vi 5.0 avec labview 11.0

    Bonjour,
    J'ai des vi trés anciens faits sous la version 5.0 de labview. Quand j'essaye de les ouvrir avec Labview 2011 il me dit que la version est trop ancienne.
    Y a t'il un moyen d'ouvrir ces fichiers?
    Merci de votre réponse.

    il existe un tableau pour savoir comment ouvrir
    http://zone.ni.com/devzone/cda/tut/p/id/8387
    Il te faut donc une 8.2
    il te faut donc trouver quelqu'un avec une LV8.2. faut faire un autre post...
    A+
    Luc Desruelle | Voir mon profil | LabVIEW Code & blog
    Co-auteur livre LabVIEW : Programmation et applications
    CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
    CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

  • Dans Adobe photoshop 12 je suis incapable d'ouvrir un Fichier.MTS le systeme m'informe qu'il me manque un CODEC je suis capable d'ouvrir le meme fichier avec le lecteur window média  je n'Ai pas de probleme avec les fichiers .MOV j'ai lu sur les forums il

    Dans Adobe photoshop 12 je suis incapable d'ouvrir un Fichier.MTS le systeme m'informe qu'il me manque un CODEC je suis capable d'ouvrir le meme fichier avec le lecteur window média  je n'Ai pas de probleme avec les fichiers .MOV j'ai lu sur les forums il me semble que j'ai un conflic de CODEC je suis incapable de solutionner SVP m'aider a corriger le probleme

    Ok, je n'avais pas ouvert ton fichier.
    Je pense que le problème vient plutot de la construction du cluster. Je suis même étonné que tu n'ais pas d'autres données propres au format Cluster.
    As-tu essayé soit d'appeler 3 fois ta fonction d'écriture (1 fois avant pour la donnée 8888 d'initialisation, 1 fois pr le tableau, et 1 fois pr la donnée de fin) mais je pense que cette solution n'est pas très optimisée côté performance.
    Ou sinon de modifier ton tableau en incluant tes données de début et fin directement dans le tableau avant de l'écrire dans le fichier?
    Je regarde de mon côté également.
    Cordialement,
    Olivier L. | Certified LabVIEW Developer

  • Bug? Fichier type ".fmp12" trouvable avec Spotlight , introuvable avec "FAVORIS Tous mes fichiers"

    iMac 21.5-inch, Mid 2010  Logiciel  OS X 10.8.5 (12F45)
    Bug? Fichier type ".fmp12" trouvable avec Spotlight , introuvable avec "FAVORIS Tous mes fichiers"
    Où est le problème  ?

    La réindexation de SpotLihgt n'a pas changé le comportement de la commande "Tous mes fichiers"
    Les fichiers avec le radical .FMP12 ne sont pas reconnus . Alors que toutes les zones de recherche qui utilisent SpotLight retrouvent les fichiers .fmp12.
    Et pourtant, les autres fichiers créés par l'application FileMaker version 10 et antérieures sont trouvés par la commande de recherche de la fenêtre "Tous mes fichiers" et pas les fichiers créés par FileMaker 12 Advanced.
    Problème non résolu.

  • Depuis quelques temps, lorsque j'ouvre Bridge, mes photos s'affichent avec un filtre rouge, comment y remédier.  Les polices de caractères sont beaucoup plus grosse que la grosseur demandé.

    depuis quelques temps, lorsque j'ouvre Bridge, mes photos s'affichent avec un filtre rouge, comment y remédier.  Les polices de caractères sont beaucoup plus grosse que la grosseur demandé.
    J'ai un imac, j'utilise Maverick et j'ai Photoshop CS6

    Illustrator CC uses the Pantone Plus series, there is no CMYK definition for the spot colours in these series.
    The CMYK conversion is now based on the CMYK profile in your Color Settings.
    This is a good thing, since most of the Pantone colours cannot be accurately reproduced in CMYK, colour management provides a way to simulate the spot colours as close as possible for your combination of ink, paper and press.
    The CMYK values that were previously given by Pantone were just one way of simulating the spot colours and would give different results when another ink, paper, press combination was used.
    Sometimes the CMYK values from Pantone were completely off and you give a perfect example with the Pantone 1797 U colour.
    Printing that ink on uncoated stock would never give you such a bright saturated red as the Pantone provided CMYK values would suggest
    If you want to have a better preview of the colour, use the Overprint Preview option, that comes closer to the final printed result. The Overprint preview in CC and CS versions give s you an almost identical preview (almost because the Lab values differ slightly).
    There are ways to use the old libraries, but why should you if Pantone itself stopped giving CMYK numbers?

  • Comment récupérer et copier un fichier avec DataSocket

    Bonjour,
    J'utilise LabVIEW 8.6 et la fonction DataSocket pour récupérer des données sous format texte; en utilisant une URL ex: ftp://ftp.ni.com/support/00LICENS.txt[text]  
    Est -il possible de récupérer et copier sur mon disque ce fichier avec cette fonction DataSocket?
    Merci.
    Pièces jointes :
    datasocket ftp.vi ‏9 KB

    pour que tout soit plus clair, j'aoute le liens vers le thread concerné : http://forums.ni.com/t5/Discussions-au-sujet-de-NI/T%C3%A9l%C3%A9charger-des-fichiers-sur-un-serveur...
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Comment créer une dll sous labview avec plusieurs fonctions venant du même VI et possédant un tabcontrol ?

    Comment créer une dll sous labview avec plusieurs fonctions venant du même VI et possédant un tabcontrol ?

    Bonjour,
    L’utilisation d’une « commande d’onglet », ou « tabcontrol », ne pose pas de problème pour la définition d’une DLL à partir d’un VI.
    Selon la version de LabVIEW que vous utilisez, le processus de création de DLL sera différent.
    Si vous utilisez une version antérieure à la v8, vous pouvez vous reporter à ce lien : Construire une DLL avec LabVIEW 7.0.
    Sinon, vous devez enregistrer votre VI dans un projet, puis définir le connecteur de votre VI avec les paramètres d’entrées/sorties (cette opération est indépendante des différentes « commandes d’onglet » que vous avez pu implémenter).
    Sélectionnez, dans le projet les « spécifications de construction » dans le projet (via un click droit), pour créer une DLL. Dans la boite de dialogue qui s’ouvre alors, à l’onglet « fichiers source », vous pouvez ajouter votre VI parmi les « VIs exportés » et configurer, en fonction des E/S câblées sur le connecteur de votre VI, les fonctions contenues dans la DLL.
    J’espère que ces quelques éléments auront pu vous éclairer.
    Cordialement,
    Guillaume H.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

  • Cutover from manual document type to automatic document type

    Hi, has anyone ever cut over from manual to automatic document type?
    (I have seen the opposite, where an automatic document type becomes manual. It was successful)
    Eg in a data migration, to populate some interunit elimination history data (but avoiding runnnig tasks on history), we could post intrerunit via PL20 flexible upload to a 'manual' document type.
    Then before first use of BCS tasks in the system, change the document type from manual to automatic.
    i can't see any reason why it would not work, will need to be tested of course.
    Any experience or comments out there?

    Thanks guys, I've been too busy to test this but I'm very sure it does work and I also checked with SAP and they agreed.
    So closing the message - I'll only update this message if it does NOT work as expected.

  • Je possède un macBook Pro et un IPad. Je voudrais savoir comment transférer et lire des fichiers Excel et Word de mon mac vers mon IPad ? Merci des réponses

    Je possède un macBook Pro et un IPad. Je voudrais savoir comment transférer et lire des fichiers Excel et Word de mon mac vers mon IPad ? Merci des réponses

    Il y a beaucoup des petit logiciels pour iPad.
    Par example le App Goodreader: installez Goodreader sur l'iPad.
    Connectez l'iPad à iTunes et clickez l'icone de iPad. Allez sur le page "Apps", en bas de cette page il y a un boxe avex goodreader indiqué: à droite ajoutez les fichiers qui vous voulez lire sur l'iPad, ils sont sur l'iPad immédiatement et définitif.
    Après sur l'iPad ouvrez Goodreader et voilà on peut les lire.

  • Comment traduire une page web complète avec Safari?

    Comment traduire une page web complète avec Safari?
    sur PC je traduit avec Google traduction, mais il n'est pas accessible sur le iMac.
    J'aimerai avoir l'équivalent sur Mac : Traduire des pages web entière automatiquement.

    Comment traduire une page web complète avec Safari?
    sur PC je traduit avec Google traduction, mais il n'est pas accessible sur le iMac.
    J'aimerai avoir l'équivalent sur Mac : Traduire des pages web entière automatiquement.

  • Comment désactiver l'infobulle qui apparait avec l'outil de déplacement dans adobe photoshop Cs6

    Bonjour,
    comment désactiver l'infobulle qui apparait avec l'outil de déplacement dans adobe photoshop Cs6 ?

    Do you mean
    Photoshop > Preferences > Interface > Show Transformation Values > …

  • In wms continuous to the automatic storage type and bin in the  destination

    hi
    Thanking for givining the solution ,In continuous to the automatic storage type and bin in the  destination your telling that fixed bin should be enter in the wm2 view in the mm01 ,
    i am not   getting fixed bin means  which bin should i enter in the mm01  wm2 view can explain clearly.
    thanks

    First you create your WM views in MM01 with just entering the warehouse number but no storage type in the organisation pop-up.
    Once you have done this and saved the material master, you do again MM01 for the same material number and select the WM 1 and 2 view and enter the warehouse number AND the storage type number in the organisation pop-up.
    Now SAP gives you some more fields in WM2 view. AMong them the fields you are looking for.

  • Comment reduire la taille d' un fichier PDF

    Comment reduire la taille d' un fichier PDF, j' ai télechargé acrobat XI pro

    Salut,
    Menu Fichier : Enregistrer-sous un autre : Fichier PDF Optimisé
    Plus de détails ici :
    http://help.adobe.com/fr_FR/acrobat/using/WS58a04a822e3e50102bd615109794195ff-7c88.w.html# WS58a04a822e3e50102bd615109794195ff-7c87.w

  • Comment envoyé une donnée via rs232 avec labview

    Salut, comment envoyé une donnée via rs232 avec labview ?
    Hello, how given sent via rs232 with labview?
    Solved!
    Go to Solution.

    You can use the LabVIEW example for "Basic Serial Write and Read." In the English LabVIEW it is found here:
    Vous pouvez utiliser l'exemple LabVIEW pour "SerialBasic écrire et lire." Dans le LabVIEW anglais, il se trouve ici:
    Zach P.
    Product Support Engineer | LabVIEW R&D | National Instruments

  • J'ai supprimer un compte utilisateur mais ces fichier sont toujours dans mon mac comment je peux supprimer tout les fichier de cette utilisateur de mon mac .merci

    J'ai supprimer un compte utilisateur mais ces fichier sont toujours dans mon mac comment je peux supprimer tout les fichier de cette utilisateur de mon mac .
    Ces fichiers occupe un grand espace de mémoire ou est ce que je peux les trouver et comment les supprimer . merci 

    You have better chances of receiving useful answers if you post your question here
    http://forums.adobe.com/community/general/forum_comments
    or here
    http://forums.adobe.com/community/adobe_digital_editions
    And don't forget there is a forum in French here:
    http://forums.adobe.com/community/international_forums/francais

Maybe you are looking for

  • What's the difference between BB10 London and Liverpool?

    What is the difference between BlackBerry London and BlackBerry Liverpool? I'm having a hard time with this. Thanks! Solved! Go to Solution.

  • FM vendor_bdcdata

    Hi how to write program using FM vendor_bdcdata for upload the vvendor master data. Please help me on this. Moderator message - Moved to the correct forum Edited by: Rob Burbank on May 4, 2009 9:40 AM

  • How to select an item from dropdownbox

    Hi all I have two dropdownlistbox. When I select an item in the first box,according to the selection, I have to add items in the second dropdownlistbox. I want the implementation of the onClientSelect="javascript:Sample();" of the first dropdownbox "

  • Financial Report/Batch report deletion by mistake

    Hello Gurus, We seemed to have deleted one of the Financial Reports and one batch report from the Workspace folder. Is there any way to check and see if it is stored in some place in the hyperion directory. Thanks

  • In CS6- Acrobat Pro X

    In CS6 - was Acrobat Pro X been updated - don't want to install if nothing has been done.