Design Time and Dynamicall​y Created Controls

I have a project written in VC6 as an MFC Dialog Box project. In a particular box, I dynamically create several (exact number depends on user entry) CNiGraphs. There are also a two CNiButtons that were created at design time using the resource editor. The problem I'm having is that when this dialog box is opened, a message pops up saying it's an eval version and the control will go inactive after 5 minutes. After waiting 5 minutes, the 2 CNiButtons go inactive (turn black), but the CNiGraphs continue to run. I have a valid licensed version of MStudio 8.1.6, but it appears that these 2 buttons don't recognize the license. There are also other design-time buttons in the project but those one's don't have a problem at all. When creating the dynamically creating the CNiGraphs I give them a valid license string, and I was wondering if there is a problem with having design time created and dynamically created controls in the same dialog box. Does anyone know?
I can't remember, but I may have created those 2 CNiButtons when I was only using an eval license. (All the other were definitely create when I had a full license) Could that be affecting them? I seem to have a vague recollection of reading somewhere that design-time create controls check the license when they are created in the designer and store that license info in them. If that's the case does anyone know an easy way to update the license stored in the control? I'd rather not just delete it and re-add it as I'd like to avoid having to redo the tab order (unless someone knows how to easily insert something in the middle of the tab order instead of having to click through all the controls in the correct order?)
Also, I'm not sure if this would affect anything, but the project was originally built with ComponentWorks 1.0, but we were forced to move to MStudio when we encountered some bugs in CW, so all the controls were originally CW Controls that have been converted to CNi Controls. I doubt this is it though as everywhere else we changed over the controls don't have a problem, but I'm willing to try suggestions.
Solved!
Go to Solution.

Hi JC,
I hope you had a good weekend!  I am glad to hear you are back up and running.  Adding the extra button was, in fact, what caused the updating of the license information for the other buttons, as you suspected.  After doing further research, I have found that the license information is stored wtihin the form for the control, and unless that control changes in any way (or in your case adding a new one to the project), it does not see any reason upon compiling to relink the license.  However, after changing the control and recompiling, it updates the linking of the license information, which resolved this issue in your case.  
I hope this helps, JC.  Have a great day!
Taylor G.
Product Support Engineer
National Instruments
www.ni.com/support

Similar Messages

  • Design time and Runtime licenses

    We are planning to use the Compact RIO for industrial process control and logging of values for furthur analysis.
    As we are new to the NI products, would like to know, what kind of licenses will be required for this purpose, like design time and run time licenses. The system end-user is not interested in having a development license at his end.
    Is it possible to have only the run-time licenses at the user end?
    Any help would be appreciated.
    Thanks in advance...

    EventTrigger wrote:
    We are planning to use the Compact RIO for industrial process control and logging of values for furthur analysis.
    As
    we are new to the NI products, would like to know, what kind of
    licenses will be required for this purpose, like design time and run
    time licenses. The system end-user is not interested in having a
    development license at his end.
    Is it possible to have only the run-time licenses at the user end?
    Any help would be appreciated.
    Thanks in advance...
    Obviously you will need the LabVIEW development environment and
    according Extensions to develop the software. So this means you will
    need the LabVIEW development system and either the RealTime Extension
    or the FPGA Extension or both, depending how you will setup your
    applicationon the CompactRIO system.
    For your end user
    you would not need any specific runtime licenses as long as you use NI
    hardware, since the cRIO controller comes with the necessary runtime
    license already for the realtime OS on the controller and the cRIO
    backplane comes with the runtime license for the FPGA code.
    LabVIEW
    build applications in itself do also not need a seperate runtime
    license since the development system license gives you the right to
    distriibute your host application with the LabVIEW runtime engine. This
    would get different if you use any of the Toolkits such as Vision
    Development, Sound and Vibration, Datalogging, Supervisor and Control
    or similar which do all have their ownruntime license that needs to be
    purchased for every deployed application that makes use of their
    functionality.
     Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Context at design time and run time

    Hi,
    Can anyone tell me what is the difference between context at design time and context at run time?
    Regards
    V. Suresh Kumar

    The structure of context is usually defined at design time while context node and attributes are created at runtime based on the design. However, it is possible to modify the contents of context as well as to alter its structure at runtime too. To help understand it better, see these 2 online presentations.
    1.  [The context at design time|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f059fe81-90f2-2a10-9593-cda1645f0020].
    2. [The context at run time|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a015df6f-28f3-2a10-0291-e8e5c8aeb1bd].
    Hope it helps,
    Vishwas.

  • Design time and Server in separate Oracle Homes (QuickStart)

    there seems to be a contradiction between the QuickStart guide from JEAN-PIERRE DIJCKS and the 9.2 Install and Config Guide on whether separate Oracle_Homes are needed if you install both on the same machine.
    The QuickStart Guide says to use the same home, but the Install and Config Guide says to use separate homes (p 2-4 and 2-18).

    You can install the design time and server components in the same home on the same machine. The Install Guide is incorrect and needs to be updated. I'll file a documentation bug.

  • Syncing design time and run time view in WPC

    Hi,
         We use WPC to develop web content. Especially when we use the table control provided in the Htmleditadvanced(advanced paragraph) component for creating web content the size of the font that is displayed in design time is very big. We do control the font size at run time by altering the font style available in the /etc/wpceditor/runtime/styles folder. But a the same time we are unable to alter the font style at designtime so that we can have the design time in sync with run time when the page is previewed. We did try exploring the css files available in /etc/wpceditor/designtime/styles folder, but was not of any use.
    Any pointers will be appreciated.

    Hi ulahoti,
    Welcome to our forum, I have downloaded your "Basic Project", I think it looks well after change
    <Border
    CornerRadius="20" Background="Black"
    Padding="8">
    <Border
    CornerRadius="20" Background="White"
    Padding="8">
    <GroupBox
    Header="Fading Mode" Background="White">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition
    Height="*"/>
            <RowDefinition
    Height="Auto" />
    </Grid.RowDefinitions>
    to:
    <Border
    CornerRadius="20" Background="Black"
    Padding="8">
    <Border
    CornerRadius="20" Background="White"
    Padding="8">
    <GroupBox
    Header="Fading Mode" Background="White">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition
    Height="Auto"/>
            <RowDefinition
    Height="Auto" />
    </Grid.RowDefinitions>
    If your issue persists, or I have misunderstood your concern, please let me know, and share your
    main concern
    with me, then I will do my best to resolve your issue.
    Best regards,
    Sheldon _Xiao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Secure Store Service Application takes a lot of time and does not create the database

    Hi everybody,
    I was trying to configure sharepoint performance point and I was following the instruction. After I created the performance point services application I tried to creat the secure store service application. When I do this, the progress window stays open forever
    even after 2 hours. If I close the window, I will see that the secure store service and proxy app is created and the application pool also is created in IIS but the database is not and the application service is stopped. even when I want to delete it, it's
    the same story and the progress window stays until I close it manually. Nothing has been logged in the event viewer because it doesn't throw any exceptions.
    I don't think that I have permission issues on the database server side because I have created the performance point service app and the database is there. I have used the same credentials to crete the secure store.
    I have restarted the secure store service and IIS for many times and even the server itself.
    I'm wondering if anybody has had this issue because I couldn't find anything on the web.
    Thanks,
    Edwin 

    Alex, please ignore my previous answer. I found more information in the ULS. At the time that I started creating the service application by power shell these things are logged and they are repeated several times:
       it starts with:
    11/13/2013 15:19:55.52 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esj6 High    
    Creating Secure Store Service Application 'Secure Store Service Application'.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.54 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esj9 Medium  
    Creating "database object" 'SP_SecureStore' for application. At this time database is not created.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.54 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esk0 Medium  
    Saving "database object" 'SP_SecureStore' in the config db.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.83 w3wp.exe (0x0944)                      
    0x0DB4
    Secure Store Service          
    Secure Store                  
    d4gx Verbose
    BackgroundTasks instance accesed.
    11/13/2013 15:19:55.83 SPUCWorkerProcessProxy.exe (0x13A0)    
    0x02B0
    Secure Store Service          
    Secure Store                  
    d4gx Verbose
    BackgroundTasks instance accesed.
    11/13/2013 15:19:55.83 PowerShell.exe (0x1698)                
    0x1740
    Secure Store Service          
    Secure Store                  
    f7wk Verbose
    StartTracker called for secure store ''
    11/13/2013 15:19:55.83 PowerShell.exe (0x1698)                
    0x1740
    Secure Store Service          
    Secure Store                  
    f7wl Verbose
    Tracker not started because call not made from Service Host.
    11/13/2013 15:19:55.83 WebAnalyticsService.exe (0x0A6C)        
    0x1B88 Secure Store Service          
    Secure Store                  
    f7wk Verbose
    StartTracker called for secure store ''
    Finally it says:
    11/13/2013 15:19:55.90 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esk9 High    
    Secure Store Service Application 'Secure Store Service Application' created.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d

  • Difference between Design Time and Runtime

    Hi all, very nice to be here sharing knowledge with each other.
    I wanna share my practical experince knowledge that is ,
    Almost all the properties that can be set at the Design time for any object can also be set at the Run-time using only
    GET_object_PROPERTY and SET_object_PROPERTY.
    In fact, I have posted the same info on some othr place, too.
    Thanx.

    Hi all, very nice to be here sharing knowledge with each other.
    I wanna share my practical experince knowledge that is ,
    Almost all the properties that can be set at the Design time for any object can also be set at the Run-time using only
    GET_object_PROPERTY and SET_object_PROPERTY.
    In fact, I have posted the same info on some othr place, too.
    Thanx.

  • Using Time and Date to create calender events

    Hi all,
    I want to create 'events' in a users calender through my apex app. To get just the date seems fine, but ideally I want to store both the Date and time of the event.
    I have a data entry page that has 2 calender items(one item is a date picker, the other item is a modified datepicker that only displays time).
    My idea is to somehow concatenate the 2 values together and insert those into one date column.
    I was wondering if anyone has a elegant solution to this, surely I cant be the first person to come across this?
    Thankyou

    I've tried creating a procedure that to_chars the two date items then concatenates them and to_dates them into the final date item, but this doesnt seem to be working very nicely....

  • IPod Shuffle 3rd Gen fully charged, blinks orange five times and I can't control it with the remote (I used 3 different remotes), volume is low and is iPod is unresponsive... any ideas on how to fix it?

    The iPod was working fine, then after about 45 minutes of use i looked as if battery drained.
    I charged it fully again (until green light) and then turned it on, green light and then orange light blinks five times...
    I can't play /pause, or turn volume up or down from the remote... tried with original Apple earphones, and two Bose MIE2i (original and sports models)...
    Any ideas of what can be wrong? or how can I fix it?
    Already tried restoring it to factory settings.... it didn't solved the problem...

    Hey there PakoArreola!
    I have a website here for you that can help you troubleshoot this issue with your iPod shuffle:
    Apple - Support - iPod - iPod shuffle (3rd generation) Troubleshooting
    http://www.apple.com/support/ipod/five_rs/shuffle3gen/
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Setting Property at design time and run time differ outputs

    On AI OCX Object I have set property in BUFFER>>Number of Scan to acquire = 600, Allocation Mode = Host Memory, Return data type = scaled data only And in Clock >> Clock=Scan, Clock Sourec Type = Internal,Scan/Second = 600 And in CONDITIONS>> Condition=Stop and Continuous..
    But when I want to set them at runtime I am not getting proper output
    I have defined at runtime...
    CWAI1.NScans = 600
    CWAI1.ScanClock.Frequency = 600
    CWAI1.AllocationMode = cwaiHostMemory
    CWAI1.ScanClock.InternalClockMode = cwaiFrequency
    CWAI1.ScanClock.ClockSourceType = cwaiInternalCS
    CWAI1.UseDefaultBufferSize = True
    CWAI1.Configure CWAI1.start
    Please guide me ... where I am gettin
    g wrong
    Best Regards"

    Hmmm, it looks like everything you have is correct. Except that it appears you haven't specified the channels you want to acquire from. I would expect to see something like this:
    CWAI1.Channels.RemoveAll
    CWAI1.Channels.Add "1,2,3"
    I have attached one of the shipping examples that also programatically specifies the properties. You might use it as a comparison to your code. I hope this helps.
    Regards,
    Russell
    Attachments:
    FiniteAcquisition.zip ‏4 KB

  • GP Design Time - what is the purpose of 'Create Object View' option?

    We are running EP 7.01.  When I am in the GP Design Time, and I click on the 'Create Object View' link, I receive the following error:
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.sap.caf.eu.gp.ui.bo.VCreateBasicData.wdDoInit(VCreateBasicData.java:103)
        at com.sap.caf.eu.gp.ui.bo.wdp.InternalVCreateBasicData.wdDoInit(InternalVCreateBasicData.java:159)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
        at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
        ... 55 more
    What is the purpose of the 'Create Object View' option?  I cannot find it in the documentation.

    Hi Karen,
    The Object Types are used to define the Parameters for the Callable Objects. We Can create the Object Views for the CAF Core Entity services or UME Pricipal Objects such as Users,Roles Groups etc. While creating the Object View we can select either of these and then we can create a view i..e. Select the required attributes from those Business Objects i.e. Entity Services or the Principals. Once we create the Object View, we can use them to define the Parameters for the callable Objects. While defining the parameters for Callable Objects, if you click the dropdown for 'Type', you'll see an entry 'Reference to BO'. If you select the entry, you'll see the list of Object Views you have created and you can select the Object View you want for defining that parameter. In short it means that you can create the Obect Views for the BOs i.e. CAF core Entity services and Pricipals. And then you can define the parameters for the Callable Objects with type 'Refence to BO' pointing to your object views.
    [further Info|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/051d496d9c5922e10000000a155369/frameset.htm]
    [Some more Info|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/051d496d9c5922e10000000a155369/frameset.htm]
    Regards,
    Ajay

  • How to add values dynamically for custom property during design time?

    I am trying to create a user control with custom properties. I have a property named Server.
    And Values for this property is system dependent. I have the code that can generate the values and is working fine.
    During the design time, when I include this control in my application, and type the property name, I want Visual Studio to prompt for the values. Like it
    does for Alignment property for some controls shows Left, Right, Center.. during design time.
    If the Values are static, I can use an enum and it works fine. I need help with dynamic values.

    You can't, afaik.
    It's either an enum or you don't get that functionality of values.
    There is no right left centre, "Towards the top right but just off centre" - which I just thought of... option for example.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • ActiveX, WingMan Joystick, Immersion TouchSense: can't set "design time" property

    I am trying to control a Logitech WingMAN force feedback joystick from
    LabVIEW, via the ActiveX control provided by Immersion Corporation
    (ImmWeb.ocx).
    I know I have basically got the ActiveX right, because I can control
    other
    Immersion-enabled devices (Logitech iFeel mouse) fine.
    However, I can't get the WingMAN to work: the ActiveX control has a
    dtDirectXForbidDevice property, which I need to change to
    dtDirectXRequireDevice. Immersion have told me that this property is
    set
    at design time, and is read only at run-time. Trying to set it at
    run-time
    returns an error. How should I set this property, ideally within
    LabVIEW, but alternatively by some other means?
    Many thanks.
    Patrick
    p
    .[email protected]

    Aaron Marks wrote in message news:<[email protected]>...
    > I'm not sure about this one, but try right clicking on the control on
    > the front panel and selecting the Property Browser. See if you can
    > change the property there.
    I can _SEE_ the property there, but I can't change it. 8-(
    Patrick

  • SLD Design Time vs SLD Runtime

    Can anyone let me know the difference between SLD Design time and SLD Runtime?

    Hi,
    Below Blog explains SLD at design time and runtime
    SLD: General recommendation how to set up the system landscape directory
    Below two PDFs gives you in-depth details about SLD.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0a1a8fb-0527-2a10-f781-8b67eab16582
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b09fe69e-46be-2a10-9fb0-9c11aeaa3557
    Below is some info which will be useful for you...
    Design, Configuration, and Runtime
    The implementation of a collaborative process [Seite 10] is split into three phases:
    u2022 During the design phase, you document the entire collaborative process and determine
    which interfaces are required. You can either define new system-independent
    interfaces to implement at a later point in time (outside-in development) or work with
    functions that already exist in the systems (inside-out development). In this phase you
    design the logical collaborative process by describing in a specific role the message
    exchange between the application components. This description is still not specific to
    any particular installed system (see also: Design Time [Seite 4]).
    u2022 During the configuration phase, you configure your collaborative process for a specific
    system landscape. For example, you define conditions for the message flow and select
    design objects that meet your requirements. (See also: Configuration Time [Seite 6])
    u2022 The configuration data is evaluated at runtime and controls communication. You can
    monitor the message flow by using a central monitoring.
    This three-stage process is reflected in the architecture:
    Design time and configuration time each have a central data storage point providing an
    overview of all data that is relevant to the cross-component process: the Integration
    Repository and the Integration Directory respectively. To edit this data, you use a single
    tool, the Integration Builder. The content of the Integration Repository and Integration
    Directory is known as collaboration knowledge.
    u2022 The Integration Server is the central u2018distribution engineu2019 for messages [Seite 14] at
    runtime. All systems that use the Integration Server to communicate with each other
    use this server to exchange messages. These systems are referred to as business
    systems at a logical level; within a specific system landscape they are called technical
    systems or communication parties. Using the configuration data from the Integration
    Directory, the Integration Server decides to which receiver or receivers it must send the
    message and whether a mapping needs to be executed beforehand.
    for more info refer to the below PDF from Page Nos 6 to 9...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/627d1cbc-0601-0010-aea2-c275521673f2
    Regards,
    Srinivas.
    Edited by: srinivas sistu on Aug 4, 2008 12:38 PM

  • Diffrence b/w Deploy Time & Design time in Java bean model

    Hi all,
    I have craeted a model using java bean.
    create model->import java bean model->Add JAR->browse the jar.
    There i have got two Radio Buttons
    Design Time
    Deploy Time
    I have worked with this two i have not observed any difference.
    Can anyone give me some idea about this.If possible with an example to?
    Thanks & Regards,
    Lokesh.

    HI Lokesh,
    The basic difference between design time and deploy time is. design time jars are only used when building your aplication and considered to be present already on server. and at runtime application refer to it..
    while if you keep deploy time, then the application itself keeps that jar file with him and at runtime it refers to it.
    i.e. application deploy that jar file on server.
    When you run an application, application need all its dependencied to be present in webdynpro container of server.
    your javabean model needs those jar files at server. so when you chose deploy time. it personly deploy that file on server.
    Iif you keep it as design time then. then you will be  able to build it.
    but if those jar files are not present at the server then your application will not get deployed.
    e.g.
    let A & B are your two applications and they need xx.jar file of a EJB  which is created by you  to create a javabean model.
    now as this xx.jar file is not present at server.
    1. when you create model for A. Keep it as deploy time.
    as application A deploy that xx.jar file on server. B can refer it directly
    2._when you create model for B keep it as design time._

Maybe you are looking for