Why I get an error when I call Snipping Tool with System Exec?

Hi to everyone, I want to call Snipping Tool from LabVIEW using the System Exec VI, but I always get an error 2; this not happen when I call another executables like calculator or paint; I hope someone can help me or tell me why this error occurs.
Thanks in advance, I have attached a couple of images of the VI that I have done so far.
Solved!
Go to Solution.
Attachments:
block diagram.PNG ‏11 KB

Hey there ;
I am guessing you are using the command: SnippingTool or SnippingTool.exe, just as you would use mspaint; but it is giving you Error 2; this is a Windows Issue more than a LabVIEW one, ,you can try using command:
C:\Windows\Sysnative\snippingtool.exe;
it worked for me; i found this info in the KB below.
Command Not Recognized When Using System Exec VI
Good luck

Similar Messages

  • I get an error when installing Call To Call

    I always get this error when installing the Skype Call To Call toolbar:
    "The installer has encountered an unexpected error installing this package,this may indicate a problem with this package.The Error code is 2738"
    Help anyone?

    Just in case, even though it's for a different error message, try the procedure from the following user tip:
    "The administrator has set policies to prevent this installation" error messages when installing iTunes for Windows on Windows Vista and Windows 7 systems

  • Why I get an error when running a sequence using the LabVIEW operator interface ?

    I have a simple TestStand sequence calling LabVIEW vis that is giving me an error when I run it with the .exe version of the LabVIEW operator interface and I set TestStand to run the vis using the 8.2.1 runtime engine instead of the development adapter. I made a change in the operator interface to open a vi programatically and get the value of a control, this vi is also used in the TestStand sequence I am trying to run. Could this be causing my problem ?
    Thanks

    Hello Verdulken,
    I have a few additional questions:
    Does your application function correctly when running the LabVIEW operator interface you have created as a VI in the LabVIEW development environment (i.e. does this problem only occur when the LabVIEW operator interface is run as an executable)?
    What is the error that you are receiving?
    Regarding the VI that you open programmatically, do you open it in a visible manner (i.e. use the Show front panel when called option from VI Properties)?If so, do you also close this VI after it finishes (i.e. use the Close if originally closed option from VI Properties)?
    Does the error occur on the step that calls this very same VI again later in the sequence?
    Does your application function correctly if you use the development adapter for all of your calls?
    Thank you in advance for this information,
    Matt G.
    National Instruments
    Applications Engineering

  • I dont understand why i get this error when trying to type "else"

    Hello Everybody,
    Im new to java and am writing a simple program which gets a input number between 0 and 100 and is to print A for (grade>=90), B for (90>grade>=80) and so on, when grades < 60 get F.
    i use a series of if/else, but when i get to the FINAL else it gets an error (red wavy line under the last else). this ruins the program bcoz now a grade 61 will output "D" AND "F".
    can anyone explaing why this error msg? and how can i fix it?
    this is the code:
    public class Assignment02Q04 {
         public static void main (String[] args){
              int grade = (Integer.parseInt(args[0]));
              if (grade >= 90){
                   System.out.println("A");}
                        else {if (grade >= 80){
                        System.out.println("B");}
                             else {if (grade >= 70){
                             System.out.println("C");}
                             else {if (grade >=60);{
                                  System.out.println("D");}
                             else System.out.print("F");
         }

    Please ignore the rude bits... this is a pro-forma post most often trotted out to suspected trolls... i.e. It's NOT directed at you personally.
    h1. The Ubiquitous Newbie Tips
    * DON'T SHOUT!!!
    * Homework dumps will be flamed mercilessly.
    * Have a quick scan through the [Forum FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ].
    h5. Ask a good question
    * Don't forget to actually ask a question. No, The subject line doesn't count.
    * Ask once
        - Don't Crosspost!
        - Two people answering one question independantly is a waste of there time.
    * Don't even talk to me until you've:
        (a) [googled it|http://www.google.com.au/] and
        (b) looked it up in [Sun's Java Tutorials|http://java.sun.com/docs/books/tutorial/] and
        (c) read the relevant section of the [API Docs|http://java.sun.com/javase/6/docs/api/index-files/index-1.html] and maybe even
        (d) referred to the JLS (for "advanced" questions).
    * [Good questions|http://www.catb.org/~esr/faqs/smart-questions.html#intro] get better Answers. It's a fact. Trust me on this one.
        - Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
          - FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
        - Often you discover your own mistake whilst forming a "Good question".
        - Many of the regulars on these forums will bend over backwards to help with a "Good question",
          especially to a nuggetty problem, because they're interested in the answer.
    * Improve your chances of getting laid tonight by writing an SSCCE
        - For you normal people, That's a: Short Self-Contained Compilable Example.
        - Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
        - Often you discover your own mistake whilst writing an SSCCE.
        - Solving your own problem yields a sense of accomplishment ;-)
    h5. Formatting Matters
    * Post your code between a pair of &#123;code} tags
        - That is: &#123;code} ... your code goes here ... &#123;code}
        - This makes your code easier to read by preserving whitespace and highlighting java syntax.
        - Copy&paste your source code directly from your editor. The forum editor basically sucks.
        - The forums tabwidth is 8, as per [the java coding conventions|http://java.sun.com/docs/codeconv/].
          - Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
          - Lines longer than 80 characters should be wrapped.
          - Proper indentation illustrates program logic.
    * Post your error messages between a pair of &#123;code} tags:
        - That is: &#123;code} ... errors here ... &#123;code}
        - To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
            System.out.println("Your momma!); // <<<< ERROR 1
        - Note that error messages are rendered basically useless if the code has been
          modified AT ALL since the error message was produced.
        - Here's [How to read a stacktrace|http://www.0xcafefeed.com/2004/06/of-thread-dumps-and-stack-traces/].
    * The forum editor has a "Preview" pane. Use it.
        - If you're new around here you'll probably find the "Rich Text" view is easier to use.
        - WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
        - To see how a posted "special effect" is done, click reply then click the quote button.
    If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
    h1. The pledge!
    We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game.
    Edited by: corlettk on 17/03/2009 23:25 ~~ Doh!

  • Why do I get "unknown error" when trying to download apps with my iPhone when I put the correct password in?

    I keep getting "unknown error" message come up when I try to get an app. I have put my password in correctly but I then get a message saying I've put my password in incorrectly too many times. So I change my password but I still get the "unknown error" message. I have changed my password 4 times now and nothing is working

    I received this email from Apple and this corrected the problem for me...  I only had to reset the iTunes cache
    1) Open iTunes
    2) At the top menu, click File > Preferences (iTunes > Preferences on a Mac)
    3) In the Preferences menu, click the Advanced tab
    4) In the Advanced menu, you should see a button that says "Reset Cache". Please click this button.

  • Why I get CRC error when copying outlook.ost file?

    My workstation is using NTFS, Outlook 2007 with Exchange 2007 server.
    My outlook.ost file is 1.7GB.
    As my Outlook runs into problem, I tried to copy the outlook.ost file to another location for repair, but I keep getting CRC errors and the file was not copied.
    I also tried to use winrar to compress it and it runs into the same CRC error.
    Q#1. What causes this CRC error? hard disk error or software?
    Q#2. How to repair such CRC error?
    Thanks.

    Hi Peter,
    The cyclic redundancy check, or “CRC” error, indicates a bad spot/corruptions within the file that you are trying to copy and in lot of cases with your hard disk.
    To make sure if the problem is with the .ost file or your hard disk, you can fire up a Command Prompt window, and then copy the file to NUL:
    C:>CD (path of your .ost file)
    C:(path of your .ost file)>copy name.ost NUL
    If this succeeds, the problem is with your .ost file. If this fails, it should be a hardware based disk issues.
    If it's an issue with your .ost file, I'd suggest to run
    scanpst.exe tool to repair your data file, then check if this fixed it.
    When the issue is hardware based, you probably need to find Disk Errors in the System log of your Event Viewer. You can access the Event Viewer by going to:
    Control Panel-> Administrative Tools-> Event Viewer
    By the way, .ost file is actually a local copy of your mail items on the server. For a corrupted .ost file, you actually don't need to "copy the outlook.ost file to another location for repair". You can simply rename it to .ost.old
    or delete it, and then re-launch Outlook to let it generate a new .ost file from server.
    Regards,
    Ethan Hua
    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.

  • Can someone please tell me why I am getting an error when using my Liquify tool?

    I am receiving an "error"window when using my Liquify tool in Filters. I receive a "delayed write failed" window also...I heard a loud honking sound and then my ability to use the tool is frozen. A little help please?

    You're not alone. There have been several threads about this issue:
    http://forums.adobe.com/thread/1408767?tstart=60
    http://forums.adobe.com/thread/1358619?tstart=120
    http://forums.adobe.com/thread/1407847?tstart=150
    http://forums.adobe.com/thread/1404674?tstart=420
    They're all informative, but I think the last one might be what you want.

  • Getting: Unexpected Error when trying to upload files with my post!

    Hello,
    i tried today to post a reply to someone`s message t the forums but when i tried to attach 2 .php files i get unexpected error message and prevented me from posting the reply.
    but when i delete or reloaded the page, i shows me an error message again, but the reply was posted without letting me know!
    hope you can find a quick fix for that!
    Best Regards
    Waleed Barakat
    [signature deleted by host]

    waleed,
    i tried today to post a reply to someone`s message t the forums but when i tried to attach 2 .php files
    Did you really mean .php files?  I am not sure if you can actually post a .php file.  I suspect you will have to either post a link to where the .php files are located or simply post the contents of the .php file into the reply.  OR zip the file and attach the .zip file.
    I hope that helps.
    Hopper

  • Any help on why I get an error when running OA_UPLOAD_AND_LINK in background?

    Hi experts,
    I am attempting to run the OA_UPLOAD_AND_LINK program in the background to upload employee photos placed into a directory on a shared drive by each HR manager.  When I check SM37, I see the job was cancelled and the error "Frontend parameter (parameter error)" Message no. OA501 was the reason.
    If I run the program in the foreground using the same variant, I don't have any issues and the photos load just fine.  Any suggestions on what parameter it's complaining about?
    My goal is to schedule this program to run nightly and process any pictures in the shared drive.  I'll have a second job remove the files from the shared drive at a later time.
    Regards,
    Garrett Meredith

    FYI,
    After looking at the code:
    * reject process if running in background and frontend = 'X'
    if sy-batch = 'X' and frontend = 'X'.
      message id 'OA' type 'E' number '501' with 'Frontend'.    "#EC NOTEXT
      leave.
    endif.
    This is the code inside the program preventing it from running in the background.  WHY!?! would they do this?
    Regards,
    Garrett

  • Why i get the error when i expdp data

    处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
    ORA-39127: 调用 local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA
    ('TEGEOA_JC_5H_IDX','LANDINFO','SDO_INDEX_METHOD_10I','MDSYS',11.01.00.00.00,new
    block,3) 时发生意外错误
    ORA-01403: 未找到任何数据
    ORA-01403: 未找到任何数据
    ORA-06512: 在 "SYS.DBMS_EXPORT_EXTENSION", line 270
    ORA-06512: 在 line 1
    ORA-06512: 在 "SYS.DBMS_METADATA", line 5331
    ORA-39127: 调用 local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA
    ('TEGEOC_JC_HOUSE_5H_IDX','LANDINFO','SDO_INDEX_METHOD_10I','MDSYS',11.01.00.00.
    00,newblock,3) 时发生意外错误
    ORA-01403: 未找到任何数据
    ORA-01403: 未找到任何数据
    ORA-06512: 在 "SYS.DBMS_EXPORT_EXTENSION", line 270
    ORA-06512: 在 line 1
    ORA-06512: 在 "SYS.DBMS_METADATA", line 5331
    ORA-39127: 调用 local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA
    ('TEGEOL_JC_5H_IDX','LANDINFO','SDO_INDEX_METHOD_10I','MDSYS',11.01.00.00.00,new
    block,3) 时发生意外错误
    ORA-01403: 未找到任何数据
    ORA-01403: 未找到任何数据
    ORA-06512: 在 "SYS.DBMS_EXPORT_EXTENSION", line 270
    ORA-06512: 在 line 1
    ORA-06512: 在 "SYS.DBMS_METADATA", line 5331
    ORA-39127: 调用 local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA
    ('TEGEOP_JC_CTRLPNT_5H_IDX','LANDINFO','SDO_INDEX_METHOD_10I','MDSYS',11.01.00.0
    0.00,newblock,3) 时发生意外错误
    ORA-01403: 未找到任何数据
    ORA-01403: 未找到任何数据
    ORA-06512: 在 "SYS.DBMS_EXPORT_EXTENSION", line 270
    ORA-06512: 在 line 1
    ORA-06512: 在 "SYS.DBMS_METADATA", line 5331
    ORA-39127: 调用 local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA
    ('THGEOA_JC_5H_IDX','LANDINFO','SDO_INDEX_METHOD_10I','MDSYS',11.01.00.00.00,new
    block,3) 时发生意外错误
    ORA-01403: 未找到任何数据
    ORA-01403: 未找到任何数据
    ORA-06512: 在 "SYS.DBMS_EXPORT_EXTENSION", line 270
    ORA-06512: 在 line 1
    ORA-06512: 在 "SYS.DBMS_METADATA", line 5331
    ORA-39127: 调用 local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA
    ('THGEOC_JC_HOUSE_5H_IDX','LANDINFO','SDO_INDEX_METHOD_10I','MDSYS',11.01.00.00.
    00,newblock,3) 时发生意外错误
    ORA-01403: 未找到任何数据
    ORA-01403: 未找到任何数据
    ORA-06512: 在 "SYS.DBMS_EXPORT_EXTENSION", line 270
    ORA-06512: 在 line 1
    ORA-06512: 在 "SYS.DBMS_METADATA", line 5331

    but i get this information from dba_index and sdo_index_metadata
    INDEX_NAME INDEX_TYPE DOMIDX_STATUS
    TEGEOA_JC_5H_IDX DOMAIN VALID
    TEGEOA_JC_5H_CODE_IDX NORMAL
    SQL> select count(*) from sdo_index_metadata where sdo_index_name='TEGEOA_JC_5H_IDX';
    COUNT(*)
    0

  • Getting an error when fire fox starts up with adialogue box :TypeError: Components.classes[cid_shared] is undefined" how to avoid this

    TypeError: Components.classes[cid_shared] is undefined
    dialogue box pop up when firefox starts with an ok button after u click ok firefox starts and take long time to come up ..

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I get an error when I try downloading files - 8520 Curve

     I get an error when I try downloading files with my 8520 curve...and they say must contact my webmaster

    Hello !
    Could you please be more elaborative for explaining your issue?

  • Getting a error when Muse Website is viewed in browser:MuseJSAssert: Error calling selector function

    Every time I open any  .html  file in a browser I recieve this error message; MuseJSAssert: Error calling selector function: TypeError: Object does'nt support property or method 'museMenu'

    I have a similar problem that seems to have come up since the latest upgrade. My error is:
    "JavaScript Alert
    MuseJSAssert: Error calling selector function:SecurityError:Blocked a frame with origin "null" from accessing a cross-origin frame."
    The strange part for me is that there's no error at all when using File>Preview Page in Browser. I only get the error when I File>Export Page as HTML and then try to view the output.
    I can post a zip file of the HTML output to Adobe, but not publicly. Also, where is the Preview Page stored? If I don't get error on that, why can't I just use that as my HTML output?
    Thanks!

  • Why do I get this error when I want to run a test using Ant?

    Why do I get this error when I run the Ant build file?
    Testsuite: JUnit
    Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    Caused an ERROR
    JUnit
    java.lang.ClassNotFoundException: JUnit
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

    Abder-Rahman wrote:
    In the "XML" file, I was giving the name of the test as JUnit ---> <test name="JUnit">Well, do you have a class called just "JUnit" that contains a test?

  • Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Read this
    http://support.apple.com/kb/ts1583

Maybe you are looking for