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

how to change form background picture using VBA Code

Status
Not open for further replies.

v5652

Programmer
Mar 19, 2008
76
IN
i want to change the form background picture through VBA code. because if path of the mdb file changed then i have to change path of every form background picture.
all background pictures are linked.
can anyone pl help...?
 
Have a look at the Picture property of the Form object.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
How are ya v5652 . . .

A [blue]static file location[/blue] for these files is what you need, and the [blue]location should be local to the machine![/blue] Local affords faster loading and no traffic interference if the db resides on a network.

A path as simple as C:\dbPics\ is all it takes.

[blue]Your Thoughts? . . .[/blue]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
thanks to both of u for the quick response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top