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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing properties on multiple forms ??

Status
Not open for further replies.

Romanov

Technical User
Jan 18, 2002
11
DK
In my application I have the Picture property on my forms set to a bitmap file as a linked file - the bitmap is used as the background on all my forms. I have approximately 170 forms in my application.

I have now changed my application so that I need to to place the bitmap in another application.

I'm therefor looking for a way to replace the link to the bitmap through VBA. I really hope someone can help me with this.

Thanks in advanced.

Romanov
 
I would rename the old Bitmap file and the new Bitmap file to the old name, so like this your program will point to the new picture.

I think it is a lot of code to update all the picture properties in each form.
 
I did not explane my problem good enough. My application is installed my an installation program. Earlier the user alwys had to place the application in a certen directory on a specific drive. Now it is importent that the user himselfe can deside where to install the program. It is therefore the location of the bitmap and not the name there is the problem.

I hope this explanes my problem better.

/Romanov
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top