How to open GSView using ActiveX

Hi,
I implemented an auto print vi with microsoft excel and activeX.
Can someone teach me or guide me on how to open GsView files with extension ".ps"?
I want to do the same thing as the Print_File.vi.
I want to open the GsView file and auto print to the printer.
Can someone please help me.
thank you
I want to use this for Labview 7.0
Thanks
Best regards,
Krispiekream
Solved!
Go to Solution.
Attachments:
Print_File.vi ‏548 KB

i think i got it
thank you!!!
Best regards,
Krispiekream

Similar Messages

  • How to open workbook using rfc?

    I want to open workbook using RFC,how can i do it ?

    Hi,
    Do you mean directly opening from ABAP  backend without going to BEx Analyzer?
    Rgds,
    Murali

  • How to open files using cmd command?

    Hello... First:
    try {
    Process p = Runtime.getRuntime().exec("cmd.exe ?????");
    catch(Exception e){ }well... I'm trying to open files using a cmd command. It's working only oppening files on my own pc, but i need to know if i can open files using a localweb's pc, with the follow address, for example:
    "\\172.21.0.4\firstdir\seconddir\thirddir..."
    Thanks :D

    Gamboua wrote:
    normaly, i type \\172.21.0.4\dir\dir\dir... directly directly in my cmd.This only works because you are already running cmd.exe
    Try getting it to work with cmd.exe at the start of the line.

  • How to open Applications using Plugins

    How do I select a plugin to open an Application in the Applications options menu? For example I want MPEG movies to open with a plugin such as Quicktime Plugin or Windows Media Plugin or DivX WebPlayer Plugin instead of using an external media player. When I try to do this in the Applications menu the plugins do not show up unless they are already selected by default and when I try to go look for them using "Use Other ..." I cannot select them because they are not considered applications.

    Did you check under all other folders other than the 2 you have mentioned ?

  • How to open PDF using safari 5.1

    Please help. My internet browser (safari 5.xx) used to be able to open PDF files using the preview program. After I updated to Safari 5.1 it does not open it anymore in a safary window, instead every single pdf file gets downloaded. I tried the genreal fix of removing the adobe plug-in from the Mac HD -> Library -> internet plug ins file but it did not help. I would need Acrobat reader on my computer but I would like to use the preview program to view PDF files on-line. Please help  (It is a huge pain to delete every single PDF after I looked at it...)
    Under the USer -> Library-> internet plug ins folder there is nothing it appears empty.
    So any suggestions would be appreciated.
    Thanks

    Just to add to the annoyment. After trashing the Adobe reader 10.1 version and hoping that now everything went back to the original working order -- wrong. Now when I click on a PDF document, which used to open up till now in a new window, is simply getting downloaded and the new wndow remains blank... Maddening.
    Please sombody help.
    thanks

  • How to open files using the Windows associated program?

    I have a LV program that is generating a list of files that I may want to open using the associated Windows program. Some are standard Office files but others require proprietary analysis programs.  All have Windows associations such that I can double click on the file name in the Windows file manager and launch the appropriate program. I would like to mimic this behavior within my LV program but without coding a case for each file extension, some of which I may not anticipate now.

    There are some problems with that VI.  I have one user that I had to track a problem down with trying to open a PDF file.  Their registry key HKEY_CLASSES_ROOT\.pdf was read in with a value of "AcroExch.Document                 " (with a lot of spaces after it), which prevented this VI from finding the next key (AcroExch.Document\shell\open\command) which identifies the path to Adobe Acrobat.  Instead of getting the path to Adobe Acrobat, I got back "Adobe Acrobat 7.0 Document" as the path (see attached error).
    I checked the key with the Windows registry editor, and it did NOT show the extra spaces.  However, just opening the key and selecting OK (without making changes) was enough to clear the problem.
    Not sure if this problem is with the registry keys that Adobe Acrobat created when it was installed or upgraded (the user was on version 9.0, but there are older versions on that machine, too), or if the problem was with the LabVIEW registry key readers in Open a Document on Disk.vi.
    Message Edited by Joe Gerhardstein on 05-13-2009 03:13 PM
    Message Edited by Joe Gerhardstein on 05-13-2009 03:17 PM
    Joe Gerhardstein
    Averna Test Systems
    Certified LabVIEW Architect
    http://www.averna.com
    Attachments:
    Open a Document.jpg ‏82 KB

  • How to open MSWORD using JAVA/JNI and write the database entries into WORD

    Hi..
    I am searching for java codes that uses JAVA NATIVE INTERFACE (JNI) for opening MSWORD 2003.
    To be brief.
    I created HTML form called Employee_data.
    if i click on Submit button a word document should be opened.This should be using JNI.
    I have also created a servlet in jsp to process the form data and store it into database(mysql).;
    Please help me to find the codes to open MSWORD on submit click and to write the database entries into word file.Can i get the full code for that.This is so urgent.
    Thanks in advance.

    Hi Suresh,
    The easest solution I can think of is to copy the math equation from the PowerPoint then paste in the Word document directly, there's actually no way to convert it to plain text, some equation is very complext, String variable is not suitable in this case.
    For example, this code works fine:
    var powerPoint = new Application { WindowState = PpWindowState.ppWindowMinimized };
    var oPresSet = powerPoint.Presentations;
    Microsoft.Office.Interop.PowerPoint._Presentation oPres = oPresSet.Open(@"C:\test.pptx", MsoTriState.msoFalse, MsoTriState.msoFalse, MsoTriState.msoFalse);
    var strObj = oPres.Slides[1].NotesPage.Shapes[2].TextFrame2.TextRange.MathZones.get_MathZones();
    strObj.Copy();
    Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.Application();
    wordApp.Visible = true;
    Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Add();
    doc.Range(0, 0).Paste();
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to open and use mac outlook email file on pc

    I recently moved from mac to widnows platform. I have my emails exported from mac in a file and now when I try opening the file on windows pc, it simply
    does not recognize it as a valid file. what shall be done to get emails back?

    Hi,
    Based on the description, you seem to have an olm file? Please note Outlook for Windows can only import emails from pst files, olm files can't be imported into Outlook for Windows directly.
    A workaround is to setup an IMAP account in Outlook for Mac - it's better to be an empty new account, we can sign up one from many email providers. Then move all emails you need to migrate into that IMAP account. Outlook will
    start to sync, all the emails will be uploaded to the email server.
    The next step is to create that IMAP account in Outlook for Windows. After the emails are synced, we should find all these emails you need in the local .pst(Outlook 2010) or .ost (Outlook 2013) file.
    I hope this makes sense for you, if you have any questions about the steps, feel free to let me know.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • HT1660 I downloaded crayola copy print, and it seems to have downloaded fine, however I do not know how to open or use it on my 64bit PC

    I feel silly

    If you've bought/downloaded it from the iTunes store then it can only be used on an iOS device (i.e. iPhone, iPod Touch and/or iPad) it can't be used on PC or Mac - its requirements should be listed on the left-hand side of its description page in the store

  • How to run c   using dos box in mac

    I have installed dos box but have trouble finding how to open c++ using dos box. A blue screen of dos box appears what are we supposed to enter there to get in c++

    No XML required, but you must put the class into a package.
    Packages are folders with some files that identify whats in them, so you will end up with something like
    yourWebbApp/classes/yourPackage/yourClass

  • Can i open winamp using java?

    hi frnds,
    i want to know how to open winamp using javacode.......
    Thank u.

    JDIC
    https://jdic.dev.java.net/
    "This incubator project hosts the API to control the native music players, e.g. Winamp, Rhytmbox, iTunes, etc."
    https://jdic.dev.java.net/incubator/mpcontrol/index.html

  • How to use ActiveX to open/write to Excel template but not to overwrite it

    Hi there again (it's me...if anyone recognised me...)
    I managed to use ActiveX to open Excel and make it visible onto the screen. But I would like to know how can I make Excel open an Excel template and let me write data to the cells without overwriting the original template. I did try to use another program source such as the EXCEL TOOLKIT but I can't still figure out how does it work for my case. Is there a simpler example for me to refer too? Please help.
    Thank you,
    juni

    Hi Mike..
    I have tried to use the examples provided LabView 6.0. I don't understand how to use the Range value to get the data from my global array and also how to open the template and write data to it.
    At the moment, I could only open a saved dialog box and a default string filename is used to save my data into a new Excel but not the formatted excel which I want.
    If possible, please help again. Vi attached.
    Attachments:
    savefile.vi ‏109 KB
    datarecords.vi ‏12 KB

  • How to create a table in MS Access from Labview using ActiveX?

    I want to transfer datas from Labview to Access using activeX method. My only problem is to find out how to create a new table (array) in Access from the Labview program.
    Remarks: I use Labview 6i and MS Access 2000.
    For the moment I can write and read datas of Access from Labview.
    If someone could help me... that would be grate!

    This is off the Microsoft MSDN site "creating an external table". I think you can drop the last step.:
    Open the database you want to create the table in. If it is the current database, use the CurrentDb function to return an object variable that represents the current database. If it isn�t the current database, use the OpenDatabase method to open the database you want.
    Use the CurrentDb function to create a Database object that points to the current database.
    Use the CreateTableDef method of the Database object to create a table definition for the Microsoft Access table.
    Use the CreateField method of the TableDef object to create one or more fields in the Microsoft Access table.
    Use the Append method of the Fields collection to add the new field or fields t
    o the Microsoft Access table.
    Use the Append method of the TableDefs collection to create the Microsoft Access table.
    Use the TransferDatabase method to create the external table in the specified folder.
    Use the Delete method of the TableDefs collection to delete the Microsoft Access table definition.

  • How to use ActiveX Microsoft Office Excel Chart?

    Does anyone know how to use "ActiveX Microsoft Office Excel Chart" from CVI 7.0? I tried with following code but it did not draw anything.
    HRESULT MakeChartInExcelActivexCtrl(void)
    HRESULT error = 0;
    char szErrMsg[256];
    // Create a new chart with its own worksheet
    // ExcelRpt_ChartNew(workbookHandle,-1,&chartsheetHandle);
    SetWaitCursor (1);
    // Open new Range for Worksheet
    error = CA_VariantSetCString (&MyCellRangeV, EXCEL_ARRAY_OF_CELLS);
    error = Excel_WorksheetRange (ExcelWorksheetHandle, NULL, MyCellRangeV, CA_DEFAULT_VAL, &ExcelRangeHandle);
    CA_VariantClear(&MyCellRangeV);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    error = Excel_GetProperty (excelChart, NULL, Excel_WindowActiveChart, CAVT_OBJHANDLE, &ExcelChartHandle);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    // Create a XY scatter chart using the data we wrote to the worksheet as its data source.
    error = ExcelRpt_ChartWizard(ExcelChartHandle, ExcelWorksheetHandle, EXCEL_ARRAY_OF_CELLS,
    ExRConst_GalleryXYScatter, ExRConst_Columns, 0, 0, 0, 0, "Filtered Data Chart", "",
    "Weather Data", NULL);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    // Change the plot lines to not display markers and smooth out
    // the plot lines. This is one of the plot styles available in Excel.
    error = ExcelRpt_SetChartAttribute (ExcelChartHandle, ER_CH_ATTR_CHART_TYPE, ExRConst_XYScatterSmoothNoMarkers);
    if (error<0)
    CA_GetAutomationErrorString(status, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    Error:
    SetWaitCursor (0);
    CA_VariantClear(&MyCellRangeV);
    CA_VariantClear(&MyVariant);
    ClearObjHandle (&ExcelRangeHandle);
    ClearObjHandle (&ExcelChartHandle);
    ClearObjHandle (&ExcelChartObjHandle);
    ClearObjHandle (&ExcelChartsHandle);
    if (error < 0)
    ReportAppAutomationError (error);
    return 0;
    Attachments:
    excelActivexCtrl.zip ‏4692 KB

    I use C:\Program Files\National Instruments\CVI90\toolslib\activex\excel\excelreport.fp to  build/modify excel report.there is very detail configuration in this function moudule , hope it can help you 
    Sonic
    Diffrent Strokes for Different Folks

  • How use Activex of component Works in Microsoft Access

    How can I use Activex controls in the Access programing. i just need to read 10 digital lines
    Thank you

    Hello Javier02,
    Thank you for contacting National Instruments.
    If I understand your question correctly, you are trying to perform data acquisition via ActiveX controls in Microsoft Access.
    If you have LabVIEW, I would actually recommend writing a data acquisition VI (Virtual Instrument) in LabVIEW first. Then, attempt to use ActiveX controls to open and run LabVIEW within another program. If applicable, you may want to consider contacting Microsoft directly to determine exactly how to implement ActiveX controls within Access. The following example program will provide some guidance in calling LabVIEW from C++ using ActiveX:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E21356A4E034080020E74861&p_node=DZ52051&p_source=exter
    nal
    I hope this points you in the right direction.
    Matthew C
    Applications Engineer
    National Instruments

Maybe you are looking for