General information
Category:
Coding, syntax & commands
>>>>hi from cyprus
>>>>i need to create a dynamic link to word.
>>>>i tried this by using the following code:
>>>>
>>>>***********
>>>>filename=getfile('bmp',"select")
>>>>if empty(filename)
>>>>else
>>>>append general Logo from &filename LINK
>>>>endif
>>>>
>>>>***********end of code******
>>>>the code does'nt seem to work
>>>>any ideas?
>>>>regards
>>>>
>>>>mike
>>>
>>>
>>>
append general Logo from (filename) LINK
>>>Cetin
>>
>>thanks cetin but no cigar
>>my code works perfectly when i select BMP's
>>unfortunately it does not work when i try to select 'Doc'(word files)
>>if this is of any help the code was working back in VFP 3.00
>>regards
>>mike
>
>
Maybe already general is filled ? Blank it first if so. Works with DOC files too (VFP3-5-6).
>OTOH I would prefer keeping only filename&path for linked. Then you could initialize an OLEControl with setting its documentfile to the file.
>Cetin
hi cetin
thanks a lot. it now works fine
mike
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only