>\ut\serverside.exe has images.dbf with imagepath.field.value="f:\ut\images\camerondiaz.jpg"
>
>clientside.exe form.picture='f:\ut\images\camerondiaz.jpg'
>if clientside.exe desktop.shortcut.icon.properties.targetdirectory='f:\ut'
> jpg displays on form well where server is map as 'f:\'
>if clientside.exe shortcut.icon.properties.targetdirectory='\\server\ut'
> jpg do not display.
>
>when thisform.image1.picture=images.dbf.imagepath.field.value
>
>i use dot notation to sort of tie words into hierarchical class objects as what recent programming languages like C#, Java & VB.NET seems to be gearing towards.
>
>appreciate very much your attention and efforts :)
The problem seems to be in the path in images.dbf which mentions f: drive. If you run it off an UNC and don't have the F: drive properly mapped, of course it won't be able to find the image. There are several ways out of this:
- replace all the image paths in images.dbf with UNC paths
- replace them on the fly, i.e.
cPath=strtran(images.path, 'F:', '\\server\share')
- replace them with a path relative to the path of the table itself, using sys(2014) function
cLocation=fullpath(justpath(dbf()))
replace all image.path with sys(2014, image.path, cLocation)
but that will work only if they're on the same drive. Do this while you do have the drive mapped.
>edward from philippines where political elections are violent.
Yugoslavia has had its share of interesting times. Finally enjoying being bored here :)