Skip to Content

Offsite Activation of an olecontrol results in "Create Package" pop-up window

This problem is easy enough for us to create, and I am quite sure it was not a problem in the possibly distant past.

First, we execute the following on an empty PB "olecontrol" sitting on a window:

ole_1.insertFile ("c:\temp\test.jpg")

Then we execute the following which we hope would display the JPG picture:

ole_1.activate (offsite!)

Instead the following Windows dialog is displayed. We can't seem to get anywhere meaningful from this dialog.

The above sequence of events works fine if the file has a well defined host application, such as a MS Office document or PDF. We would hope a file of type JPG would activate meaningfully because, after all, you can double-click on a JPG to meaningfully view it. This problem occurs for files of type "txt", and no doubt others.

Does anyone know anything about this and/or have a fix or suggestion? This is PB 12.5.2, by the way.

Do we know whose problem this is? I.E. Could this be theoretically fixed within PowerBuilder?

Thanks,

Dan.

Create Package.jpg (56.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2016 at 12:40 AM

    Hi Dan;

    Here is a similar issue a customer had on another PB version with Vista ....

    We also had the same problem with PB 10.5 and 11.5 when using Vista. Here is the work around. Activate the OLE object InPlace! instead of OffSite! Surprisingly, this still opens the file in the application it was created in so it can be viewed and/or printed. This appears to only be required for Package OLE objects, but also works for Word and Excel OLE objects.

    HTH

    Regards ... Chris

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Dan Harrel

      Hi Dan;

      AFAIK it would be up to SAP to hand over any fixes to Appeon - which I am sure that they would appreciate hearing about. I would suggest that you contact your SAP Support representative for clarification on this question.

      Regards ... Chris

  • author's profile photo Former Member
    Former Member
    Posted on Aug 09, 2016 at 02:39 PM

    Hi Dan;

    1) Have you tried this by running your application from PB 12.6?

    => You can download the v12.6 evaluation & its good for 30 days.

    That could answer the "is it fixed" question

    2) What version of MS-Windows are you using?

    Regards ... Chris

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Dan Harrel

      No idea about 12.6 - just curious if you had tried this.

      It's a pain when your development PC works great yet the deployed version does not. That gets compounded when it's on remote PC's without you knowing the configuration details.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.