Skip to Content
avatar image
Former Member

Pb.ini file?

Hello,

we have a powerbuilder .ini located in the folder C:\Program Files (x86)\Sybase\PowerBuilder 12.5. When we changed the content, e.g. adding new paratemeters (noCatalog, etc) in the file, it seems that changes does not have an effect at all. We have restarted the pb application, and any of our changes does not affect. Any ideas, what are we doing wrong?

Best regards,

Mika Muurinen

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 31, 2014 at 10:01 AM

    Hi,

    check the pb.ini file used by powerbulder looking in the registry key:

    HKEY_CURRENT_USER\Software\Sybase\PowerBuilder\12.5\InitPath

    and use a tool like procmon to see if there is a problem when PB open the file.

    I don't have pb 12.5 installed, but pb 12.6, in my case, uses the pb.ini located in

    C:\Users\<myusername>\AppData\Local\Sybase\PowerBuilder 12.6

    Regards

    Alberto

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2014 at 12:53 PM

    Further to what was previously said..... You can not save changes to any files in the Program Files folders. Its a Windows security feature. Keep this in mind when you deploy your application. Your ini files should be placed in the AppData\Local\<application name> folder.

    Randy

    Add comment
    10|10000 characters needed characters exceeded