Skip to Content
0
Aug 08, 2016 at 06:59 PM

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

184 Views

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.

Attachments

Create Package.jpg (56.0 kB)