cancel
Showing results for 
Search instead for 
Did you mean: 

Pb.ini file?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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