Start CVI application when particular file type is double clicked

I'm developing using Labwindows/CVI 2013 on Win7
I'm trying to get my installed Labwindows/CVI application (the app is called KSALogViewerV100) to run when a file with a particular extension is double-clicked.
I went to Control Panel:
Control Panel\All Control Panel Items\Default Programs\Set Associations
I found my extension (.klg) and and clicked Change Progam, then Browse and navigated to:
C:\Program Files (x86)\KSALogViewerV100 and selected KSALogViewerV100.exe
So far so good.
But when I open Explorer and find a file like MyFile.klg and double click it I get this:
Any ideas what I'm doing wrong?

OK, my bad, I was mis-handling the argc, argv stuff and overwriting a string.
Now when I double-click a .klg file the appliction comes up just fine.  The full path-name of the file I double-clicked is in argv[1].
Not sure I followed you though--
Are you saying I should not have to go into control panel to associate .klg file types with my KSALogViewerV100.exe application?
Kirk

Similar Messages

  • How do you make console apps the default application for a file type?

    I have a console movie player, mplayer, that I like a lot. I've compiled it from source on my intel core2 macbook pro and it works fine. There is no gui, but to play movie files you open up a terminal and type the command mplayer /path/to/file. I would like mplayer to play a movie file automatically when I double click on the file, but I can't seem to figure out how to do it. I tried setting it in the file info dialogue, but when I go to the path of the binary I want, it is not selected. How can I set a console app as my default application for my file type?

    there is a GUI mplayer for OS X. why don't you use it instead of the command line one?
    if you insist on using the command line mplayer then the only way to do this is to put a GUI wrapper on it. this can be done with automator or apple script for example. but really, why don't you just use the GUI mplayer?

  • Blocking Lab Office to a particular file type

    Can anyone help me to know HOW CAN WE LOCK A LAB/OFFICE TO A PARTICULAR FILE TYPE SO THAT IT DOSEN'T GET INTO ANY OTHER  LAB/OFFICE.
    Ex:
    File Type: TPT
    Lab/Office Avilable
    201
    202
    203
    I want File Type TPT to go only to Lab 201 it should not accept any any other Lab/Office.
    Thanks in advance.
    Regards,
    Kumar.

    Hi,
    Not possible in standard SAP.
    Implement BADI Document_ Main02
    MEthod - Before SAVE.
    Restict user when saving for Document type- TPT and LAB office- 201
    Regards,
    Nitin

  • I can open my new InDesign files by going up through the menu and opening that way, but when I try to just double click on an InDesign file I get error messages telling me that certain plugins aren't available.

    I upgraded my Mac a few weeks ago to 10.10.2 Yosemite, and I joined the Adobe cloud so I could get access to all the new apps. I read a blurb somewhere about converting older InDesign files to the new CC version I'd have to open the old files in my old InDesign CS3, export to an ins file, then open that file in the new InDesign CC, then export it again to an idml file, then open that file and you shouldn't have any of the usual conversion problems. For the first few files I had to convert, it worked just fine. Now for some reason, whenever I try to open one of these converted files just by double-clicking on the file itself, I get an error message that says, "The document ____ uses one or more plug-ins which are currently not available on your system. Do you want to open anyway?" When I click OK, then I get another error message that says, "Cannot open ____. Please upgrade your plug-ins to their latest versions, or upgrade to the latest version of Adobe InDesign." I thought this CC version of InDesign was the newest. Can somebody please tell me what gives with this? Any help will be very much appreciated.

    Did you reinstall CS3 after CC?
    For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
    And you shouldn't need to save as IDML after opening the .inx in CC.

  • Type Tool does not select type by double clicking or click and drag. (Windows CS 5 V15.1)

    Hi,
    My Type Tool does not select type by double clicking or click and drag. (Windows CS 5 V15.1). This is what I have tried so far and the problem still exists.
    Check preferences for "Text": "Select text-object by path only" should be off. Checked. It was off. Didn't fix it.
    Check the toggle for Show/Hide Edges in the View menu. Cmd(Ctrl)-H. Checked. Edges Showing. Didn't fix it.
    Trashed my Prefeerences. Didn't fix it.
    Any other suggestions out there?
    Thank you!!!

    I figured it out! I feel pretty silly, but I will share this in hopes of helping the next person :/ Here goes. Don;t laugh to hard!
    It was the leading! The space between the two lines of text was less than half of the point size of the actual text. So it looked like two lines but there was actually 3.
    Geeze, I'm embarrassed! Thank you for suggesting that I may not need to recreate the entire document, but start with the text, input manually again (even on a new layer, to match the original), which lead to a fix!
    Thank you!!!

  • How to execute a PBO, when i'm handling a double click?

    Hi Master,
    I'm playing with a Dynpro, and inside it, there's a OO ALV, and some fields, like, "name" and "last name", the idea, is: when the user does a double click on the ALV, it will handle the event, and set the dynpro's field from the selected data of the alv..
    well, I have done the handle of the double, click, and the logical, is storing in the fields the DATA from the ALV... BUT.... the event is no happening in PAI and no in PBO... so... I want to refresh the Dynpro (execute a PBO) for show the fields than now have information.
    There's a Method for it???
    Regards.

    You can call the method
    REFRESH_TABLE_DISPLAY inside the event
    that will take care , and it will refresh and show latest data.
    Refresh ALV grid control
    DATA l_stable TYPE lvc_s_stbl.
      l_stable-row = 'X'.
      l_stable-col = 'X'.
      go_alv->refresh_table_display(
         EXPORTING
                is_stable = l_stable ).
    No need of PBO in this case.

  • Why can't i open .html the file just by double clicking it???

    I have Mozilla fire fox windows 8 . whenever I open a .html file it opens the home page instead the file. then I have to go to file then open file then pen the file . it is very tideous. why can't I open the file just by double clicking it?

    Try to redo the default browser setting and temporarily set another browser as the default browser.
    *https://support.mozilla.org/kb/how-make-web-links-open-firefox-default
    *https://support.mozilla.org/kb/setting-firefox-default-browser-does-not-work

  • FIREFOX 4 CRASHES WHEN I USE THE "BROUSE" MODE TO SELECT A PROGRAM TO OPEN A PARTICULAR FILE TYPE

    USING TOOLS-OPTIONS- APPLICATION BRINGS UP THE PANEL TO SELECT PROGRAMS FOR EACH FILE TYPE. SELECTING "USE OTHER" BRINGS ANOTHER PANEL WITH VARIOUS OPTIONS. NONE OF THESE ARE APPROPRIATE FOR MY SITUATION. AS SOON AS I CLICK "BROWSE" FIREFOX CRASHES. THE SAME THING HAPPENS IF I SELECT AN ATTACHMENT FROM AN EMAIL AND TRY TO CHANGE THE ASSOCIATED PROGRAM BY USING "BROWSE" TO FIND AN APPROPRIATE PROGRAM.

    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    See also http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0
    Disable the Java Quick Starter extension: Tools -> Addons -> Extensions<br />
    Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * [[Firefox crashes]]
    Create a new profile as a test to check if your current profile is causing the problems.
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Launch Application when .txt file is clicked. (2nd .txt invocation prob.)

    Hi,
    I have mapped the document type (.txt) extension with my application's .exe file, so that it will open .txt file in my editor. Everything works fine when I m double clicking any .txt file in explorer. It is launching my application and opening that .txt file in my editor. Now the problem is, when the application is already open, and I try to click some other .txt file to open in my editor, it is getting launched in separate JVM/process through public static void main(String[]). So it is getting opened in another JFrame. I want it to be opened in the old JFrame only.
    Please help me out to solve this problem.
    Thanks and Regards,
    Hitesh

    I haven't looked at tiger so I don't know how it
    solves this problem but a method I have used in the
    past is to associate the file extension with a small C
    program that attempts to open a local socket. If it
    fails the app is not running so the C program starts
    it (your Java app). You have a thread that listens on
    the local port and awaits the necessary command line
    args or whatever to be sent through.
    Bit messy but it works. We bundled the C .exe into
    the installshilnd nonsense etc etc. Worked fine.That's what i had put appart when i said 'there seems to be no simple way to achieve this'.

  • Getting path to application associated with file type

    Hello,
    I'm looking for a platform-independent way to get path to application associated with given file type. Desktop API introduced in JSE 1.6 seems to do this, but it only lanuches the app.
    Any suggestions will be apprecieted

    Okay then, how can I open the file in it's associated
    application AND get the Process object of app's
    instance?If it doesn't bother you that the app will only work on windoze, then you can use the shell "start" command on the file.
    Process proc = Runtime.getRuntime().exec(new String[]{"cmd", "/C","start",filePath});However waitFor() will only wait for the process to be launched, not completed. Since your program doesn't know what Windoze will choose to launch, this makes sense.

  • How do I set a unix executable file as a default application for a file type?

    I have a bunch of files all with the same extension, abc. I compiled a program, xyz, from source (using MacPorts) to run through these files. Everything works great. The program is in /usr/local/bin/
    From a terminal window:
    /usr/local/bin/xyz ./somefile.abc
    How do I get xyz to launch .abc files from Finder by double clicking on them? If I "Get Info" for any .abc file, and go to the "Open with:" section, my program xyz is not there. If I click on "Other...", xyz is nowhere to be found and /usr/local/bin is not navigable.
    How do I get xyz in the Applications list?

    Platypus was exactly what I was looking for. To those who are interested:
    The script type I used was Perl.
    Create a new script:
    #!/usr/bin/perl
    system("/usr/local/bin/xyz '@ARGV[0]'");
    Make sure to Accept dropped items.
    I also changed the Output to "None", unchecked "Remain running after initial execution", and checked "Run in background".
    Thanks so much!

  • Assigning default applications across multiple file types

    I prefer to use VLC to watch video files, but I keep running into different file types that are still set to have Quicktime open them. Is there any way to quickly set whatever file types I want to open by default with VLC? Or any program for that matter?

    Has anyone noticed that recently this doesn't always seem to work?
    I have a webloc file for BBC Radio 4. (*) I have set the "Open with" to open it with Real Player, rather than Safari (which is set as the default browser). When the file is double clicked, it still opens with Safari.
    This behaviour seems to since 10.5.8, since I had a Hot Key set to open the file and it worked fine before.
    Any ideas?
    (*) this url should display on one line:
    http://www.bbc.co.uk/radio/aod/mainframe.shtml?http://www.bbc.co.uk/radio/aod/ra dio4.shtml?listen

  • Problem when syncing; file type not supported by iPod...

    I imported a new CD into iTunes today and when I hooked-up my iPod and tried to sync it with iTunes I received an error message on 69 of my files stating that the file type isn't supported by the iPod. The strange thing is, the files that are getting the error message aren't any of the new files and they've been on my iPod for a long time, some for well over a year. All of my files in in MP3 format so I know that my iPod supports the file type. Anyone experience this before or know how to correct this?
    By the way, I tried burning some of the files to CD, deleting them from iTunes and then importing them back into iTunes in MP3 format. The end result was the same and I still get the same error message.

    Nevermind, I finally found a thread with a fix. It appears that this is a quirk of iTunes 7.2 that requires moving the files to a new location (out of iTunes), deleting the files from iTunes and then putting the files back into iTunes. That worked and all my files are synced again.

  • Can customize sequence of file type options while clicking export icon?

    In our project, we are using Vs.net2008 + CrystalReport2008 component.
    But there's an issue while export reports. We are using the standard CrystalReportViewer and show the "export report" icon on the toolbar. When user clicks that icon, it pop-ups the Export Report dialog for save to a file.
    But our customers wish to see the "PDF(.pdf)" at the default file type option not the "(Crystal Reports (.rpt)".
    Is that possible to configure inside CrystalReportViewer?
    Edited by: Mark Uram on Apr 9, 2009 11:19 AM

    Only option is to create your own export button and display then in the order you wish and which export types you want to support etc...
    Thank you
    Don

  • Iphoto wont play movie files and wont double click for zoom or edit

    Hi i bought my first ever macbook a week ago,love everything on it,iphoto worked well but today i wanted to show someone a movie file on my camea which i have in my iphoto libray clicked on it and it usually opens,today nothing!!! this file has opened loads before because its a holiday movie, loads of people have seen it but now nothing.
    Also my double click to zoom or edit preference seems to do nothing whichever box you check in preffence nothing happens.
    Being new to mac i hope i can find some answers!!
    Chris

    Chris:
    Welcome to the Apple Discussions. First Control+click on the movie's thumbnail and select Show File from the contextual menu. When you get to the original movie file double click on it to see if you can open it in Quicktime. If not then it's more a QT issue. If it opens OK in QT go to the next procedure.
    Delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder and try again. If iPhoto is still misbehaving log into another account and try the same operations in iPhoto there. If still not working you may have to reinstall iPhoto from the disk it came one. To do so you'll have to delete the current application and all files with "iPhoto" in the file name that reside in the HD/Library/Receipts folder. After you get iPhoto reinstalled run the latest update for it, 7.1.3 if needed.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.≤br>
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

Maybe you are looking for

  • I don't know BIOS password for Satellite A100-528 PSAA2E

    hi..i have a problem... i have a laptop Toshiba SATELLITE A100-528 PSAA2E-01H00WGE.... the problem is that i downloaded toshiba HW setup and i accidentaly set a password.. .not a user password....it's propably supervisor password or bios password...

  • Contribute won't connect with Leopard

    I still can;t get my Contribute CS3 to connect to any sites. I installed Leopard - and the minute I did - Contribute stopped working. I've connected fine to all the sites with Dreamweaver and transmit. I've tried every combination in the 'Advanced Co

  • Query's in sap MM point of view.

    Hai sap guru's, Let me know 1."How  can you segregate master data  for project implementation? 2. How the account modifier triggers in account determination? 3. How the price taken into Purchase Order from Purchase Info Record" 4.what accounts are ge

  • BO professional - Should I learn SAP BI as well !!!

    Hello All, I am Business Objects Professional 2.5+ years of experience in BO. However After SAP-BO Acquisition, I am bit worried about the skillset. Do you think I should learn SAP BI in order to enhance my BI skills. Which SAP BI skills would be cru

  • Test communication from SLD

    XI experts, Is there any way to test communication with the configured system (third party / SAP) from SLD itself? When we create a RFC destination in SM59 , we have facility of testing connection with the target system there itself. Is there similar