Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: BZ Dusk
  
 
 
 BZ Dusk
 To: manute97 perquin
  Where is manute97 perquin?
 Monte Plata
 Dominican Republic
 manute97 perquin
 Tags
Subject: RE: how add player's picture?
Thread ID: 16075 Message ID: 16079 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Tuesday, October 08, 2002 9:33:49 PM         
   


> i have a table player, with all player's information, how save your photo in my table...
> please help me....
>
> Perquin de Leon
> mp200

Hi!
1. scan the players pics and save them to pic file ex. bmp
2. add photo_file field (memo type) on your player.dbf
3. add an image box on your player entry form and a command button to get pic file
4. on the command button click event add the following:

LOCAL lcFileName

lcFileName = GETFILE("BMP",this.Caption,"Select")

IF !EMPTY(lcFileName)
THISFORM.imgPhoto.Picture = lcFileName
REPLACE player.photo_file WITH lcFileName
thisform.Refresh()
ENDIF

hope this helps

BZ


ENTIRE THREAD

how add player's picture? Posted by manute97 perquin @ 10/8/2002 9:15:54 PM
RE: how add player's picture? Posted by BZ Dusk @ 10/8/2002 9:33:49 PM
RE: how add player's picture? Posted by manute97 perquin @ 10/8/2002 10:15:01 PM