Button changes style when connected to Application Manager

I've connected the standard axButtons to the application manager in a custom OI built in CSharp using Visual Studio 2008.  When I run the OI, the buttons change from the standard style (rounded edges, etc.) to what looks like a classic style (squared edges, no color gradient, etc.).  At first I thought this might be a limitation of CSharp, but when I ran the executable CSharp UI (shipped with Teststand), the buttons look correct.  Is there a reference that I've not added or something?  I've followed (pretty much copied) the code found in the full-featured CSharp UI, leaving out functions that I didn't need.
Below is the only real code involving the two buttons.  It's pretty simple so I imagined it's a project property that I've setup incorrectly.  I've also included the namespaces I included.
Thanks for any help
using NationalInstruments.TestStand.Interop.API;using NationalInstruments.TestStand.Interop.UI;using NationalInstruments.TestStand.Interop.UI.Support;using NationalInstruments.TestStand.Utility; 
// Connect Sequence Controls this.axSequenceFileViewMgr1.ConnectCommand(this.axEntryPoint1Button, CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0, CommandConnectionOptions.CommandConnection_NoOptions); this.axSequenceFileViewMgr1.ConnectCommand(this.axEntryPoint2Button, CommandKinds.CommandKind_ExecutionEntryPoints_Set, 1, CommandConnectionOptions.CommandConnection_NoOptions); 
Solved!
Go to Solution.

Scott, once again, thanks for your help.  I've tried several things relating to this manifest file, all to no avail.  First, I tried pasting the lines you mention into the <program>.vshost.exe.manifest file (the vshost file was the only manifest file that I could find, is this the correct one?)--no change.  In the "Application" tab on the project properties, I can select create w/o manifest or embed manifest.  I tried both, but from this point the original manifest file was deleted during the build process and did not show up anymore.
The project includes the windows common buttons as well as the teststand .NET controls.  I assume this would accomplish the lines you mentioned, but I am a .NET newbie so I could be wrong there.
I've attached a 2008 C# Express project which includes no code, only a windows common button and a teststand button on a form. When I run this program, I see the same behavior.  Can you take a look at this, and let me know if you see the same behavior?
Thanks,
Shawn
Attachments:
TS_Control_Test.zip ‏62 KB

Similar Messages

  • Trusted CA Certificate Ignored When Connecting To Node Manager

    I have a question about Node Manager.
    I have the following configuration:
    OS: Linux (CentOS 5.4) 32bit
    Oracle WebLogic Server 11gR1 (10.3.2)
    Portal, Forms, Reports and Discoverer (11.1.1.2.0) - only Forms and Reports are installed and configured
    All configured components start successfuly, but I receive the following security related messages when I connect to Node Manager.
    java -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.TrustKeyStore=DemoTrust weblogic.WLST
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> nmConnect('weblogic', <weblogic password>, 'icweb001', '5556', <domain name>)
    Connecting to Node Manager ...
    <Nov 25, 2009 3:35:35 PM EST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Nov 25, 2009 3:35:35 PM EST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    Successfully Connected to Node Manager.
    wls:/nm/DynaMed>I understand that the two BEA-090898 messages associated with the specified certificates are informational, but is there anything I can do to either,
    1) correct the certificate so the messages are not generated, or
    2) change my setup so that the messages are not displayed?
    Thanks in advance for your help.

    The certificates at issue belong to the $JAVA_HOME keystore in weblogic
    $JAVA_HOME/jre/lib/security/cacerts
    ttelesecglobalrootclass3ca, Feb 10, 2009, trustedCertEntry,
    ttelesecglobalrootclass2ca, Feb 10, 2009, trustedCertEntry,I was able to stop the warning messages from appearing when connecting to node manager, by removing these two certificates from the $JAVA_HOME/jre/lib/security/cacerts keystore.
    cd $JAVA_HOME/jre/lib/security
    cp -p cacerts cacerts.original
    chmod 644 cacerts
    keytool -delete -alias ttelesecglobalrootclass2ca -keystore cacerts
    keytool -delete -alias ttelesecglobalrootclass3ca -keystore cacerts
    chmod 444 cacerts cacerts.originalOnce the certs are removed from the keystore, the warning messages no longer appear when connecting to node manager.
    Some additional information on these two certificates can be found at:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6803022Edited by: wblum on Feb 18, 2010 1:10 PM

  • When the Adobe Application Manager will open the following message: Download error. What should I do

    When the Adobe Application Manager will open the following message: Download error. What should I do

    is the error some gibberish like : UW44PKU  or some code similar to that?
    i think the code is        U44M1P7.
    if this is what happens i think i know what to do, that is if you already have PSCS6 (permanent license) version on you risk before you joined cc.
    vince
    Message was edited by: vinsolo

  • Time Machine: Backup folder changing size when connected to different computers

    Can someone please help me wrap my head around why the size of my Time Machine backup folder changes when connected to different computers? I tried to be as thorough as possible.  Thanks in advance for taking the time to read this.
    I made a backup of my one laptop (MacBook Pro running 10.6.8) before installing Mavericks.  The backup folder size is 258.56 GB and it is on a 1TB WD external.  There are no other computers backed up in this folder.
    Last night, I tried to copy the backup folder to another 1TB WD external and ran into the “you can’t do that” message.  After some researching, I came across articles explaining how Time Machine handles HDs and, in order for me to copy my backup folder, the drive I want to copy the folder to needs to have the “Ignore ownership on this volume” deselected.
    Okay, so here is my situation: I have the “Ignore ownership on this volume” deselected and journaling is correct on the drive I want to copy the backup folder to.  So I can continue working on my laptop, I want to use a different computer to copy the backup folder from one HD to the other.  The problem I’m having is each computer I own is showing me a different backup folder size O.o.
    (1) The computer I want to use – a Power Mac G5 Quad running 10.4.11 (non intel) – is showing a backup folder size of 592.7 MB, but the HD shows there is 258 GB being used.  When I drag copy, I only get a 592.7 MB backup folder.  For some reason, the backup folder is the only folder acting this way. I compared other folders from the same and different externals and all the sizes match up perfectly no matter the computer they were connected to. How is this possible?
    (2) My second option - Mac Pro (early 2009) running 10.9.4 – is showing a 256.15 GB backup folder size.  Very close, but not 258.56 GB.
    (3) My last option is to use the computer I’m trying to stay away from, the MacBook Pro running 10.6.8.  This is the computer I backed up and is showing me the correct folder size = 258.56GB.  As I mentioned, I'd like to work on my laptop while copying the backup folder using one of my other computers.
    I am able to drag and drop from each computer, but the folder size depends on the computer I’m using.  I don’t understand why I can't do a simple drag and drop of a 258 GB folder.
    Many thanks!!

    The directory files that you are seeing are not real. They are links to the actual backup files that are stored in a hidden directory on the drive. If you were to look at the same drive on a pc, you would see the folders and you would a list files that are in the folders but the files would all be 0 byte files and Windows will tell you the file is empty because there is nothing there but a link which Windows does not understand.
    So the point is you can't just copy the backupd files. The best solution that I know of (and maybe someone else will chime in) for copying them is to mirror the drive with something like Carbon Copy or some other program.
    See this site for more information about time machine and how it works: http://pondini.org/OSX/Home.html

  • Error message when connecting trough EM manager

    Hi,
    When i want to make a connection trough EM manager i receive the following error message:
    oracle.net.config.ServiceAliasException: TNS-04404: no error
    caused by: oracle.net.config.ConfigException: TNS-04414:
    caused by: TNS-04602:
    Does anyone know what this means, subsequently i get the message:
    "Failed to parse tnsnames.ora file"
    Thanks in advance,
    Charles.

    As "EM manager" could mean anything, I can't give you a precise answer. But if you simply search on TNS-04404 in metalink you'll get a range of answers.
    Judging by the 'Failed to parse tnsnames' message, I'd wager someone has made a hash of editing the tnsnames.ora and left dodgy characters/syntax in it.

  • Get error when connecting SQL 2012 Management studio to SQL Server 2012 database

    I got this error message when I tried to connect to SQL Server 2012 using Management studio 2012.
    Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)

    Did this get this resolved?
    My SSMS 2012 was running without issue for several months until I installed VS2012. After the VS2012 I started getting "Service 'Microsoft.SqlServer.Management.IRegistrationService' not found" when connecting to database in SSMS 2012. I uninstalled VS2012
    and SSMS 2012 started working again. Installed VS2012 and SSMS 2012 is broken again.
    I tried the above suggestions without success. Here are the error details. Any help is greatly appreciated.
    ===================================
    Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)
    Program Location:
       at Microsoft.SqlServer.Management.ServiceProvider.GetService[T](IServiceProvider serviceProvider, Boolean throwIfNotFound)
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.Initialize()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.GetView(String urnPath)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.<GetColumnsFromNavigationService>d__11.MoveNext()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.AddFields(List`1 list, IEnumerable`1 fields, IDictionary`2 allValidFields, AddFieldsFlags flags)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.GetParentFields(INodeInformation source, Dictionary`2& allValidColumns)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItemWithQuery(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent)

  • Keep getting "Download Error" when using Adobe Application Manager. Have tried from different areas.

    I'm trying to update my CC Illustrator, as there is an issue that has apparently been resolved with a new update.
    Whenever I try to update Illustrator, or even download a new application, I get an error window "Download Error.  Try again or contact customer support."
    I have tried to download both directly from Adobe Application Manager and from the Creative Cloud website itself.  I have restarted my computer.   This has been happening for 2 days now.  Just can't seem to connect with Adobe Application Manager. 
    At one  point I got a window message that said to check the Adobe Site Status, and all looked green and fine there. 
    And this forum appears to be the only "customer support" ???!  I don't see any chat help or phone help.  Is that true?
    I can go back to CS4 Illustrator to get the feature that I need (zoom in/out using magic mouse+Option, which is my favorite and essential Illustrator shortcut) but obviously will need to update and download more CC features and programs in the near future.
    Thank you for anyone who can help me.
    Barbara

    You can also use Download New Adobe CC Trials: Direct Links (no Assistant/Manager) | ProDesignTools
    Direct Download Links for Adobe Software
    Are you on a managed network. If yes please refer the Knowledge base article: http://helpx.adobe.com/creative-cloud/help/cc-desktop-download-error.html.
    You may even try the direct download: http://prodesigntools.com/adobe-cc-direct-download-links.html.
    Kindly follow the very important instructions before download.
    It might help you.
    Regards
    Rajshree

  • Unable to change permissions when connecting over SMB

    As of OS 10.9, SMB2 is the default protocol when connecting two Macs running 10.9. Unfortunately, SMB2 seems to be half-baked at this time. Among the issues I've encountered, one of the more vexing ones is that it does not seem to be possible to change permissions on a remote file or directory over SMB. In Finder, the permissions section simply says "you have custom access" regardless of the file/folder's actual permissions. Even if I have full read/write access to the file/folder, I have no way to change its permissions.
    chmod and chown also don't work. They don't report an error – they simply don't do anything when I run them on remote files.
    If I connect to the same system via AFP, everything works fine and I can change permissions in Finder, and via chmod.
    Is anyone else seeing this behavior? Are permissions just broken under SMB2?

    So the background to this situation:
    1. The user had OS 10.6.8 installed on one volume, while his actual users home folders stored on a second volume, this is fine but can sometimes cause issues during/post upgrade to 10.7
    2. The user upgraded to 10.7 and while his home folders were still being accessed, he no longer had permission to change or modify them.
    3. The user downgraded to 10.6.4 again which broke the link for his users completely.
    4. In an attempt to change the permissions for his information he had the (common) mistake of changing the permissions of his root level of his drive, this did several things, in addition to negatively effecting his OS, it also locked the drive mount points in his (hidden) /Volumes/ folder.
    5. the steps taken to help rectify this issue:
    A. Open Terminal.
    B. TYPE:
    chmod -N /
    chmod 1775 /
    chown root:admin /
    C. Reboot computer
    D. Open Disk Utility.
    E. Repair permissions on the boot volume.
    F. Also the following commands were run on her second drive to allow him access to his stuff again:
    sudo chflags -R nouchg /path to drive/
    chmod -R 775 /path to drive/
    chmod -RN /path to drive/
    chown -R username:staff /path to drive/
    Once the permissions repair is complete the Users can be readded to the System Preferences>Accounts pane and the paths to home directories located in his second drive using the "Advanced Options..." section, but due to the time the permissions repair was going to take this step will be posted tomorrow.
    Also each user will require Terminal commands to make the permissions unique for each user: (this must be done PRIOR to the users being added in System Preferences>Accounts.
    chmod -N /
    chmod 1775 /
    chown root:admin /
    sudo chflags -R nouchg /path to home folder/
    sudo chmod -R 775 /path to home folder/
    sudo chmod -RN /path to home folder/
    sudo chown -R username:staff /path to home folder/
    EE

  • D4O-1014 error when connecting to Application Server-- OracleBI Discoverer

    Hi everyone,
    I try many approaches even remove all dimensions and cubes, still has the error msg when connecting to OracleBI Discoverer Version 10.1.2.2.
    Oracle Database is 9.2.0.7.0
    D4O-1014: An unknown exception had occurred while connecting to the database
    Do you have any hint or suggesion?
    Thanks.

    First : make sure you have a backup of your AW data model.
    I think you will find there are some additional CWM/CWM2 dimensions/cubes owned by SH in the metadata catalogs that do not actually exist. I cannot remember all the commands but if you look in the OLAP documentation for 9i one of the OLAP manuals refers to the CWM_ and CWM2_ views and the PL/SQL packages that can be used to remove the dimensions and cubes. I think all the offending objects will be owned by the user SH but check before you delete anything.
    Once you have removed the old objects run the following commands as the OLAPSYS user:
    exec CWM2_OLAP_METADATA_REFRESH.MR_REFESH;
    exec CWM2_OLAP_METADATA_REFRESH.MR_AC_REFESH;
    Also make sure you do not assign the OLAP_DBA role to your user, only assign OLAP_USER role.
    Hope this helps
    Keith Laker
    Oracle Data Warehouse Product Management
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • My Macbook display changes color when I open applications. It looks like there is a light blue layer over the screen, thus changing the color of my display. This layer goes away when i quit the applications.

    I am facing a problem and I am not sure if its a graphic card malfunction. When I open applications like Chrome, VLC player, and most apps, my display suddenly changes color. It is as though the Theme was changed. The normal grey panel on opened windows turns to light blue and everything else seem as though there is a light blue layer on top of it. When I close these applications (quit) the display returns to its normal self.
    My MacBook Pro is 2 years old, and I have an extended warranty. Will Apple replace my graphic card if it is actuall the graphic card's problem?

    I had that problem, too, and it's been documented both here and on the Adobe forums. What happens is that when you have dynamic switching on, when an application that uses your discrete GPU kicks in, the screen will change color. My problem lasted for a couple of weeks then just vanished.
    What you need to do is download Cody Krieger's gfxCardStatus and turn off dynamic switching and leave your GPU set to discrete only. That's the only fix that I know of at this time. I don't know why it happens or why mine stopped.
    Good luck,
    Clinton

  • Making buttons change colour when clicked on, sounds simple......

    hello could somebody please give me the code to make a jbutton change colour when it is clicked on, muuuuuuuuuch appreciated, thanks!!!!!!!!!!!!!!!!!!!!

    w e l l - k e w l !
    I made a few adjustments here. Mainly for myself:- you know when you JUST CANNOT FIND THAT DARN COLOUR !!! - 'Pandavas' sexy little program is right on the button!
    Click on the button and it cycles through colours randomly and tells you the RGB value ...import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ColorChanges extends JFrame implements ActionListener {  
      int red = 0;
      int blue = 0;
      int green = 0;
      java.util.Random rand = new java.util.Random();
      JButton button = new JButton("Colour Me!");
      JLabel label1 = new JLabel("                  The new colours are:                ");
      JLabel label2 = new JLabel("");
      public ColorChanges() {
        super("RGB VALUES:");
        setSize(200,108);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
        button.addActionListener(this);
        getContentPane().setLayout(new FlowLayout() );
        getContentPane().add(button);
        getContentPane().add(label1);
        getContentPane().add(label2);
        setVisible(true);  
      public void actionPerformed(ActionEvent eve) {    
            red = (Math.abs((rand.nextInt())%255));
            blue = (Math.abs((rand.nextInt())%255));
            green = (Math.abs((rand.nextInt())%255));
            cooller();
      public void cooller() {   
          button.setBackground(new Color(red,green,blue));
          label2.setText("RED: "+red+" GREEN: "+green+" BLUE: "+blue);      
      public static void main(String[] args) {
          new ColorChanges();  
    }

  • When will Adobe Application Manager does not list Premiere Pro?

    Hi,
    I'm trying to install Premiere Pro for the Creative Cloud but I can not get past the Application Manager. Is there another way to install it?

    What do you mean "cannot get past the Application Manager" ? Do you see the Premiere Pro in AAM or you don't see it even?
    What is your OS ? Do you get any error message ?
    Please elaborate , nothing is clear......

  • How to change ringtone when connected via bluetooth

    When the Z3C is paired via bluetooth with my car audio system, the Z3C playes a different ringtone then the one which I have set as default.
    How can I change (set) the ringtone when the Z3C is connected in my car?

    I'm not to sure but I would imagine it has something to do with Smart connect and how it's setup when paired
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • Satellite U500: Volume + button stick ON when connected to AC adaptor

    I have a problem with the touch buttons on my U500. I have already returned the first notebook I bought for exchange.
    The issue is as follows:
    When the power cord is plugged in (regardless if connected to the wall) the "Volume +" button will stick ON.
    The volume will then continue to increase, it can not be muted or turned down as the + continues to repeat.
    Without the power cord inserted the buttons works as expected (normally).
    I have done fresh install from recovery disks - Not fixed (running Vista)
    Then another fresh install and Win7 upgrade this new PC is having the same problem.
    At first I had assumed a hardware fault (the new PC did work fine for a while).
    But now the second PC has the identical symptoms I suspect a software/driver issue.
    I have seen some suggestion for similar issues to:
    Re-install "Toshiba Common Modules" but I can't find this on the support site for U500 in Australia.
    Any help would be greatly appreciated. Thank you all.

    Thank you kindly :)
    Bios was ver 1.4 , upgrading to ver 1.6 appears to have fixed the problem.
    I hadn't updated the bios as the support site for Win 7 doesn't list the bios.
    Although the "standard" downloads page does.
    Thanks again, if the symptoms return... I'll post back.
    Cheers.

  • Change language when connected

    Hi experts,
    Is there anyway to change the system language when already connected without disconnect/reconnect?
    Thanks.
    Amine

    No, there isn't a way to do that. You need to logoff and back on selecting the desired language as you do.
    Steve.

Maybe you are looking for

  • Serious Problem on start up...related to 32" monitor???

    I recently got a 32" HD LCD monitor and hooked up my MacMini to it. Upon restarting the MacMini after doing a switch between the old monitor and the new monitor while the MacMini was on, the MacMini refused to load, only showing a flashing question m

  • JButtons with multiple lines

    I am having trouble using the JButtons. I'm trying to create buttons that have two lines of text in them (a string with a newline character in it), but for some reason the text on the button always reads as one line, even though the string itself pri

  • How do I get song lyrics to display?

    How do I get song lyrics to display on my iPod Touch 4g and iPad 2? The lyrics are in iTunes. They do display on my iPod Touch 2g. I did try a reset on the iPod Touch 4g, but did not fix problem. Thanks to anybody who can help Scott Los Angeles

  • X-Scale Timing, Producer Consumer Structure

    Good day, I'm using a Producer consumer structure and I'm enqueueing data every time in a while, almost every 50 minutes, and I want to make a graph with the Amplitud in the Y-Scale and the time in the X-Scale but I cant get right the timing for the

  • How to start IPC deployment??

    Hi everyone By implementing IPC, in my Guideline there is an instruction: Deploy Service -> Application IPC -> Start. but i can not find this in SAP E-Commerce Administration Console Extended Configuration Management (XCM) Administration thanx a lot!