Salve,
sapete se esiste un sistema per inserire un file wmf
in un nuovo documento Word utilizzando i comandi ole ?
Grazie.
Marco Turco
Moderator: Enrico Maria Giordano
FUNCTION MAIN()
LOCAL oExcel
oExcel = CreateObject( "Excel.Application" )
oExcel:WorkBooks:Add()
oExcel:ActiveSheet:Shapes:AddPicture( "C:\XHARBOUR\INVOICE.WMF", .F., .T., 0, 0, 500, 1000 )
oExcel:Visible = .T.
RETURN NIL
FUNCTION MAIN()
LOCAL oWord
oWord = CreateObject( "Word.Application" )
oWord:Documents:Add()
oWord:ActiveDocument:Shapes:AddPicture( "C:\XHARBOUR\INVOICE.WMF", .F., .T., 0, 0, 500, 1000 )
oWord:Visible = .T.
RETURN NIL
Return to All products support
Users browsing this forum: No registered users and 13 guests