cancel
Showing results for 
Search instead for 
Did you mean: 

PowerBuilder PBL compatible with Infomaker?

Former Member
0 Kudos
496

We would like to prepare a PB 12.5.2 PBL with datawindow objects only and send it to a customer who uses Infomaker 12.6.  Does anyone know whether this can and should be done? 

We had some problems doing this when InfoMaker was initially installed on Windows 10 where InfoMaker would "GPF".  SAP recommended installing Infomaker on a prior version of Windows, which our customer has done.

I am nervous about having them set a PowerBuilder PBL as the InfoMaker working PBL, and then experiencing problems and not be able to use InfoMaker to set the working PBL back.  Thus I have a second question - if this happens, does anyone know how to change the InfoMaker working PBL outside of InfoMaker itself? 

Rather than preparing a PBL for them we thought we would export datawindow objects and let them import the ".srd" files into their InfoMaker PBLs.  It seems, however, that InfoMaker does not support object export/import. 

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dan;

   Part II => It seems, however, that InfoMaker does not support object export/import.

Actually IM does allow object imports because its really the PB IDE "in disguise". You'll need to change the registry in order for the IM IDE to reveal the Library Painter's full features. 

FYI ....

Windows Registry Editor

[HKEY_CURRENT_USER\Software\Sybase\InfoMaker\12.6\Toolbar]

[HKEY_CURRENT_USER\Software\Sybase\InfoMaker\12.6\Toolbar\1004 0]

"Items"="1268 -1 1630 1262 1618 1266 1614 1616 1620 1456 1322 -1 1640 2290"

HTH

Regards ... Chris

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you very much, Chris and Terry.  We now have import/export working in Infomaker, and this allows us to send datawindow objects back and forth between us and our customer.  This is what we needed to do.

Former Member
0 Kudos

Hi Dan;

  That is great news!  Have you hugged your DataWindows today? 

Please mark your question as answered .. thanks.

Regards ... Chris

Former Member
0 Kudos

Hi Dan;

  Yes, since IM is really PB "in disguise" - it actually uses the PB (VM) run-time engine to execute. Thus, the support for DWO's is inherent. You can attach & use any DWO source in a PBL in IM v12.6 as the DWO source is backwards compatible to a point. The breaking point for IM v12.6 are DWO's from PB 9 and lower because they are ANSI vs PB 10 and higher which source code are based on Unicode instead.

   Note: You can not use a PB or IM v12.6 DWO in a lower PB or IM release.

HTH

regards .. Chris

Former Member
0 Kudos

Thanks, Chris.  To be sure: You are saying I can create a PBL in PowerBuilder 12.5.2, fill it with datawindow objects, and then open the PBL in InfoMaker 12.6 without any trouble?  Is this correct?

Thanks for the trick for enabling import/export within IM!

Former Member
0 Kudos

Correct, the 12.5.2 DWO's should work OK because if you look at their source code, the 1st line states: "Release=". IM or PB v12.6 will use the release statement to adjust its backward processing support.

Former Member
0 Kudos

IM will want to migrate the pbl, since the pbl is from an earlier version.

The import/export trick does work.

If you want to have a better idea what you can do by changing registry entries, take a look at this old PBDJ article I wrote for IM/PB 9: InfoMaker

Some of the hacks that worked in 9 (e.g. allowing you to write script in the IM Form painter) no longer work with newer versions.