Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying pictures using vfp7
Message
 
To
13/03/2002 13:31:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00632262
Message ID:
00632423
Views:
19
>>I have a table that contains PhotoID, lastname, firstname, other employee information. I also have a folder that contains jpg files. The PhotoID numbers field matches the names of jpg files. I also have a form that allows my users to query employee records. Is there a way in vfp7 to show the queried employees picture side by side on screen and then when the user clicks on that picture I can take the user to a form that will display individual picture (the one the clicked on) and employee information? I'd love to do this on web but I am not web savy, but I can probably do this in foxpro. The only problem I see is how would I go about putting pictures side by side on screen while also filling up my monitor screen? Does anyone have any ideas how I should approach this?
>>
>>Thanks
>>Nick Patel
>
>Nick,
>What about a grid ?
>See FAQ #7934 to display images in grid.
>Also HTML would be pretty easy in fact. You would only code a table definition with IMG tags in cells. You could then show that on a form with webbrowser control (component galler\VFP catalogs\internet\web browser control)
>Cetin

Thanks for answering back. I was wondering, when you said that I had to only code a table with img, if I create a cursor populated with the photoID number (which correlates to jpg's in a folder), when I scan the cursor, how do I dynamically create the img (do I create html text file using foxpro)? Also, how will I launch the web brower with it seeing html code? If I am sucessful putting the pictures on screen, how will I retrieve the value (picture name) of the picture selected back to vfp form? Thanks for your help

Nick Patel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform