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

Imbedding pictures into a VFP.EXE

Status
Not open for further replies.

VBFOXDEV35

Programmer
Mar 26, 2001
77
US
Gang, just a quick question. How does one imbed a picture to a VFP.EXE instead of linking it. The graphics files I have are on a network, however when you run the EXE locally without a network connection, the EXE runs very slow. Is there anyway around this because the application path can vary. Thanks all

Artay
 
ClayTech

You could use a general field in a table and include the table in the project, the embedded graphics files becoming read only.

Be warned though that this may create a gigantic .exe! X-)

Chris :)
 
Hi!

You can also include images into the EXE file. You can save image to disk from EXE using APPEND MEMO command for temporary cursor than saving content of memo to disk.

You can also make a startup program that will copy all bitmaps to local folder if they're new or changed (date is later). We have used this way in one large application and it had a great success, this worked also for lookup tables, database with views etc.


Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top