How can I detect if I'm running a compiled versione of my application?

In my application I have included some special functions I don't want my customer to use. Since I will distribute the application as an .exe file, instead of cutting away those functions before releasing the .exe, I want to hide them when the application is runnig as an executable, and leave them active when running in the LV environment.
How can I detect if I'm running an executable or the LV environment? Do I have to scan the application name until I find an .exe different from labview.exe or there is another way to obtain the flag (something similar to CVI function InStandaloneExecutable() for example)?
Roberto
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

An application property exists:Application:Kind
with the following values: Development System, Runtime System, Student Edition, or Embedded LabVIEW.
greetings from the Netherlands

Similar Messages

  • I have iPhone 3G 8Gb with iOs 4.2.1 how can i download  skype,viber,temple run of old version??? where do i get these apps for my iPhone

    I have iPhone 3G 8Gb with iOs 4.2.1 how can i download  skype,viber,temple run of old version??? where do i get these apps for my iPhone

    You don't. The only place to obtain apps for any iPhone is the app store. However, most, if not all of those apps won't run/install on an iPhone 3G. iOS 4.2.1 is the end of the line for your phone & most developers no longer support it.

  • How can I access Address Book data from an older version of the application to transfer it to a newer version of Mac OS running on a second hard drive on the same MDD G4?

    I installed a hard drive from one PowerPC Dual 1.25 GHz MDD into another one with an older version of the OS X.  all my Address Book data are on the older hard drive, from which I now boot the computer.  When I launch Address Book as an app on the hard drive with the newer version of the OS, I get an error message that says I cannot run the version of Address Book from the older hard drive on the newer OS.  How can I access the data on the older hard drive version of the Address Book app so that I can transfer it to the newer version of the app on the boot drive?  The "Import" functionality will not work. I will be grateful for any help I can get.  I would also like to uninstall the older version of OS X from the older hard drive.

    Boot from the older version of OSX, then in AB use the File>Export>Export vCard after selecting all in AB.
    Then boot from the new OSx & use the new AB to import that VCF file.

  • How can we detect a virus on our mac?, How can we detect a virus on our mac?

    We think we may have a virus from the USPS spam email.  How can we detect a virus on our computer?

    What makes you think there is a "virus"?  Any symptoms...?
    There are other types of malware (such as trojans) that can affect Mac OS X, but no viruses.  A trojan would have to trick you into installing something (the malware) by making you think it is something else.  You would be notified (by the system) that you are running a downloaded application for the first time, AND if something will be done to update your current system, you will be asked to authenticate (with your admin user name and password).  If something like that comes up when you don't expect it, you should be suspicious (and NOT authenticate).  Just opening an email won't do anything, even if it's an email that may affects Windows PCs.
    This free utility can scan your Mac for malware. 
    http://www.clamxav.com/
    Apparently, there is a version on the Mac App Store.
    http://search.itunes.apple.com/WebObjects/MZContentLink.woa/wa/link?path=mac%2fC lamXav
    In the past, when I bothered to run it a few times a year, the only things it found were junk emails that I had not bothered to delete with embedded malware, all of it aimed at Windows PCs.

  • How can I get my games to run smooth with apple tv. I'm getting jerky movement

    How can I get my games to run smooth with apple tv?

    Check your network for interference (www.istumbler.net, check router manual in regards to changing channels) and other activities possibly running in the background.

  • How can I get an mp4 video running on iPad Mini?

    How can I get an mp4 video running on iPad Mini, which is already in the iTunes File?

    Pad2, the new iPad Supported Video Formats & Movie Formats
    H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
     Cheers, Tom

  • How can I detect a dialog and respond?

    I'm having trouble doing something that's probably not that hard. I'm trying to "Print to PDF" a bunch of old AppleWorks documents. When you open a document created in AppleWorks v6 it opens right up, but when you open a document created in AppleWorks 5 you get a dialog box that says, "This document was created by a previous version of AppleWorks. A copy will be opened and "[v6.0]" will be added to the filename."
    Right now I open the file and then:
    tell application "AppleWorks 6"
            activate
            repeat while not (exists front document)
                    delay .2
            end repeat
    end tell
    When the dialog box pops up, there's no front document so the whole thing freezes until you hit OK. How can I detect this dialog box and dismiss it?
    Thanks
    PS
    When the box is open I ran this and got this result:
    /usr/bin/osascript -e 'tell application "System Events" to get properties of windows of application process "AppleWorks 6"'
    minimum value:missing value, orientation:missing value, position:436, 153, class:window, role description:dialog, accessibility description:missing value, focused:missing value, title:missing value, size:412, 123, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXDialog, selected:missing value, name:missing value, description:dialog, minimum value:missing value, orientation:missing value, position:8, 76, class:window, role description:floating window, accessibility description:missing value, focused:missing value, title:Starting Points, size:631, 189, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXFloatingWindow, selected:missing value, name:Starting Points, description:floating window, minimum value:missing value, orientation:missing value, position:4, 22, class:window, role description:floating window, accessibility description:missing value, focused:missing value, title:Button Bar, size:612, 51, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXFloatingWindow, selected:missing value, name:Button Bar, description:floating window

    Hi,
    The simplest would be to set the application preferences in the script.
    Like this :
    -- *** set prefs ****
    tell application "AppleWorks 6"
          activate
          set oldPrefs to its preferences
          copy oldPrefs to tPrefs
          tell tPrefs
                set old version warning to false --doesn't show the old version warning alert  
                set converted file suffix to true -- append “[v6.0]” to documents converted from older formats
                set locked file warning to false
                set paint reduction warning to false
          end tell
          set preferences to tPrefs
    end tell
    -- *** end set prefs ****
    --**** your script, example ***
    set tfiles to choose file with multiple selections allowed
    tell application "AppleWorks 6"
          repeat with i in tfiles
                open i
                tell front document
                      -- do something
                end tell
          end repeat
    end tell
    --**** end  your script ***
    -- *** reset prefs ****
    tell application "AppleWorks 6" to set preferences to oldPrefs

  • How can I detect a certain text within a field within CASE using IF

    Dear all,
    for a transformation / generation of values receiving from R/3 into BW I try to
    manupulate three fields. I have a problem detecting a string in a field.
    I am using a CASE with several WHEN clauses on one field. Depending on the
    value, an IF is integrated. There I look into another field evaluating, if it contains
    a certain string. E.g. IF STRING CP 'xyz' OR 'abc'.
    System gives error for the locigal expression. I also tried CS, but same error.
    How can I detect a certain text within a field and which is the right logical
    expression.
    Many thanks in advance!!!
    Claudia

    Hi,
    Folow the blow example...
    May be it helps....
    DATA: hex1 TYPE string,
          hex2 TYPE string.
    hex1 = 'FFFF'.
    hex2 = '123FF'.
    IF hex1 CP hex2.
    ENDIF.
    Cheers,
    SImha.

  • How can i detect if my PC is not on Network..... Urgent Pls Help Soon !!!!!

    Hello Everyone,
    We all know whenever we try to connect to a PC which is not on network, we get UnKnownHostException etc..... by which we can detect that the corresponding PC is not an network(intranet/internet)
    But when i send a msg from my PC to my PC, it works fine even if the network is down. I hv provided my PC's IP address instead of using localhost or 127.0.0.1 which reduces the possibility that the msg will not be traversed thru the network.
    Any IDEA how this works.
    Is There any possible way by which i can detect that my PC is not on network or the PC to which i'm trying to connect is not on network .......
    Pls help me out, its really urgent as to be implemented in my Project
    Thanks In Advance
    Sahil Shaikh

    Hello Surtee
    I have developed a Messeging Service for the eCRM Apllication my company is developing and we r in the final stage of debugging.
    Now whenever a user sends a msg to a PC which is not on network, the messaging service automatically sends an Offline mssg to that PC. But know i want ot distinguish wheather the PC to which i'm sending the msg is not on network or am I not on network based on this i need to perform diff. actions, hence i wanted to know that how can i detect .......
    Pls see if u canhelp me out ......
    Thanks
    Sahil Shaikh

  • How can I get my macbook pro running Lion to print on my HP photosmart 309a??

    how can I get my macbook pro running Lion to print on my HP photosmart 309a??

    Did you install the drivers? Or have Software Update install them? This printer is supported:
    http://support.apple.com/kb/HT3669

  • Using an own function in a select how can i set that the function run once?

    Hi
    Using an own function in a select how can i set that the function run once, not in every row?
    Please help me
    Thanks
    Viktor

    Something like this ?
    SQL> select * from dept;
        DEPTNO DNAME                          LOC
            10 ACCOUNTING                     NEW YORK
            20 RESEARCH                       DALLAS
            30 SALES                          CHICAGO
            40 OPERATIONS                     BOSTON
    SQL> create or replace function ret_name (deptnum in number) return varchar2
      2  is
      3     name    varchar2(50);
      4  begin
      5     select dname into name
      6     from dept
      7     where deptno=deptnum;
      8     return name;
      9  exception
    10     when no_data_found then
    11             return('Not existent deptno');
    12* end;
    SQL> /
    Function created.
    SQL> select deptno, decode(rownum,1,ret_name(deptno),null) dname from dept;
        DEPTNO DNAME
            10 ACCOUNTING
            20
            30
            40
    SQL>

  • How can i set print mode at run time in smartforms???

    Hi expert,
    In smartforms how can I  set print mode at run time.
    I have one screen.In this screen one check box is there.If user select that check box then print should be come double side otherwise it is coming single side.
    If it is possible then plz give me answer asap.

    Hi,
    Set These settings
    While calling smartform, paas control_parameters and output_options as mentioned below and set
    user_settings = ' '.
    It will send the smartform output to spool.
    DATA: wa_output_options TYPE ssfcompop,
    wa_ctrl TYPE ssfctrlop.
    wa_output_options-tdimmed = 'X'.
    wa_output_options-tddelete = 'X'.
    wa_output_options-tdimmed = ' '.
    wa_output_options-tddest = 'LOCL'.
    wa_ctrl-no_dialog = 'X'.
    CALL FUNCTION lv_fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = wa_ctrl
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = wa_output_options
    user_settings = ' '
    x_adrp = x_adrp
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Kumar(Reward if helpful).

  • How can I get quicktime pro 7 running

    I bought quicktime pro 7 a couple of years ago and have a registration code.  At the time I used the program to make some time lapse movies.  I'd like to make a couple of time lapse movies again but quicktime pro 7 is no where to be found.  This probably ha something to do with updating the os between then and now.  The question is how can I get quicktime pro 7 running again?  The unlocking instructions I have for quicktime pro 7 that I received with the key do not correspond with what the system preferences now show.  Any assistance would be appreciated.  I am currently running OS X version 10.9.5 on an older iMac.

    Open the QuickTime 7 player(if it’s not installed, click here), choose Registration from the QuickTime Player 7 menu, and supply your key there.
    (115130)

  • How can i detect the windows version

    Hi,
    How can I detect the windows version from Forms 6i?
    I was used get_application_property(operating_system); But it only return MSWINDOWS, MSWINDOWS32, WIN32COMMON.
    Any function or way can return the exact windows version(98/ME/NT/XP)?
    Regards, Wing

    You may use Win_Api_Environment API call to get windows version.
    I have sample code on my home PC if you need code send mail at [email protected]

  • How can I detect the lable of CD or hard drive?

    hi all
    How can I detect the lable of CD or hard drive?
    thanx ;)

    Hi,
    Not to my knowmledge... you must use JNI to access the OS methods for that.
    JRG

Maybe you are looking for

  • Mini-dvi to vga and svideo

    I am using my MacBook a lot with an external screen (mini-dvi to vga adapter) and with my TV using the mini-dvi to svideo adapter. I am getting tired of switching between both adapters and the switching might wear off the mini-dvi female plug on my m

  • No system disk appears on the desktop. Help please.

    No system disk appears on the desktop. Here all external drives. I rebootedholding the shift key. I have checked the Finder / Preferences / General is selected to show the hard drives, also in Finder / Preferences / Sidebar is selected. I have opened

  • Preview typing special characters only

    I'm having troubling typing text w/ Preview. When I try to type, it only types special characters. I'm thinking if I accidently used some shortcut combination to type special characters. It is not letting me type normal language at all now. Does anyo

  • How to section a webpage with different backgrounds.

    Hello, Im new to adobe muse. I have been using photoshop and illustrator for some time now. I am currently building a one page theme website similar to "http://www.getyella.com/" While using Muse I discovered that browser fill is to change the backgr

  • Can't validate the feed and podcasts not downloading

    after hours of trying various things and my eyes hurting now :0) here i am asking for help. i can't seem to figure out what i'm doing wrong in terms of validating my feed. and due to that none of the podcasts are downloading. I went to the techspecs