Hi,
i Import a Picture with IMPORT Function, like:
myPicture.IMPORT('*.jpg;*.bmp;*.gif',TRUE);
Perhaps i has a thinking error. :-s
I would save the Imported Filename as String in a separated Field,
so when i Import a file names "C:\temp\picture.bmp"
I would save "Picture.bmp" in a textfield.
But was must I make it for do it?
Thanks
Comments
i think it does the same
without Common Dialog it looks so:
with Common Dialog it looks so:
In the two options it returns me a large string, like
"c:\myfiles\data\dumdidum\everything\mypicture.bmp"
i think now i must hack this large string to make it smaller so than i obtains only the mypicture.bmp
Thanks.
ok, that was it:
GetPictureName(PicturePath : Text[260]) Value : Text[100]