Inserer feuille Excel dans FA Labview sous Vista et Seven

Bonjour,
je cherche à inserer dans une face avant une feuille Excel (eventuellement Open Office) sous Vista ou Seven. Je n'ai pas besoin des fonctionnalitées de macros ou de formules, juste de la facilité de saisie d'un tableau Excel (insertion supression de colonnes et lignes, redimensionnement facile).
Sous XP il y avait moyen d'utiliser un browser web dans un container mais cette fonctionnalitée ne semble plus gérée. Existerait t'il une autre solution?
Merci d'avance pour vos réponses
Sebastien DEVISSCHER - Nerys

Bonjour,
                    Office Web Components (OWC) est un groupe de composants OLE ( permet d'intégrer et de relier à des documents ) mis en œuvre comme les contrôles ActiveX dans Microsoft Office 2000, Office XP et Office 2003. Ces contrôles ActiveX peuvent être utilisés sur des pages Web, Visual Basic et VBA formes. L'OWC peut être utilisé par n'importe quel langage compatible COM. Des applications comme Excel, Access et FrontPage ont permis la création de pages Web interactives utilisant Microsoft Office Web Components.
                  Les Office Web Components ont été abandonnées dans Office 2007, et ne sont pas inclus, sauf une partie dans Microsoft Office Project Server 2007. Microsoft n'a pas encore offert un remplacement complet pour Office Web Components.
Si vous souhaitez continuer d’utiliser cette méthode, il va falloir chercher du coté de Microsoft.
Cf
http://support.microsoft.com/kb/972129/fr
             Les technologies Microsoft Office ne permettent pas directement d’utiliser en control ActiveX le tableur. Cependant, vous pouvez vous tourner du coté des contrôles Active X pour vous rapprocher le plus possible de votre besoin. Si vous le possédez, le report generation toolkit peut vous êtres utile (vous avez accès au diagramme en double cliquant dessus donc n’hésiter pas a comprendre comment les ActiveX sont utilisés).
Une autre solution qui peut vous être utile est d’ouvrir une fenêtre Excel dans une nouvelle fenêtre LabVIEW. Pour cela il faut utiliser la librairie User32.ddl.
Voici quelque lien pour vous aider :.
Use user32.dll and shell32.dll to Open, Edit, Print, Explore, and Find Files Based on Windows Defaul...
Find the Handle of an Open Window and Bring to Front
En vous inspirant spécialement de ceux-ci :
Bring Excel 2010 Window to Front Programmatically
Programmatically Copy and Paste Data in Excel
Si vous voulez que la fenêtre Excel s’ouvre dans une nouvelle fenêtre LabVIEW utiliser les fonctions suivante :
FindWindowsA
SetParent (utiliser la fonction SetParent permet de configurer la fenêtre parent d'une fenêtre pop-up).
FindWindowsExA
SetParent 0 (fermer la fenêtre).
Pour les utilisateurs utilisant windows XP et office 2007 voila les liens qui expliquent comment afficher un tableur Excel sur la face avant :
Using the Microsoft Web Browser Control to Embed an Excel Spreadsheet in LabVIEW
How to Import the excel sheet with its property
Labview 2010 activex container Excel 2007
Unable to find spreadsheet otion in ActiveX Control
Cordialement
Samuel G. | Application Engineer Team Leader
Certified LabVIEW Developer
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;}
Été de LabVIEW 2014
12 présentations en ligne, du 30 juin au 18 juillet

Similar Messages

  • Inserer une image dans un tableau sous Word (géré par Labview)

    Presque tout est dans le titre
    Je cherche, lors de la génération d'un document Word, à introduire une image dans un tableau.
    Je cherche désespéremment une façon de faire mais j'avoue que je tourne un peu en rond.
    Et encore mieux, est-il possible de fusionner des cases d'un tableau?
    Merci

    Bonjour Bysbobo,
    Je ne suis pas exactement sûr de comprendre ce que tu veux faire. Pourrais-tu illustrer avec des copies d'écran?
    Aussi, il existe un toolkit Géneration de Raports pour MS Office (Word,Excel), l'as-tu à ta disposition? Si oui ce sera beaucoup plus simple à mettre en place!
    NB : Je pense que tu devrais poster ton message sur le forum dédié à LabVIEW et non pas aux "Autres produits NI", tu aurais plus de réponses
    Bonne journée,
    M-Junior

  • Ecrire dans plusieurs feuille Excel appartenant au meme classeur Excel avec labview

    Bonjour à tous,
    J'ai un petit soucis avec labview, je voudrai écrire dans plusieurs feuille excel appartenant au même classeur mais je me confronte toujours au même message d'erreur dont le code est -2146777998.
    Je vous mets en pièce jointe un petit exemple de code rapide qui résume bien la situation avec le fichier excel ou j'aimerai écrire, si vous avez des idées je suis preneur.
    Cordialement.

    Désolé voici la pièce jointe.
    Cordialement.
    Attachments:
    Exemple.zip ‏99 KB

  • Conteneur ActiveX Excel sous vista

    Bonjour,
    Sous XP il est possible d'intégrer dans un conteneur Active X une feuille excel 2003. Malheureusement il semble que sous VISTA avec Excel 2007 il y ai eu quelques changements. Est ce que quelqu'un connaitrait le nom de l'ActiveX qui a remplacé le "Microsoft Office Spreadsheet".
    Merci 
    Sebastien DEVISSCHER - Nerys

    Bonjour,
    Merci d'avoir posté sur les forums NI.
    Si je comprends votre problème, vous souhaitez visualiser une feuille de calcul sur une FA.
    Pour ça, vous pouvez utiliser non pas un conteneur ActiveX, mais des Refnum d'Automation et afficher sous forme d'une simple table.
    L'exemple joint ouvre un fichier excel correctement, même 2007. Par contre n'ayant pas accès tout de suite à un PC avec Vista/Seven, je n'ai pas pu tester la compatibilité avec l'OS.
    Cordialement,
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer
    Pièces jointes :
    Read_Excel.vi ‏24 KB

  • Importer feuille excel avec formules dans Indesign

    Bonsoir,
    Alors voila j'aimerais transférer un fichier excel qui contient des formules assez complexes dans Indesign. Le tableau sera ensuite exporté en PDF balisé et contiendra une multitude de champs à remplir.
    L'importation d'un excel n'est pas compliqué, et bon nombre de tutoriels existent dores-et-déjà sur la toile. Par contre je ne trouve pas d'information (ou j'effectue mal ma recherche) qui explique comment garder les formules dans Indesign pendant l'importation.
    Actuellement je sais que Adobe Acrobat intègre des fonctionnalités avancés de formulaire où l'on peut faire du javascript et même du Excel. Cependant j'aimerais si possible éviter de faire deux fois le travail, et tout importer depuis Excel dans Indesign pour modifier l'aspect graphique et exporter le tout en PDF balisé.
    Pour ceux ou celles qui se posent la question du pourquoi Indesign ? C'est simplement parce qu'il offre plus d'outils graphiques que Excel.
    J’espère avoir été suffisamment clair, auquel cas n'hésitez pas !
    PS: Indesign n'est pas une nécessité, si je peux passer par un autre logiciel Adobe pour parfaire mon tableau excel, ça me va parfaitement.
    Merci !

    Ceci dit ! … A défaut de vous refaire La Joconde, un tableau est un tableau !
    Je ne m'appelle certes pas Léonard de Vinci, mais disons que je suis un plagiaire pas trop nul qui peut faire de "jolies" choses !
    Excel :
    InDesign :
    A noter que si La Joconde ne sourit plus, mon tableau fera de même !!!!
    [à l'attention de ceux qui n'aurait pas noter le "lien" entre le tableau dans InDesign et sa source Excel.]
    Bien évidemment, aucune intervention sur le tableau dans InDesign : il est brut d'import ! 
    En cas d'éventuelle modification du tableau dans Excel (cellule A1, avec incidence sur les cellules "à formule" C1, A6 et C6) :
    … Restera à mettre à jour le lien dans InDesign (panneau triangulaire d'avertissement) :
    Mona Lisa peut être jalouse et faire la tête ! 
    Mais, entre nous, mon tableau ne sera jamais aussi célèbre et ne restera connu que des quelques personnes ici présentes !
    L'ombre portée est en cadeau ! … La signature de l'artiste en quelque sorte ! 

  • Excel 97 avec labview 5.0

    Bonjour,
    Je désire lire une cellule Excel 97 avec LabView 5.0.
    Comment dois-je faire?
    Merci.

    Hello,
    I have LV 6.i, so I´m not sure if you have the same functions in LV 5.0 but I think so. To communicate with Excel, you can use the functions in the picture excel.jpg. Another way is to use ActiveX. You can find the functions in the picture ActiveX.
    For further informations you should be a little more exacter with what you want to do with Excel.
    Regards Thomas D
    Message Edited by ThomasD on 10-13-2005 04:03 AM
    Attachments:
    excel.jpg ‏60 KB
    ActiveX.jpg ‏53 KB

  • How can I creat or open an excel file in labview?

    I am using Labview 7.1 and report generation toolkit. I got the example code from this address :"Creating a report in Microsft excel using the labview report generation toolkit"
    But seems this example only can creat report when the excel file exist, otherwise it will get error code 7.
    How can I creat a new file if it doesn't exist and open the file if it exist? Can I creat a report without openning excel because I need to creat more than one report and check it after the test.
    Thanks

    Simply use the "Open/Create/Replace File.vi, and wire a constant "Create / Replace".
    Wire a path/filename and make sure the name ends with the extention .xls
    If you have multiple lines (likely), place aech line in an array and use the "Array to Spreadsheet String.vi" before sending it to "Write to file.vi". Don't forget to close the file.
    Hope this helps..
    JLV

  • Sous vista je ne peux pas installer le logiciel adobe downloader messCette application ne peut pas être installée car le programme d'installation n'a pas été configuré correctement. Veuillez contacter l'éditeur de l'application pour obtenir de l'aide ?

    Sous Vista je ne peux pas installer le logiciel Adobe Downloader , mon but est de télécharger premier élément 13 Le message d'erreru est :"Cette application ne peut pas être installée car le programme d'installation n'a pas été configuré correctement. Veuillez contacter l'éditeur de l'application pour obtenir de l'aide"?

    nanette01
    Premiere Elements 13 does not support Windows XP, Windows Vista, and Mac OSX 10.7.
    I have tried to push the Adobe ReadMe directive, using Windows XP as my test case. I could download
    Premiere Elements 13 tryout from Adobe to my Windows XP SP3 32 bit computer, but I could not install it.
    Please review and consider. Do you have Windows 7, 8, or 8.1 64 bit computer available to you for Premiere Elements 13?
    ATR

  • Import excel data for labview control

    I'm having some trouble importing excel data into labview. Goals: Input valve flow rates into excel, use those values to control DAQ, have user balance odor with excel defined flow rate, export balance data to excel. Here is what I have so far. Any help is greatly appreciated.
    Attachments:
    Intensity.vi ‏162 KB

    Where in the code are you reading from the Excel Spreadsheet? What VIs are you using? What are the problems are you experiencing (errors, unexpected values, etc.)?
    There is a Read From Spreadsheet File.vi in LabVIEW. LabVIEW uses ActiveX controls for .xlsx files, so saving the spreadsheet as a CSV file may be better for this VI. Try it out! See what happens.
    Here some more info on reading from spreadsheets:
    LabVIEW Manual: Read From Spreadsheet File VI
    KnowledgeBase article: How Can I Import Spreadsheet Files into LabVIEW using the .csv Format?
    Taylor B.
    National Instruments

  • How to open an excel file from labview?

    I tried to use "open file" vi from File I/O -- Advanced file functions to open an excel file in LabVIEW. Why the excel file wouldn't open after I run the program?

    In addition to ActiveX, you can also manipulate Excel data files using the Windows ADO interface - a technique that is more robust, faster and IMHO easier. Do a search on the forum as there have been several threads within the last week or so discussing this very thing.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • ITUNES A CESSE DE FONCTIONNER SOUS VISTA

    Bonjour,
    Nous avons un pc portable qui tourne sous vista. Nous synchronisons nos deux iphone sur le meme pc, j'ai donc créé 2 cessions d'utilisateur. Pour moi aucun probleme, mon iphone 4 se synchronise. Pour ma femme qui a aussi un iphone 4 c'est plus compliqué, Itunes plante à chaque fois de manière aléatoire pendant la synchronisation en indiquant "itunes a cessé de fonctionner" windows me propose alors de fermer. J'ai désinstallé puis ré installé itunes mais rien n'y fait. Merci pour votre aide.

    Bonjour,
    J'ai exactement le même souci .
    Exception sur sur matériel. Je possède un Iphone 3GS et mon pc tourne sous un Windows XP Pro.
    Idem rien y fait, même la manipulation indiquant de "retirer l'autorisation d'accès de cet ordinateur".
    Merci pour vos réponses.
    Cordialement.

  • Read an Excel cell using LabView

    Hello,
    I'm trying to read Excel cells with LabView, witch can be numeric data
    or text.
    I want to chose the Excel cell to read.
    I try to use AtiveX commands in order to do so, but it doesn't work,
    and I don't understand all concepts of activeX.
    I searched on the web, but I didn't find any simple example witch can
    run for me.
    Can we do it without activeX commands?
    Do you have any simple example to send me?
    Thank you for your help.
    Jean-Louis, France.

    Here is a simple VI that uses ActiveX to read an Excel cell. It is set up for string values, but it can be changed. If you get a broken run arrow, than you may have to reconfigure some of the propery nodes for your version of Excel.
    Attachments:
    Get_Excel_Cell_Sub.vi ‏99 KB

  • Viewing Excel Sheet in LabVIEW

    I have a series of MS Excel 2007 files (xlsx) that I would like to embed and view in LabVIEW 2012 by selecting them individually. Currently the only way I can see the Excel sheet in LabVIEW is to place my ActiveX container on the front panel and then 'Select ActiveX Object' followed by 'Create Object from File'. The Excel sheet then fills the ActiveX container and that is exactly what I want my front panel to look like. However, I do not seem to be able to 'Create Object from File' programmatically using Nodes and have to manually link each file to display my result in the ActiveX container. I am sure I am missing something and any suggestion on how to acomplish this programmatically would be greatly appreciated - thanks in advance!
    Original Excel file example
    Inserting an ActiveX container and selecting 'Create Object From File'
    Desired result below!
    Solved!
    Go to Solution.

    Jeff,
    I tracked that link down from nyc's broken one.  That kept wanting to open the Excel file in Excel itself, rather than in the web browser window.  BUT, there was a note in the help for one of the subVIs that said this "Note: If the Excel Workbook opens in a new window instead of the Web browser window, change the view options for the file type. From the Windows Control Panel, double-click Folder Options and click the File Types tab.  Select the .xls file extension and click the Advanced button. Place a checkmark in the Browse in same window checkbox.?
    In Windows 7, that option apparently doesn't exist, but it led me here, which told me to change the registry.  After doing so, the Excel file now opens in the embedded web browser. 
    Thanks, gentlemen.
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect

  • Time Capsule 4 gen. with iMac OS X Lion   3 Windows PC (XP OS, Vista OS, Seven OS) cable modem with TC as Wi-Fi. Time Machine on iMac found TC for backup easily. Have Wi-Fi access on PC XP with Airport utility but cannot create TC.

    Installed today Time Capsule 4 gen. with iMac OS X Lion. I also have  3 Windows PC (XP OS, Vista OS, Seven OS). Internet Access is cable modem with TC as Wi-Fi. Time Machine on iMac found TC for backup easily. Have Wi-Fi access on PC XP with Airport utility but cannot create TC. Does the Airport utility under Windows is way to access backup capabilities with TC ?

    The TC is really just an external networked hard disk plus router.. you can access the hard disk and place files on it from any computer. You can backup any computer to the TC but it will have to use a backup software in windows.. there are literally thousands available. The built in msbackup is horrible.. but you can download lots of different software and buy then online for not a lot. Macrium Reflect has a free disk image backup, and when you pay for it includes incremental. I think disk images are well worth it, as they recover much better.. and their is a proper method of recovery using a boot cd.
    BTW the TC space is not endless. And it is designed to hold a large number of incremental backups.. so anything you do in backing up several machines will make the number of backups limited. Remember you can also use a usb hard disk plugged in as a Network accessible disk. But it has to be formatted HFS+ or Fat32.. the later being highly undesirable.

  • Lire le contenu d'une cellule dans une feuille Excel

    Bonjour,
    Dans un fichier Excel, j'ai plusieurs feuilles, dans une des feuille (par exemple feuille: Dispersion) j'ai une cellule qui se situe à la colonne 3 et la ligne 5, cette cellule contient une valeur (par exemple 500). Donc depuis un VI, comment je peux lire le contenu de cette cellule pour sortir la valeur 500 ?
    Si je n'ai qu'une feuille je peux utiliser la fonction "Read From Spreadsheet File.vi" pour lire dans un fichier de format txt, mais ici j'ai une fichier Excel avec plusieurs feuilles dedans, comment je peux lire une cellule dans une feuille précise? Merci pour votre éclairage . Bon week end à vous tous.
    Solved!
    Go to Solution.

    Bonjour, Jetez un oeil sur ce lien.
    http://zone.ni.com/devzone/cda/epd/p/id/3409
    CLA 2014
    CCVID 2014

Maybe you are looking for

  • Error 1603 Installing Creative Cloud from Network Path

    I used the same method as I am going to describe below to install CS6 but I cannot do this with Creative Cloud. After I built a install Package for Adobe Creative cloud I copied it up to a network share that I use for several other remote installatio

  • How to open JTree in browser?

    Hi Friends, 1)I have a tree which is displayed using swing ,If i clicks on the node of the tree i want to display some details in a browser.How can i do it? 2)Is it possible to display a tree created by JTree in a browser

  • How to pass GUID in message mapping

    Hi ALL I would like to populate one of the target fields with SAP PI GUID or Message ID. Can you please let me know, how to get the GUID in my message mapping and map it to the target field. Thank you, Ritu

  • How to save table to file in Mobile 7.1

    Hello, We are using Mobile 7.1. We are trying to save the table context in the mobile client to the local file. We use a FileDownload element in the screen. The FileDownload is bound to a Resource attribute which contains the table data (as well as n

  • Unable to export image from Webi to  excel.

    Hi, Can any one provide solution for export image from webi to excel( 3.1 & 4.0). Thanks, Praveen