How do you know if you run a file exe or vi

My research skills suck today.

I'm building an exe using the path of the application to find some files that must be included.  It works very well in the exe, but when the VI changes all paths are broken due to the path of the application.  But I remember a time someone has a way to tell if you were running the program as an exe file or a VI.  Then when the program starts, it can choose to use correct paths.

Any ideas on how to do this?  Or is there a better way to run the program as a VI and an exe without breaking the railways?

Thank you

Remove a property of the class "Application" node, select Application-> kind.  The output is an enum of the vs Runtime vs student development vs Embedded... you get the idea.

Best regards

Dave

Tags: NI Software

Similar Questions

  • How do you run a stand-alone program after its installation on the CD - RW disc

    How do you run a stand-alone program after its installation on the CD - RW disc

    How do you run a stand-alone program after its installation on the CD - RW disc

    Programs are not * install * to a CDRW at least that the CDRW is seen as a disc using the writing software to package such as DirectCD (Roxio) or OnCD (Nero). A disk used with writing software by packages cannot be used on any PC.

    Files are copied to a CD - RW for storage and retrieval. If the program installs, it install in general in C:\Program Files or similar and often drop files into \Windows and other places, too.

    -steve

  • How do you run apps on creative cloud? I can't seem to execute or to see them on my desk

    How do you run apps on creative cloud? I can't seem to execute or to see them on my desk

    Hi JasonLuong,

    You will need to go to www.creative.adobe.com and log in with your Adobe on which you bought the subscription ID.

    You can go to the Download Center and then start to download all the available cc applications. It will first download and install the desktop creative cloud tool in your computer. This creative cloud office will show you the possibility to download all programs CC, updates, etc.

    Thank you

    Kapil Rupani

  • How do you rename a file on the cloud?

    How do you rename a file on the cloud?

    There are two ways to rename the file. If you use file synchronization, then you can rename it after finding in the creative Cloud Files folder. Or you can rename it using the active site CC to https://assets.adobe.com and on the Actions menu, choose Rename.

  • How do you export a file from lightroom if you do not have the original raw file

    How do you export a file from lightroom if you do not have the original raw file

    Hmm, the link disappeared. Let's try again:

    Extract previews

  • I have download an IDM software.there are as many files how can I understand that by running the file IDM will install in my computer and I can use it.

    I have download an IDM software.there are as many files how can I understand that by running the file IDM will install in my computer and I can use it.

    Hello

    Contact the Support of IDM in this regard.

    The link there is a Support tab on the top right > run the mouse cursor over them for the Support Options > 'how to use IDM.

    http://www.internetdownloadmanager.com/download.html

    See you soon.

  • Cannot run any file '.exe '.

    I have a virus that will not let me run any file '.exe '. For this reason I can not: open a command box, run any anti-malware programs or install a new download. HE can't even run any kind of diagnostic program to see if it IS really a virus. Y at - it online diagnostic tool, I use (I've tried the eset, but he came up emptyhanded)

    Hello

    1. what happens when you try to run .exe files?

    2. do you get an error message?

    I suggest you try to download the Microsoft security scanner and see if you are able to download. If so, then try to run it and check if it helps.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Otherwise, you can follow the steps in this link and check if that helps:
    http://support.Microsoft.com/kb/555067

    Check if that helps.

  • How do you run

    How point you a specific image when calling in an external swf file?

    That's what I use to extract the external swf file...

    _root.createEmptyMovieClip ("container", 1);
    container.loadMovie ("_MoviePlayer.swf");

    I would like to go directly to frame 3, how do I do this?

    Thank you



    Try:

  • How will I know when to run the oracle table statistics?

    I have a situation Here.Several weeks back, one of my application developer complained about the performance issue in one of the application. I looked at the table statistics, statistics on the table were outdated and ran the table statistics, query ran a lot faster. The same problem occurred in another application, and hoping that oracle will take the right decisions based on the statistics, I ran the statistics for the tables involved in the query, but this time things got worse? Why is this? According to oracle documentation the optimizer must have updated statistics on the tables and indexes that surround these tables, so how do we decide when to run the statistics on the tables by making sure that we have no worse things. Thank you

    You don't tell us your version of db, but if you're on 10g and above, Oracle marks as out-of-date statistics when the RASSI percentage reaches or crosses the 10%. 11.1 from automatic work, managed by the ABP process runs nightly 10om at 02:00 on weekdays (can't recall for weekends) and supports the same. The question, when to collect the statistics is actually very subjective in your environment. Most of the time, it would be a weekly or a night and work in a data warehouse, in the next window ETL. You would need to play with the amount of the percentage of blocks of the table before you would be able to come to percentage that can work for your plans in a good way. I also saw the return of cardinality plays a large role in the exercise sometimes. You can watch here as well.

    HTH

    Aman...

  • How understand you what vdmk files are used by servers?

    I inherited an esx/esxi 2 cluster system. Vdmk files are stored on a San. The previous sys admin was a bit sloppy with data warehouses and I'm trying to compile a list of files used vdmk so I can remove the vdmk which are not used. The problem however is that there are many vdmk stored files by folder on server. The only way I know used recovery vdmk (in vSphere) is to modify the parameters & gt; material & gt; hard drive that shows the disk file. It is, however, completely unreadable (grayed out) because of the length of folder of the server and the fact that the server is on. How should be done to find what vdmk files are used by a server turned on without turning it off?

    Hello and welcome to the forums.

    Check out the free RVTools.  The tab vDisk will give you the information you are after.

    Good luck!

  • How do I know what programs running in the background?

    Original title:

    programs

    How can I find out if there are programs that run in the background on my windows 7, and how can I get rid of them?

    Go to: http://cmdrkeene.com/fix-sluggish-slow-pc to see how to find the programs that run in the background and how to disable them.

  • How to handle the UAC to run the file?

    Get a weather app to run each time that the boot of win7, but it always pop up to alert security of the UAC.

    I would like to know any approach to handle this situation:

    (1) add known run the file in the lists of confidence, so he would not jump to the top once again

    (2) turn off UAC

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    There is no "trust list" for UAC because that would be a weakness that hackers could exploit immediately. You have these options:

    • Download a compatible version of Windows 7 software.
    • Ask the supplier, how it can be changed to be compatible Windows 7.
    • Turn off UAC (not recommended)
  • How do I know if a loaded SWF file have the source code?

    Hi!, I need to know if a loaded SWF file have the source code. I develop an application running on iOS and admin can upload SWF files that show in the APP, but I must know before show (mobile Adobe AIR APP) or activate (PHP script server), if this SWF file have the source code for no show or enable him not it.,.

    Thank you!

    I have it!

    Only that we need to do is:

    1. If the first tank is:

    F-the swf is uncompressed

    C - compressed with Deflate

    Z - compressed with LZMA

    2. If it is compressed, uncompress it with the right method

    3. search MainTimeline string, if concluded the SWF actionscript so it is not found, the code is not actionscript.

  • All programs try to run as files .exe on my computer vista laptop

    Original title: cannot run exe on my computer files vista laptop
    My partner has downloaded a game from the internet and installed without check it out. Now, all programs on the computer on which is attached an exe has turned to the emblem of the Solution Explorer and when I try to run any file it is trying to load it, but keeps bring up a screen asking me to run save or cancel, but when I click Run or save nothing happens any ideas

    Try this link. Read the article and the guidelines first of all, then do scroll to the spare section and download the exefix_cu.reg
    Restore exe file associations...
    http://www.Winhelponline.com/articles/165/1/restore-the-exe-file-association-in-Windows-Vista-after-incorrectly-associating-it-with-another-application.html

    t-4-2

  • How do you 'run as' Panel, or where can I find a list of command line options?

    I use a laptop computer that I just installed a copy of XP on and continue to operate in the small problems of configuration and personalization that require administrator access to change.
    I know he will just be a little quick change, then right-click on the item and choosing "runas" would be more practical than the fast user switching. As much as I would have to authenticate twice (once to switch to the admin, then again to switch back).

    However, something like control panels do not have this option. One issue is that I can't seem to use Java with my limited account. Another is the problem with the start icon does not appear on the battery.
    I suspect that I could fix it if I could use the powers of the administrator on the control panels, even if I'm wrong, because they ARE well positioned in my admin account.

    OK, now that I think I will try to promote my account limited to an admin, fix things, then put it back. Just thought while typing.

    However, how can I access limited with my limited account control panels? I use usually the laptop into situations where I occasionally encouraged other people to modify my Open Office document or do a quick search on Google with Firefox, so I don't want to use an administrator account.

    I saw references by using the command 'control' of the command line, but I can't find a complete list of control for this panels. The only thing I memorized is 'control userpasswords2', which I do remember how to enter in the 'normal' way
    I use XP Professional on the laptop now. Relatively cool, install a little more than a week with a brand new score.

    Hi SlickRCBD2,

    You can get the list of the cpl (Control Panel tools): http://support.microsoft.com/kb/192806

    and you can run them as an administrator using your command line for an example:

    runas/user: Administrator "control modem.cpl".

    I hope this helps.

Maybe you are looking for

  • family sharing in iTunes

    Is there a way to family-part between the two apple belonging to the same individual id?

  • HP Elitebook 8460p: problem with drivers

    Hello again, Thank you for the quick support here Here, I have problems with the drivers on my HP Elitebook 8460p running Windows7 ultimate 64-bit, whenever I have dwonload drivers on hp support for 64-bit Windows business Web site and install them.

  • Y530 with XP 64 bit OS?

    Hello Has anyone tried to install XP 64 bit on Y530? No idea if it works or not? Since I have 4 GB of ram and I prefer XP over VISTA, I want to install the XP 64 bit on Y530. Help, please... not sure whether or not this will have problems with driver

  • Zbook 14 HP: Windows 10 compatibility problems

    I plan to update my 14 WIndows 8.1 Zbook (update of the Windows 7 OS factory) to 10 Windows. But the compatibility check lists the following errors: These devices are not completely compatible with Windows 10: AMD over-pants M4100 FireGL V You're goi

  • lost all programs and docs on the vista help please

    the system makes the update then rebooted when he returned to this subject had lost all descktop ikons and all the photos, but they r always at the poster in the c drive and his commimg now upward with hard drive failures