Support for late binding

I've created a couple of similar top-level VIs that make use of a number of common subVIs. In the interest of modularity, I'd like to place these common subVIs into some kind of a folder or library that is shared by the top-level VIs - so far, so good.
Some of these shared subVIs refer to other subVIs that are separately and uniquely implemented for each of the top-level VIs. My original thought was that LabVIEW might use "late binding", when the top-level VI is loaded for execution, to resolve all of the subVI references, and thus pick up the correct uniquely-implemented subVIs for the particular top-level VI being loaded. However, observations have led me to believe that all of the subVI references are resolved statically, at compile time, and thus a shared subVI cannot refer to different subVIs depending on which top-level VI is running. And I can see that it makes sense that it needs to be this way, given the way that the LabVIEW development environment works.
Consequently, it seems that shared subVIs need to be able to statically resolve any of their own subVI references to one specific implementation at compile time. Thus subVIs that cannot do this cannot be shared subVIs, even though they are otherwise identical in each of the top-level VI contexts. Separate identical copies of such subVIs will need to be maintained for each top-level VI.
Do I have this approximately correct? Is there any way that this kind of "late binding" can be supported in LabVIEW?
Solved!
Go to Solution.

There are two ways you could make this work; you'll have to determine which one is appropriate for your situation. The first is to use VI reference for the specific instance you want. Inside the generic subVI you use a Call By Reference to call the VI that was passed in. Several of the VIs supplied with LabVIEW demonstrate how this works, for example take a look at "Constrained Non-linear Optimization" under the Mathematics->Optimization palette. You'll see that one of the terminals is are reference to a VI that implements the function to be optimized.
Another possible solution is to use the dynamic dispatch capabilities of LabVIEW's Object-Oriented Programming. In this case, your library would implement a class. The specific instance you want to call would inherit from that class and define a specific VI that overrides the version in the generic library. When a VI in the library calls the subVI, it will dynamically dispatch to the child method, if the object is of the child class and the child method exists.

Similar Messages

  • Support for Array Binding and PL/SQL tables (IN, INOUT, or OUT)

    I have attempted, unsuccessfully, to use array binding in stored procedure/function calls where the sp/sf has parameters that are PL/SQL tables. I have seen the topic floating around in this forum, but I have not seen the explicit questions:
    - Does ODP.NET support PL/SQL tables as IN, INOUT or OUT parameters to stored procedures/functions?
    - Will any planned ODP.NET release support PL/SQL tables as IN, INOUT or OUT parameters to stored procedures/functions?
    I am aware that I can use REF CURSORS to handle the OUT situation, but I need to make a design decision concerning supporting parameters of IN and INOUT PL/SQL tables.
    Thanks.
    James

    You really MUST do this!! - i.e. include support for PL/SQL table parameters (IN INOUT and OUT) in a future release of ODP.NET.
    PL/SQL tables are a fundamental type in Oracle stored procedures and you will be preventing a huge number of existing projects from migrating to .NET if you don't acknowledge them as part and parcel of Oracle programming.
    I sincerely hope support for PL/SQL table parameters is treated as a serious issue.
    Think what a coup it would be for you over Microsoft (who don't currently support PL/SQL tables with their .NET native provider for Oracle and don't look as if they will at least in the short term)!
    Please, please, please!

  • Examples for Native Mode ( early or late binding)

    HI,
    Do you have examples of Native Mode programming model (for early or late
    binding )?
    thanks & Best Regards,
    Regina Schwartz
    BEA Israel Support
    Phone: 972-3-7535705
    Fax: 972-3-7517045
    e-mail: [email protected]

    HI,
    Do you have examples of Native Mode programming model (for early or late
    binding )?
    thanks & Best Regards,
    Regina Schwartz
    BEA Israel Support
    Phone: 972-3-7535705
    Fax: 972-3-7517045
    e-mail: [email protected]

  • I am at Ramstein AB Germany.  My iphone screen was smashed badly on the flight to Germany this morning.  WHEN I access apple support for this subject it gives me 3 options call now, call me now or call me later.  As I am in Germany with no coverage and no

    I am at Ramstein AB Germany.  My iphone screen was smashed badly on the flight to Germany this morning.  WHEN I access apple support for this subject it gives me 3 options call now, call me now or call me later.  As I am in Germany with no coverage and no working phone none of those options will work.  Can you get this e-mail to someone who can help.  My iphone serial # is C38xxxxxx. 1) I need to know where and how I can get a replacement somewhere nearby in Germany 2) If 1 is not an option I need to set up an appt to get a to get a new iphone at an apple store in Atlanta GA in the evening of 11 July.
    Thank you very much, Phil Edelen
    <Edited By Host>

    Thanks, my wife is the one serving I am retired and trying to follow her as much as I can. 
    I will schedule an appt for my next time stateside.  I have spent too much time on many Apple web sites trying to get an e-mail to communicate with anyone at Apple to no avail, only phone numbers. I guess if you are overseas with no international access you are out of luck communicating with them.  I did find one e-mail address but the reply was computer generated and provided useless links.
    If anyone has any e-mail address for anyone at Apple I would appreciate it.
    Thanks again,
    Phil

  • MST Support for MacBook Pro Retina Late 2013 - DisplayPort 1.2 - Will it ever happen? (with sources)

    So back in October, I purchased a brand new Macbook Pro Retina (MBPr), fully loaded with top of the line specs.  I was soooo excited to have Thunderbolt 2 tech which Intel AND Apple describes as having DisplayPort 1.2a compatibility - which up to this point is unfortunately NOT the case.  The point of the information/questions and requests in this article is to engage a conversation about the issues of not having MST support after Apple falsely mislead their consumers to think otherwise - especially when it is clear the MBPr is capable.  Please read on...
    Apple advertises that the Thunderbolt 2 ports on BOTH the MBPr and the new Mac Pro (NMP) will have 4K Display support with the famed 20gb/sec Ports (DisplayPort 1.2 only requires a little above 17gb/sec).  Now that the 10.9.1 update has been released, we have failed to see MST or Multi-Stream Transport enabled on the MBPr Late 2013.  Now, as for the New Mac Pro- it DOES have MST enabled in 10.9.1 with the AMD GPUs.  For all of you out there that's questioning what this means, short answer is basically the Mac Pro will be able to power a 4K Monitor at 60Hz through the Thunderbolt 2 Port but the New MBPr is stuck with only HDMI 1.4 support which tops out at 4K 30Hz. 30Hz is unacceptable for anything but movies or a photo slideshow.  At 30Hz the cursor will jump across the screen, eliminating any of the benefits of 4K.
    BUT it gets worse...
    Apple can be seen advertising that the new MBPr 15" model can power a 4K monitor THROUGH the Thunderbolt 2 Port here: http://www.apple.com/thunderbolt - This article quotes the following:
    "Now with Thunderbolt 2 built into the new Mac Pro and MacBook Pro with Retina display, you can connect the latest 4K desktop displays and get double the bandwidth for your peripherals. And the two generations of Thunderbolt technology are compatible with each other."
    Does this not let the consumer assume that the newest MBPr will be able to drive a 4K display through the Thunderbolt 2 Port?  I would say yes it does, but at the time I wrote this, the TB2 Ports can't power a 4K display because, as previously stated, MST is disabled in Mavericks for the 15" MBPr Late 2013.
    NOW, later on Apple posted the following article on 4K support here: http://support.apple.com/kb/HT6008
    4K support on the MacBook Pro (Retina, Late 2013)
    MacBook Pro supports 4K displays and Ultra HD TVs at the following resolutions and refresh rates with the built-in HDMI port:
    3840 x 2160 at 30 Hz refresh rate
    4096 x 2160 at 24 Hz refresh rate (mirroring is not supported at this resolution)
    In the article above the New Mac Pro is listed as having support for a 4K Display with the Thunderbolt 2 Port (or MST DisplayPort 1.2a Technology) at 60Hz with no problem.  This leads myself and many others to believe that MST will NEVER be enabled on the newest MacBook Pro Retina with Nvidia GPUs. Yes, 4K IS supported but ONLY through the HDMI 1.4 port, which has the limitation of only 30hz.  This two-faced advertising is extremely upsetting to a LOT of people, including myself.
    Interestingly enough, THIS IS NOT a hardware issue.  If one ventures into Windows 8.1 via Bootcamp and connects a 4K Display via the Thunderbolt 2 (or through DP1.2) Port, the Display registers at 60Hz, thus proving that the Thundberbolt 2 Hub Controller is completely capable of MST DisplayPort functionality.  Clearly this a driver issue with Apple, Nvidia or Intel or any combination.  What Apple has done here is forcing any professional that desires stable and clear 4K technology through their MacBook Pro Retina to do so only using Windows 8.1 on their own machines!  Definitely an oxymoron if you ask me...
    Later on when the Mac Pro was ready for ordering, Apple placed the Sharp PN-K321 as a compatible option for a 4K Display.  On the Store page featuring the (over three thousand dollar) Sharp 4K display, located here http://store.apple.com/us/product/HD971LL/A/sharp-32-pn-k321-4k-ultra-hd-led-mon itor?fnode=53 Apple states the following:
    "Note that 4K DisplayPort operation is only compatible with the new Mac Pro (Late 2013)."
    All of that being said, and I'm terribly sorry for my wordy ranting...
    This brings me to a final two requests to ANYONE reading this post:
    a) Has anyone working with the new 10.9.2 Beta Update seen evidence that DisplayPort 1.2 capabilities will be enabled for the new MacBook Pro Retina (Nvidia 750M) with the promised "Graphics Driver Updates" within the next Mavericks update?
    and
    b) To others that purchased or were/are thinking of purchasing a new MacBook Pro Retina with TB2 Ports: If you are just as upset as me about this crushing blow to consumers that just purchased a $3,000 laptop that were promised something that wasn't delivered - I urge you please, write to Apple and let them know they are making a mistake.  You can do this though the support page or through http://www.apple.com/feedback
    Thank you for your precious time, and if anyone has anything to contribute to this issue, please jump in....

    GOOD NEWS!
    The Mavericks 10.9.3 update adds official support for Thunderbolt 2, 4K!
    I'm not sure if you will be able to daisy chain anything to the 4K display.  I've read that the design of Thunderbolt 2 includes support for DisplayPort 1.2 multi-stream (MST), which allows this type of daisy chaining with 4K, but we don't know if Apple has this supported on it's machines.  Apparently it's been buggy in development because the graphics driver needs to work correctly with the Thunderbolt 2 host controller.  I'm sure they will work it out if they haven't already.
    The above is all via found information on this topic, but you can follow some more discussion here:
    http://forums.macrumors.com/showthread.php?t=1713876
    One more note on Thunderbolt worth sharing: always keep your fastest peripherals closer to the computer in the chain. If you have a TB1 device directly connected to the computer, anything further down the chain will be limited to TB1 speed/capability regardless of it's native speed.  Always connect TB2 devices first, and save anything TB1 for the end of the chain.

  • This version of AirPort Utility requires this AirPort Extreme use firmware version 7.3.1 or later. Go to AirPort Service and Support for more information.

    I am trying to update my Airport Extreme. I go into the Airport Utility and this is the message attached I get when clicking on it.
    "This version of AirPort Utility requires this AirPort Extreme use firmware version 7.3.1 or later. Go to AirPort Service and Support for more information." That;s it.
    I guess I can hard reset it, but this seems weird. Any advice would be nice.
    Thank you.

    Dear Bob, I have same problem:
    "This version of AirPort Utility requires this AirPort Extreme use firmware version 7.3.1 or later. Go to AirPort Service and Support for more information."
    My MBAir is running OSX 10.9.3 and the AIrPort Extreme I'm trying to use is A1143.
    Thanks

  • HT201178 With the coming of OSX Mountain Lion, will there be support for a late 2006 iMac  (currently running OSX Lion

    With the coming of OSX Mountain Lion, will apple be supporting a late 2006 I mac currently running OSX Lion?

    Ahhhh. Well, now you have earned a "Slap Kappy" coupon good for one slap. Expires in 30 days.
    The 64-bit kernel thing will leave a lot of use behind. My main machine is a 2006 Mac Pro on which I've spent some money putting in two 4-core CPUs and an ATI 5770 GPU in the past year. If I want to run ML I can't do so. The only options I have for a desktop Mac is either a newer Mac Pro model - post 2007 - used or refurbed or a recent or new iMac. This assumes the Mac Pro line may be dropped. Apple has been very mum on that.
    Clearly, Apple wants to get users of older hardware to buy new machines in order to run ML now and in the future. Because it is possible to boot the older models with the 64-bit kernel via some hacking, Apple might have been able to install ML on them by adding some code and retaining 32-bit drivers where needed, but they've chosen not to take that route. I think it's a bit of a marketing ploy to help drive up sales of new Macs, but I appreciate that Apple has chosen to abandon legacy support in the past in order to avoid having an OS like Windows - bloated by support for older and older hardware.

  • [svn:fx-trunk] 9349: * Added support for using getStyle() in Mxml data binding expressions.

    Revision: 9349
    Author:   [email protected]
    Date:     2009-08-17 11:32:37 -0700 (Mon, 17 Aug 2009)
    Log Message:
    Added support for using getStyle() in Mxml data binding expressions.
      In addition to the existing "function return watcher" data binding
      functionality, we register to listen for style related change events
      when we see a function marked with [Bindable(style="true")].
      UIComponent's and TextGraphicElement's styleChanged() will now
      dispatch events for "getStyle()" FunctionReturnWatchers to handle.
      When null or "styleName" is passed into styleChanged(), we dispatch
      an "allStylesChanged" event.
    QE notes: mxunit test to follow
    Doc notes:
    Bugs: SDK-20394
    Reviewer: Glenn, Pete F, Peter D
    Tests run: checkintests, mxunit databinding
    Is noteworthy for integration: only if you want to start using it.
    Code-level description of changes:
      modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java
        Modified generateWatcher() to do the AST equivalent of the
        WatcherSetupUtil.vm change.
      modules/compiler/src/java/flex2/compiler/as3/binding/FunctionReturnWatcher.java
        Removed unused isNew variable and added isStyleWatcher variable.
        Modified shouldWriteSelf() to return true if isStyleWatcher is true.
      modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm
        Modified writeFunctionReturnWatcher macro to add a true arg to the
        FunctionReturnWatcher constructor call when isStyleWatcher() is
        true.
      modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEvaluator.java
        Modified evaluate(Context, MetaDataNode) to skip reporting an
        error for no events when style is true.
      modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassEvaluator.java
        Replaced insideCallExpression boolean with callExpressionStack
        Stack.  The "!insideCallExpression" checks were replaced with
        callExpressionStack.isEmpty().
        Modified addBindables() to handle [Bindable(style="true")].
        Made argumentListStack and resetSet more strongly typed.
      frameworks/projects/framework/src/mx/core/UIComponent.as
        Modified styleChanged() to dispatch a "Changed" and "allStylesChanged" from the previous
        parent and add listeners to the new parent when isStyle is true.
        Modified eventHandler to notifyListeners() when isStyle is true.
      frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicElement.as
        Similar changes to UIComponent.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-20394
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/FunctionReturnWatcher.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEval uator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/FunctionReturnWatcher .java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm

  • [svn] 3203: Add support for inline two-way data binding (syntax is @{expr}) .

    Revision: 3203<br />Author:   [email protected]<br />Date:     2008-09-14 05:11:47 -0700 (Sun, 14 Sep 2008)<br /><br />Log Message:<br />-----------<br />Add support for inline two-way data binding (syntax is @{expr}).  Also add support for two-way data binding via the <mx:Binding> tag and the new property twoWay=boolean (default is false).<br /><br />Code Reviewer: Paul<br />QA: tests for this feature need to be added to the regression test suite<br />Doc: new feature which needs to be documented<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/SyntaxAnalyzer.java <br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java <br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AnonymousObjectGraph Builder.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java <br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ModelBuilder.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ServiceRequestBuilde r.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java< br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/BindingNode.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TextParser.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/BindingExpression.java<b r />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties

    EvilDave UK wrote:
    Surely there's a more practical way around this without having to reboot?
    Before you go to the trouble of going through all those steps, be warned that attempting to use Dreamweaver CS4 with SVN could even cause Dreamweaver to crash after updating to SVN 1.6.2. I, too, have abandoned SVN integration with Dreamweaver until the problems are sorted out. I reported this problem to Adobe a couple of weeks ago, and spent a long time working with an Adobe engineer, who was able to reproduce the problem, but not offer a solution. Hopefully, the next version of Dreamweaver will have more robust support for Subversion.

  • Does WebLogic support late binding?

    Hi,
    One of BEA's competitors told me that they are the only one to support 'late binding'. I don't really know what it is, so could someone explain something about it?
    And is it true that BEA does not support this so called late binding?
    Thanks and greetings,
    Ben

    Late binding is supported by weblogic also.
    Late binding is a way of providing access to another application's objects. In late bound access, no information about the object being accessed is available at compile time; the objects being accessed are dynamically evaluated at runtime. This means that it is not until you run the program that you find out if the methods and properties you are accessing actually exist.
    - Navaneeth

  • Late Binding Word Automation creates a document with an unresponsive Ribbon

    I have a .NET ActiveX COM object that is calling Word and adding a template for processing. This template will get some data and then add in a layout template which will create the final document with the data and layout.
    When it is all said and done, the Word document has all the data, however, when the user tries to access the ribbon (click on one of the tabs or an item in the visible ribbon), nothing happens (like it is disabled).  You can click into the document
    itself and if the document has bolded text or something like that the ribbon changes to reflect the changes in font. 
    The only way for the ribbon to become responsive is to either minimize and reshow Word or select another application and then back to Word.  This "unlocks" the ribbon and you can interact with it.
    I accidently left in a reference to Word 2010 when I was testing something and then the code I have worked.  I went back to late binding and removed the reference to Office 2010 and it does not work even though none of my code has changed.  The
    Word constants/enums I am using were already locally created and the methods I am using have the either no parameters or the appropriate parameters provided as far as I know.
    In the code snippet below, the line "officeApp.ActiveWindow.Activate()" is what worked with early binding to
    cause the ribbon to be responsive immediately and allow the use to interact with the ribbon with no additional steps.  With late binding nothing seems to work.
    Code snippet :
    Dim reportDocument As Object = Nothing
    Try
    officeApp = GetObject(, "Word.Application")
    usingExistingWord = True
    Catch exp As Exception
    'Not Ideal - would prefer not to rely on Exception handle to catch this
    If officeApp Is Nothing Then
    officeApp = CreateObject("Word.Application")
    End If
    End Try
    Try
    'Open process template
    templateDocument = officeApp.Documents.Add(Template:=ProcessTemplate)
    Catch exp As Exception
    Success = False
    If Not usingExistingWord Then
    officeApp = Nothing
    templateDocument = Nothing
    End If
    Throw exp
    End Try
    If templateDocument Is Nothing Then
    'The process template was not loaded/added properly, abort code
    If Not usingExistingWord Then
    officeApp.Quit()
    officeApp = Nothing
    End If
    Success = False
    Exit Sub
    End If
    'hide Word while the process template runs its code.
    officeApp.Visible = False
    Try
    officeApp.Run("RunReport", _parameters, reportDocument)
    Catch exp As Exception
    Success = False
    If officeApp IsNot Nothing Then
    If templateDocument IsNot Nothing Then
    templateDocument.Close(SaveChanges:=False)
    templateDocument = Nothing
    End If
    If Not usingExistingWord Then
    officeApp.Quit()
    End If
    officeApp = Nothing
    End If
    Throw exp
    End Try
    If Success Then
    Try
    If reportDocument IsNot Nothing Then
    reportDocument.Activate()
    End If
    officeApp.ActiveWindow.Activate()
    officeApp.Activate()
    officeApp.ActiveWindow.ToggleRibbon()
    officeApp.ActiveWindow.ToggleRibbon()
    Catch ex As Exception
    End Try
    End If
    'Done - close the process template
    templateDocument.Close(SaveChanges:=c_wdDoNotSaveChanges)
    End If
    Thanks in advance for any help you are able to provide!

    Hi gardmica,
    Thanks for the detail explaintation. However I still failed to reproduce the issue. Here is the code I tested:
    Public Class Class1
    Sub Main()
    Dim reportDocument As Object = Nothing
    Dim usingExistingWord As Boolean
    Dim officeApp As Object
    Dim templateDocument As Object
    Dim ProcessTemplate As String
    Dim Success As Boolean
    Dim c_wdDoNotSaveChanges As Boolean
    Success = True
    ProcessTemplate = "C:\Users\UserName\Desktop\ProcessAndLayoutTemplates\MailMerge Process XML.dot"
    Try
    officeApp = GetObject(, "Word.Application")
    usingExistingWord = True
    Catch exp As Exception
    'Not Ideal - would prefer not to rely on Exception handle to catch this
    If officeApp Is Nothing Then
    officeApp = CreateObject("Word.Application")
    End If
    End Try
    Try
    'Open process template
    templateDocument = officeApp.Documents.Add(Template:=ProcessTemplate)
    Catch exp As Exception
    Success = False
    If Not usingExistingWord Then
    officeApp = Nothing
    templateDocument = Nothing
    End If
    Throw exp
    End Try
    If templateDocument Is Nothing Then
    'The process template was not loaded/added properly, abort code
    If Not usingExistingWord Then
    officeApp.Quit()
    officeApp = Nothing
    End If
    Success = False
    Exit Sub
    End If
    'hide Word while the process template runs its code.
    officeApp.Visible = True
    Try
    'officeApp.Run("RunReport", _parameters, reportDocument)
    Catch exp As Exception
    Success = False
    If officeApp IsNot Nothing Then
    If templateDocument IsNot Nothing Then
    templateDocument.Close(SaveChanges:=False)
    templateDocument = Nothing
    End If
    If Not usingExistingWord Then
    officeApp.Quit()
    End If
    officeApp = Nothing
    End If
    Throw exp
    End Try
    If Success Then
    Try
    If reportDocument IsNot Nothing Then
    reportDocument.Activate()
    End If
    officeApp.ActiveWindow.Activate()
    officeApp.Activate()
    officeApp.ActiveWindow.ToggleRibbon()
    officeApp.ActiveWindow.ToggleRibbon()
    Catch ex As Exception
    End Try
    End If
    'Done - close the process template
    templateDocument.Close(SaveChanges:=c_wdDoNotSaveChanges)
    End Sub
    End Class
    Did I miss any step? Does the issue exist when you didn't run the "RunReport" macro?
    Also I notich that the template is working in a compatibilty mode, is it helpful that convert it via File->Info->Convert?
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Future support for C++0x in Sun Studio

    I've recently been having to defend my choice of using the sun studio compiler against several gcc advocates here in the office. The one reasonable issue they keep bringing up is when the upcoming C++0x (more like C++1x or even C++2x at the pace the standards committee is operating at) features will be available in complete fashion in sun studio. They say, and I have to begrudgingly agree, that judging by the amount of time it took studio to support boost (template templates, certain partial template specializations, etc), there could be a long delay between the release of gcc's C++0x support and that of studio's.
    I understand that many of the new features of C++0x, even from initial glance, appear to be quite complicated, especially lambda functors and their associated []/auto return types, variadac template parameters and class concept checking. In addition, I understand gcc has an unfair advantage so to speak since it is being used as the test bed for many of the committee proposal submitter's proof-of-concept implementations (the variadic template parameter feasibility implementation written for gcc comes to mind).
    Could a developer please assuage my fears and inform me that the studio team has a roadmap/timeframe in place to release a studio that fully supports the new language-level features in a reasonably competitive time frame? It apparently will be the responsibility of the STLPort team to essentially copy many of boost's libraries (shared_ptrs, random numbers, type_traits) and rename them and move them to the std namespace and also supply the new unordered<> containers, to name a few.
    I for one can't wait until boost::mpl, boost::fusion, boost::format and others are all reduced from 10's of 1000's of lines of pre-processor generated crufty template definitions to a single variadic template declaration. Also, I won't feel quite so willfully derelict to efficient code every time i bust out an std::for_each and drop in a boost::bind generated functor and instead can use a lambda function with the various efficiency gains ranging from direct referencing to the stack variables passed in as the closure arguments to the ability for the compiler to actually inline the body of the lambda function where appropriate.
    I'm in no way trying to accuse you compiler developers of being slow to implement features, but just would like to be assured that there is nothing to worry about and there is a plan and current work being done on the required features. I know it's still a couple of years off, but I personally can't wait to replace hundreds of lines of boost::bind() calls with their more efficent lambda equivalent, and in addition clean up interfaces that could have used boost::bind if it weren't for the unacceptable overhead introduced often executed blocks of code.
    Thanks,
    Chris Knight - Faithful sun studio user through at least 2 major name changes and since at lest when it was called Forte 4.2 and RougeWave and classicIO libraries roamed the earth in vast quantities.
    P.S. I truly fear that the other 3 major compilers (gnu, intel, ms) will be out the door with C++0x in around the same time and boost will then willingly drop support for the sun compiler if it doesn't support the required language features at that time as they had no problem not supporting studio at all until Studio 12 so I'm sure as soon as the 3 compilers they run nightly tests with support it, they'll be just as eager to
    make use of the new features as I am.
    This leaves someone who has based their entire system on Solaris + SunStudio + Boost in a potentially undesirable situation. Solaris is far too stable and Linux to ever-changing to ever consider Linux as a platform for critical systems yet the idea of running g++ on Solaris w/ gcc's propensity to change their ABI on a weekly basis gives me immediate heartburn.
    Thanks again.

    You raise some very good points, and believe me, we are even more aware of them than you are!
    Short answer: We are planning to bring out a compiler conforming to C++0X in a timely fashion.
    Longer answer:
    Right now, we are working on providing binary compatibility with g++ as an option in the next compiler release. When we are done, you will be able to use g++ headers with Sun C++, and link the code with binaries created by g++. The first implementation will be on Linux. (Which versions of g++ and which versions of Linux? Stay tuned.)
    Implementing all the new features of C++0X will require a re-design of parts of the compiler front end. The current compiler organization does not support "concepts", for example. (We've been looking for an excuse to re-design the front end for a while, and C++0x is not just an excuse -- it's a requirement.) With the g++ ABI work done, we'll ready to start the re-design, and begin to implement C++0x features.
    We won't release an official (stable, fully-supported) product with C++0X features until the standard is final. Until then, any feature could change in unpredictable ways. We got caught by that problem with C++ 4.2 and C++98 -- we implemented what we thought were final features that changed dramatically after we released the compiler. We won't do that again. Compiler stability is one of our most important considerations.
    Beginning some time next year, we expect to have Express releases with some C++0X features. Express releases are our way of providing compilers with experimental features that might not be stable yet. It gives our customers a chance to try them out and provide feedback before they become part of a stable release. That is to say, a feature flagged as experimental is subject to change, and compatibility with other Express or official releases is not guaranteed. We can therefore fix bugs and catch up with late changes in the Standard as necessary.
    We have not yet done all the planning for our C++0X compiler, so I can't give you any estimates about specific feature availability and time frames. When we are farther along, we'll post the road map on a public site, and I'll announce it here.
    Steve Clamage
    Sun C++ Team

  • Web Services support for collection like ArrayList

    Getting this error message:
    "<Info> Did not find property empty in java.util.ArrayList:
    java.lang.NullPointerException"
    Are collections like ArrayList supported or am I trying to do something that
    can't be done? Any suggestions?
    Thanks
    Danny

    Hi Danny,
    Betcha thought I forgot 'bout cha, huh?
    I didn't ;-)
    The short answer to your question is no; WLS 6.1 does not support using any of
    the classes in java.util.*. However, it does support Object arrays as an element
    of an Object array, which means you can have code in you service implementation
    that looks like this:
    public Object[] getNestedObjects()
         Object[] objects = new Object[2];
         objects[0] = new Object[]{
              new String("23.76"),
              new Float((float)23.76)
         // Here, WorkOrder is a JavaBean or an object
         // that implements weblogic.soap.xml.XMLizable
         WorkOrder[] workOrders = new WorkOrder[]{
                        new WorkOrder(),
                        new WorkOrder(),
                        new WorkOrder()
         objects[1] = new Object[]{
              new String("My name is"),
              new String("Slim Shady"),
              workOrders
         return objects;
    The main issue I see with doing this is again, interoperability ;-)
    If the SOAP toolkit consuming the WSDL for the web service with the above method
    cannot handle the "xsd:anyType" XML Schema data type, you're in trouble. In general,
    SOAP toolkits want to know what type an element is so they can process it correctly.
    When you use a Variant data type (in Visual Basic) or java.lang.Object (in Java),
    you are basically promoting the use of weak data typing (or late binding). From
    what I've read about SOAP (well, actually what Don Box said he had in mind), XML
    Schema and namespaces were adopted to combat this very thing- weak or no data
    typing. Personally, I agree ;-) I think strong data typing makes processing a
    SOAP request much easier and faster, for everyone. Don't get me wrong, I don't
    have anything against object casting, but SOAP parameters (and return values)
    are not objects. They are XML elements, just like the other parts of the SOAP
    message. There is no behavior, just state. This being the case, isn't it safer
    to stick with the data types (e.g. arrays, structures, primitives, etc.) defined
    in the SOAP spec and "XML Schema Part 2: Datatypes" document? Enough SOAP boxing
    (pun intended). If you are interested in the "complexTypes" object graphs (using
    developer defined classes that implement weblogic.soap.xml.XMLizable) lab results,
    I can send you a zip. The biggest difference between using JavaBeans and objects
    that implement weblogic.soap.xml.XMLizable, is that you have much more control
    over which Java objects the later gets serialized/deserialized to/from. With classes
    that implement weblogic.soap.xml.XMLizable, the SOAP processor passes you the
    actual XML stream for the SOAP parameter (which in this case, is your developer
    defined class). It (the SOAP processor) also calls your developer defined class
    to get an XML representation for it's data types. It works great with Java clients
    (using the client.jar, of course), and I'm trying it out with .NET and MS SOAP
    clients this weekend. The most interesting revelation was figuring out how wsgen
    (well, actually the WSDL processor) generates the information in the <types> element
    of the WSDL ;-) I actually even know how to code an XMLizable so that it produces
    the exact element and attribute names I want. I also figure out how to get it
    to produce an <element ...>, as opposed to a <attribute ...>, and visa versa.
    Of course, WLS 7.0 (and WebLogic Workshop) make all of this a moot point, but
    it was fun to get the SOAP/WSDL processors in WLS 6.1 to "do my bidding" for a
    short while ;-)
    Regards,
    Mike Wooten
    "Danny Ngo" <[email protected]> wrote:
    >
    Hi Mike,
    Thank you for your response. Do you know if WLS 6.1 Web Services support
    the
    return of nested object array (object that contains other object arrays).
    Thanks
    -Danny
    "Michael Wooten" <[email protected]> wrote:
    Hi Danny,
    For interoperability (with non-Java SOAP implementations)reasons, the
    Java collections
    are not supported in WLS 6.1 ;-) You should consider using an arrayin
    place of
    this.
    Regards,
    Mike Wooten
    Danny Ngo <[email protected]> wrote:
    Getting this error message:
    "<Info> Did not find property empty in java.util.ArrayList:
    java.lang.NullPointerException"
    Are collections like ArrayList supported or am I trying to do something
    that
    can't be done? Any suggestions?
    Thanks
    Danny

  • 11.1.2 support for Mac OS?

    The 11.1.2 certification matrix for JDev can be found here: http://www.oracle.com/technetwork/developer-tools/jdev/jdev11gr2-cert-405181.html
    Under the operating system category for the Mac OS the supported version is "Apple Mac OS X 10.6-". Note the dash at the end.
    The 11.1.2 installation guide can be found here: http://download.oracle.com/docs/cd/E16162_01/install.1112/e17074/ojdig.htm#BDCFFEJC
    Under section 1 for the Mac OS it says the supported version is "For Apple Mac OS X Version 10.6 or later".
    Questions:
    a) Which one is right?
    b) If the certification matrix is correct, what's the dash at the end mean? Versions prior to 10.6? Does that rule out 10.6.8?
    c) If the installation guide is correct, is Lion supported?
    Thanks,
    CM.

    Ah the footnote explains it. When I copied the text across to post in this forum, the dash turned into a space, and I typed it back in to be consistent, but I didn't understand why I needed to do this. Now I think in the 11.1.2 certification matrix the dash is in fact the left over underscore for the superscript footnote from the previous notes, probably just copied and pasted in by accident.
    With regards to 10.7, in seeking clarification on the support can you also determine if 10.7 Lion support is planned please, and what Oracle's future JDev support for this platform are. It'll matter to a number of us ACEDs are we're running JDev on MacBook Pros. Obviously we can go with VMs, but the preferred platform is native on Mac OS.
    Thanks for your assistance,
    CM.

  • Every morning when I awaken my MacBook Pro, I come to find that my Safari browser has been closed. How to fix this? I don't want to lose anything I have possibly typed in a site that I have left to finish working on for later.

    Every morning when I "awaken" my MacBook Pro, I come to find that my Safari browser has been closed on it's own. How to fix this? I don't want to lose anything I have possibly typed in a site that I have left to finish working on for later. I checked system preferences and everything seems to be checked appropriately as well as for Safari's preferences.
    I am not sure what's going on, because Safari only just recently started doing this and I haven't downloaded anything, nothing out of my regular computer routine. As well, I upgraded to Mavericks when it came out and I have the last version of it too. I can't imagine that Safari would close simply because I don't have or want to upgrade to Yosemite. I am holding off on the upgrade for a bit, because I heard Final Cut Pro 7 can't be run on Yosemite. While I could partition my drive, I really don't want to. Mavericks is fine for right now :   )
    Okay sooooo...back to Safari...what the! Please help and thanks for any replies ahead of time!
    I Hope All Is Well In Your World :   )
    Nyna

    There's an Apple help page on the DNS problem - at http://support.apple.com/kb/TS3408
    The first thing to try is changing your DNS settings - and for that you need to open System Preferences, then the
    Network section.
    In Network - click  on Advanced - then the DNS tab
    under DNS servers - use the + button to enter two extra lines
    either these, from google dns
    8.8.8.8
    8.8.4.4
    or from OpenDNS
    208.67.222.222
    208.67.220.220
    then click OK & then 'Apply'
    You would need to do that seperately for the Cable (Ethernet) settings and Wireless (Airport)

Maybe you are looking for

  • Windows Server 2008 backups failing

    I have a Windows Server 2008, fully patched that backups recently started to fail and now, we are unable to open the Windows Server Backup. Also unable to open Disk Management or any other applications requiring Virtual Disk. Attempts to start VDS fr

  • Final cut pro fails to export my project

    Today i made a project on finalcut pro,when i tried to export it it failed showing this message What should i do?

  • I would like to know a phone # in which i can speak to a live person.

    I would like to know a phone # in which i can speak to a live person. Is there such a thing now days!!! Rick McLaughlin

  • Component Overlapping

    Can i have 1 component overlapping another in java with only 1 being on top always. I want to place a Textbox on a Combo, both being similar in height but the width of the Combo being slightly more than the TextBox. I want the TextBox to be on top fo

  • Navigating from WD component to POWL component

    Hi all,     I do have a requirement to navigate from my standalone wd component to a standard POWL component. Could you please tell how it can be achieved? Thanks & Regards, Arun.