Xcontrol does not work in built application

I can't seem to get my custom xcontrol to work in the final built application.  It works perfectly fine when the top-level .vi is started from the development environment.  But all I get is the broken control image when I run the built application.  Is there something I'm missing in the build definition?
I tried puting the thermometer xcontrol example into a built application and everything works fine.  The build definition only included the top-level file, so I don't think it's a problem with support/dynamic files...
By the way, is there some trick to maintaining these xcontrols?  I love the concept, but man they are a pain in the butt to work with.  One wrong move in the project manager and they're messed up for life.  I finally learned to back everything up on a regular basis so I wouldn't lose everything if it one decided to go psycho on me.
TIA,
Greg

I've got it working now, but I'm going about it in a round-about way.  My application has (had) a splash-screen/launcher vi that dynamically loads and launches the actual top-level user-interface vi.  The top-level vi was included in the build definition as a dynamic file.  This is the ONLY dynamic call in the entire application.  All other vi are called the normal way on the wiring diagram.  I could never get the xcontrol to work this way.  I even tried including ALL of the relevant files as dynamic/support file and could never get it to work.  In one experiment, I placed an xcontrol on the top-level vi (the top-level vi doesn't have any of the xcontrols, only a couple dialog-box sub-vis that it calls).  Again, everything worked fine from the development environment.  But, when compiled, the top-level vi would fail to start completely.  I never bothered to check what the execution state of the top-level vi was before I called it, but I assume it was "bad" so the dynamic call would fail.
I got it working by eliminating the dynamic call and calling the top-level vi as a normal sub-vi from the wiring diagram.  BUT, it still had problems and would always ask me to find a couple files from the 'XControlSupport.lvlib', specifically 'Action.ctl' and 'Container State.ctl'.  The xcontrol also uses the standard 'eventkey.ctl' from the 'event_ctls.llb' and it would ask me to find this file every time as well.  I tried including the libraries in the project and including these libraries in the build as dynamic/support files, but still no good.  To fix the problem, I copied these files into my project folder, specifically included them in my project, and then replaced all of the controls wherever they appeared with the corresponding controls included within the project.
Message Edited by GTM on 07-14-2006 08:48 AM

Similar Messages

  • My camera works with the photobooth and with skype but does not work with online applications such as "lolcam from facebook" or "faceonthehole" application. Please help

    My camera works with the photobooth and with skype but does not work with other applications like the "lolcam" from facebook or the " faceonthe hole" application. Can anyone help?

    There was a issue with school computers being used to spy on kids in their bedrooms, Mac's were involved.
    So Apple most likely tightened the API's to only select, trustworthy companies as not to abuse the web cam access priviledge.
    If you want to use a web cam with these other programs and services, you'll likely have to buy a third party USB one, so you can manually disconnect it.
    There isn't a way to physcially disconnect the built in web cam on Mac's without busting open the machine.

  • [svn:fx-trunk] 5019: ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/ AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spa

    Revision: 5019
    Author: [email protected]
    Date: 2009-02-19 13:17:21 -0800 (Thu, 19 Feb 2009)
    Log Message:
    ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spark equivs
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • Oracle dbms.set_role does not work in APEX application

    Hi, in our j2ee applications, we use secure application role. Basically, the data source use the app user schema to connect to the database. the app user only has create session privileges. the database logon trigger will copy a set of attribute to the local secure context. (ip address, session user, client id, application name). The applications explicitly invoke the stored procedure sec_mgr.set_role before any DMLs are executed.
    the sec_mgr.set_role will check the local context attribute , authorize the ip, application name, and set an appreciated role to this session based on session user.
    we want to apply the same framework to the APEX application. First, we change the paring schema to the app schema which only has create session privilege. then we put the plsql code in which sec_mgr.set_role is called in the application builder --> shared components ---> edit security attribute ---> Virtual Private Database (VPD).
    however, we got the error ORA-06565: cannot execute SET ROLE from within stored procedure
    the sec_mgr.set_role is defined as invoker's right(AUTHID CURRENT_USER)
    do i missing something in APEX to get it work?
    Thanks

    Please explain it does not work in APEX? Is the application updating tables that have a trigger? APEX does NOT override trigger actions. Is it possible the values your trigger is looking for are NOT available in your APEX application? Can you post the trigger code here for review?
    Thank you,
    Tony Miller
    Webster, TX
    What if you really were stalking a paranoid schizophrenic... Would they know?
    If this question is answered, please mark the thread as closed and assign points where earned..

  • FileUpload does not work in MVC application

    I created an MVC application with controllers and views for the different frames (header.do/header.htm, menu.do/menu.htm, toolbar.do/toolbar.htm, statusdo./status.htm, detail.do/detail.htm). The main-controller is front.do, the main-view is front.htm
    The detail-view is realized as a "sub-MVC-application" because it is rather complex (subfront.do/subfront.htm).
    This sub-MVC uses some controllers and views for the detail-frame.
    My problem is that fileUpload does not work in this sub-sub-view. I cannot get the attributes like filename.
    In a page with flowlogic it works fine. I also tried to put the code for the fileUpload in a page fragment and include it in the page with flowlogic which also works fine.
    But when I include this page fragment in the view it does not work either. The code in the layout-section of the page fragment looks as follows
    <%@page language="ABAP" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <htmlb:gridLayout columnSize="2" rowSize="1" cellSpacing="5" cellPadding="5" width="100%">
      <htmlb:gridLayoutCell columnIndex="1" rowIndex="1">
        <htmlb:fileUpload id="fuDokument"/>
        <htmlb:button id="submitButton" text="Upload" onClick="HandleUpload"/>
      </htmlb:gridLayoutCell>
      <htmlb:gridLayoutCell columnIndex="2" rowIndex="1">
        <%
      DATA: ref_htmlb_fileupload TYPE REF TO CL_HTMLB_FILEUPLOAD.
      ref_htmlb_fileupload ?= CL_HTMLB_MANAGER=>GET_DATA( request = request id = 'fuDokument' name = 'fileUpload' ).
      IF ref_htmlb_fileupload->file_name         IS INITIAL. ref_htmlb_fileupload->file_name = ' '.         ENDIF.
      IF ref_htmlb_fileupload->file_content_type IS INITIAL. ref_htmlb_fileupload->file_content_type = ' '. ENDIF.
         %>
        <htmlb:textView text="Uploaded:"/>
        <htmlb:textView text="<%=ref_htmlb_fileupload->file_name %>"/>
        <htmlb:textView text="Content-Type:"/>
        <htmlb:textView text="<%=ref_htmlb_fileupload->file_content_type %>"/>
        <htmlb:textView text="Length:"/>
        <htmlb:textView text="<%=ref_htmlb_fileupload->file_length %>"/>
      </htmlb:gridLayoutCell>
    </htmlb:gridLayout>
    Any help would be highly appreciated
    Markus

    Hi,
    Info: I'm just learning bsp for 2 weeks...
    I've a question related to fileUpload in MVC application.
    Actually I created a tableView with an iterator.
    In the IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START method of this iterator I want to display an input field for file upload if the third line of my table is selected.
    This is my code:
    DATA: lo_file TYPE REF TO CL_HTMLB_FILEUPLOAD.
    lo_file = CL_HTMLB_FILEUPLOAD=>FACTORY(
    *              ACCEPT        =
                  ID            = p_cell_id
    *              ID_POSTFIX    =
    *              MAXLENGTH     =
                 ONUPLOAD      = 'upload'
                  SIZE          = '100'
    *              TEXTDIRECTION =
                  TOOLTIP       = 'Result file'
    *              UPLOAD_TEXT   =
                p_replacement_bee ?= lo_file.
    but I don't get anything. My row is selected, but I don't see a input field.
    Can someone help me?

  • Print report does not work in built mode (LV7.1+XP)

    Good morning,
    I've read some threads about the topic in this Q, but no solution. So my hope is that NI has resolved the problem. Here it goes:
    In normal edit mode I can use the Print Report.vi (using the default win printer) to print out some data. The generated report is a standard NI report (that is NOT HTML).
    When building an application this no longer works. No data is passed to windows (the printer icon in the system tray never appears) - and hence no output on the printer!
    I use WinXP and LV7.1 in both modes. The printer is a HP2300 LaserJet but I've also tried using the old stable Canon LBP 8 II on the FILE: port - but in .exe mode the file box does not appear.
    I really hope that NI has a solution
    for the problem since we need the built application on several client. And we do not want to pay for several LV licenses.
    Speculations on both the application builder and report generation tools have been given in previous threads... However, these gave no solution and all threads are from before LV7.1.
    Thanks in advance!
    Martin

    Skinny wrote:
    > In normal edit mode I can use the Print Report.vi (using the default
    > win printer) to print out some data. The generated report is a
    > standard NI report (that is NOT HTML).
    >
    > When building an application this no longer works. No data is passed
    > to windows (the printer icon in the system tray never appears) - and
    > hence no output on the printer!
    >
    > I use WinXP and LV7.1 in both modes. The printer is a HP2300 LaserJet
    > but I've also tried using the old stable Canon LBP 8 II on the FILE:
    > port - but in .exe mode the file box does not appear.
    >
    > I really hope that NI has a solution for the problem since we need the
    > built application on several client. And we do not want to pay for
    > several LV licenses.
    Are you sure you checked the "NI R
    eport Support" under the Advanced
    button of the Installer tab in the application builder?
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Printing does not work in OSX applications, but did work in OS 9

    As the name of this thread implies, I cannot print from any OSX applications, but printing does work in OS 9 applications. I recently upgraded to Adobe Creative suite 3 (I know, i know, I am behind) and have had nothing but problems printing (even with native apps like preview). Before I upgraded I didn't have as many issues printing. Since the upgrage, When I attempt to print from Adobe Illustrator I get the error message "cant print the illustration". When I attempt to print from native MacOS Apps (like Preview) I get the error message " Error while Printing". Additionally, every time I attempt to use my scanner I get the error message "Scanner not found". Can anyone help me out there?

    It would have been helpful if you had included the manufacturer and model of your printer and scanner along with details on how they are connected to your Mac. Without that information there's little else for anyone else to work with along the lines of assisting you.
    How does your printer and scanner connect to your Mac - serial port or USB? If they use a serial port you're kind of out of luck as Mac OS X does not natively support serial ports. There may be some third-party software drivers available that could "turn on" serial ports within Mac OS X however.
    If your devices connect via USB, have you installed the Mac OS X version of their drivers? Older USB-equipped printers and scanners may not be supported by their manufacturers for use with Mac OS X. Again, if one looks hard enough, there may be some other third-party or open source drivers available that may let older USB equipment work with Mac OS X.

  • Dictation does not work in all applications

    I would assume that where ever there is an area to enter text and if you had clicked into that area and do your FNFN shuffle that dictation would plug in what you are typeing.  I guess I am wrong.  It would appear that this only works in the Apple built applications but very few 3rd party apps like IBM Sametime and IBM Notes, is it because they are heavily dependant on Java and Eclipse?
    Any help or thoughts are appreaciated.
    Yes I have already done the normal repair disk, repair permissions, disable and re-enable dictation etc etc.

    I got enhanced dictation to work.  I hadn't tried it until I read your post.  Once I hit the Fn key twice, I had to download and install the 785MB enhanced dictation.  When that completed, I saw the microphone and my dictation got accepted, interpreted, and properly processed.
    I don't know what I did differently than you.

  • 'Check Spelling While Typing' does not work for any applications

    Earlier I had a problem with misspelled words underlined but when I right-click it does not offer spelling suggestions.
    Now, none of my applications underline misspelled words. Even if I select the option to "Check Spelling While Typing" it does not change anything. This applies to all applications (Mail, TextEdit, EverNote, Firefox, etc).

    Update: Inexplicably the underline for misspelled words now works but now when I right-click for corrections it shows 'No Guesses Found' for any word.

  • Client-cert auth impl in web.xml does not work in Oracle Application Server

    Hi,
    I am new to implementing security features on the web applications.. I have developed a new web service using jdev1012 and deployed in OAS 10.1.2. Its working fine according to the business requirements, but I am in need of implementing client-cert authentication to enable the web service available to only those who have client certificate.
    My server details are:
    Oracle Application Server 10g Release 2 (10.1.2)
    Server certificate is in place and SSL mode have been already enabled.. able to access my web service through https://<mydomain.com>/myws/TreqWS as well able to see the WSDL file through https://<mydomain.com>/myws/TreqWS?WSDL.
    I tried to include the following in my web.xml file as part of implementing CLIENT-CERT authentication.
    <security-constraint>
    <display-name>SecurityConstraint</display-name>
    <web-resource-collection>
    <web-resource-name>WSCollection</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>CLIENT-CERT</auth-method>
    <realm-name>WSCollection</realm-name> <!-- am not sure about this realm-name and its purpose -->
    </login-config>
    It is not woking as expected, though I have restarted my oc4j container after including this content to the web.xml file. i.e, I am able to invoke the web service though my sample java client program, though I donot have client certificate/keystore.
    I believe I am missing something..Can anyone help me in this regard to implement CLIENT-CERT authentication successfully?
    Thanks,
    Ms

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • File Open Does Not Work In Any Applications

    Installed 10.5 into two computers, a MacBook Pro and a Mac Pro. Lots of problems, many of which have been discussed here. Got the Mac Pro sort of working but the MacBook Pro WILL NOT open any files. Go to *File Open* in any application and it either does nothing or just scrolls down and then immediately scrolls closed.
    Anyone else have this problem, and hopefully found a solution?

    Installed 10.5 into two computers, a MacBook Pro and a Mac Pro. Lots of problems, many of which have been discussed here. Got the Mac Pro sort of working but the MacBook Pro WILL NOT open any files. Go to *File Open* in any application and it either does nothing or just scrolls down and then immediately scrolls closed.
    Anyone else have this problem, and hopefully found a solution?

  • Window.open() & window.close () does not work in Portal application

    Hello All,
    I am trying to open & close a popup window from a weblogic portal. But the following don't seem to work in this environment. As a web application, it works fine.
    <netui:anchor action="DetailedWorkObject" target="<script @lang ='java'> window.open('IndividualWorkObjectDetails.jsp','null','resizable=no, HEIGHT=500,WIDTH=500'); </script>" >
    <netui:parameter name="CLAIM_NBR" value="{container.item.claim_Nbr}" />
    <netui:label value="{container.item.claim_Nbr}"/>
    </netui:anchor></td>
    I am using Weblogic Workshop 8.1 SP3.The above code opens up a new window but it cannot be closed with
    window.close()
    self.close nor this.close().
    I have even tried calling the script function where I write this code but without success.
    Does any one know why is this happenning ? Please tell me what is the work around for this situation.
    Please answer it as soon as possible.
    Thanks & have a wonderful Holiday!
    Message was edited by aatishbh at Nov 26, 2004 12:02 PM

    Not sure if anybiody answered this for you, or if you figured it out, but here you go. In the skins directory, the default skin contains a menu.js file which has the following function at line 232:
    function close(menuItem)
    if (menuItem && !currentMenuItem)
    closeAll(menuItem);
    This function is overriding the inherent javascript close() function. Simply rename this to something else (I renamed it to closeItem) and rename the call to it at line 228 (setTimeout("close(tmpMenuItem)", tryClosePause);), and you're golden.
    The two functions should look like this:
    function tryClose(menuItem)
    if (!currentMenuItem)
    tmpMenuItem = menuItem;
    setTimeout("closeItem(tmpMenuItem)", tryClosePause);
    function closeItem(menuItem)
    if (menuItem && !currentMenuItem)
    closeAll(menuItem);
    Hello All,
    I am trying to open & close a popup window
    opup window from a weblogic portal. But the following
    don't seem to work in this environment. As a web
    application, it works fine.
    <netui:anchor action="DetailedWorkObject"
    target="<script @lang ='java'>
    window.open('IndividualWorkObjectDetails.jsp','null','
    resizable=no, HEIGHT=500,WIDTH=500'); </script>" >
    <netui:parameter name="CLAIM_NBR"
    value="{container.item.claim_Nbr}" />
    <netui:label value="{container.item.claim_Nbr}"/>
    </netui:anchor></td>
    I am using Weblogic Workshop 8.1 SP3.The above code
    opens up a new window but it cannot be closed with
    window.close()
    self.close nor this.close().
    I have even tried calling the script function where I
    write this code but without success.
    Does any one know why is this happenning ? Please
    tell me what is the work around for this situation.
    Please answer it as soon as possible.
    Thanks & have a wonderful Holiday!
    Message was edited by aatishbh at Nov 26, 2004 12:02
    PM

  • HT203421 Since installing Yosemite 10.10 the Apps Store application on my iMac does not work

    installing Yosemite 10.10 the Apps Store application on my iMac does not work properly. Applications show up in the App Store window to be updated but in fact most of them do not download and install. Some 3rd party software does download and install but most Apple and HP Applications do not. They appear in some cases in both the Ready to update or install list and in the "Installed in the last 30 days list". In some cases when I click on "Update" it shows in the "Installed in the Last 30 Days list" but it is not installed.  In the case of the latest Yosemite 10.10.3 beta down load, it momentarily show up like it is downloading but then disappears and does not install.

    I am now using Yosemite 10.10.2 and am trying to install the beta Download Yosemite 10.10.3 hoping it will resolve my problem but starts to download from the App Store snd then quits.

  • Application Role does not work

    In EM, I add a new application role to an ADF web application.
    This application role named simple11_AR_superAdmin and it has a group member named simple11_G_superAdmin.
    This group is created in weblogic console and assign users.
    However, this setting does not work. This application can be login by all users (including weblogic).
    How to enable application roles? Does application role of EM equal to application role created in Jdeveloper?

    DO NOT UPDATE ON THE PHONE ITSELF! Never do this! You risk bricking your iPhone and seeing the Silver Apple Logo of Death due to incomplete downloads and/or crashing! This has happened to me on my old iPhone as well as thousands of others. Use iTunes and iTunes only to update Apps!

  • IPhone 5 - Voice Recognition Does Not Work

    The voice recognition does not work in any application.  When you speak you see the waveform change following your speech.  In Siri, it even recognizes when you stop speaking. In apps like Messages, the progress circle just goes around and around without stopping until you kill the app.  In Siri, the progress circle goes around and around but after a while, Siri comes on and says she can not fulfill the request and to try later.  I think I searched every possible setting.

    It is covered under warranty.  Make a Genius bar appointment.

Maybe you are looking for

  • How to assign the same GTIN for different material?

    Hi, I've managed to install an internal number assignment for the GTIN / EAN in material master which works fine. Now we need to assign the same GTIN to different material numbers.  Since the defined number range is marked as internal I cannot use th

  • Bootcamp windows 7 listen to line in soundcard driver not installing

    Hi there and thanks for reading. Bottom line Bootcamped Windows 7 I just want to be able to HEAR my line in input in REALTIME not a 1-2sec delay like the "listen to device" thing in windows has by default. I've tried to install realtek drivers howeve

  • Spotlight serch not working properly

    Dear all.. I do not exactly know when this problem start, cuold be a cost of a server or client update. But suddenly the search with Spotlight from a OSX 10.5.8 on a 10.5.7 OSX Server does not find the file I am shure are in the server, in folder abv

  • Overdubbed Music and Video Eventually Lose Sync

    Hello Everybody, I've encountered something and I just cant't seem to work out what's causing the issue. I have just shot an exercise DVD with a fitness instructor. Shot on my Sony Z5, HDV 108050i. After the class the instructor gave me the exact CD

  • Less coloumns displayed when report run in background

    Hi, There is a problem, when i run a report in background last few columns are not displayed. But when i run it in foreground all the columns are displayed properly.. Bt since the report hs to be run background, I need to fix this issue.. Cn anyone e