Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Practice to Capture and Store Photo in VFP
Message
De
26/02/2015 09:59:11
 
 
À
26/02/2015 08:54:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01615867
Message ID:
01615870
Vues:
74
Don't store the picture in the table. Keep it external in the file system and just store the path/filename
Resizing is problematic and some formats work better than others. You may have to stretch an image that can distort it.
Use the Image control to display the image.

>What is the best way to allow my users to:
>
>a. Select a picture to upload to a specific record (i.e. product)
>b. Automatically resize the photo
>c. Display photo on screen (form).
>
>If they upload multiple photos, i want to allow them the capability to scroll through the pictures while maintaining the dimensions of the picture on the screen/form.
>
>Is it "cleaner" to simply create a table (mypictable) and capture the full path and photo filename?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform