Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change PBD reference in the Exe

Status
Not open for further replies.

bubbly

Programmer
Mar 28, 2003
74
0
0
AE
Hi

Can we change the PBD reference at runtime in the EXE file?

If so... how do we go about it?
 
1. Define a ini file, in which creates a MyAppLibs section:

MyAppLibs=d:\installation\a.pbd,c:\temp\b.pbd....

2. in your program, at beginning always reads the ini file and load this path and set it as your application libraries path.

Now you can change your PBDs list dynamically all the time.
 
Clarification -

I believe you can only reset your library list in the application open event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top