Home > Back-end >  How to use DELPHI preview of WORD and EXECL and PDF document?
How to use DELPHI preview of WORD and EXECL and PDF document?

Time:10-01

Similar to Foxmail attachment preview function!
Operation is as follows:
1, double click on the attachment or file name;
2, in a new window display of WORD and EXECL and PDF document content,

CodePudding user response:

Takes an estimated OLE in this area, don't understand, is similar to that WORD, insert OLE this function, you can see things

CodePudding user response:

It is best to use third party middleware, such as NTKO_OFFICE online have cracked
With before

CodePudding user response:

refer to the second floor kindao2 response:
it is best to use third party middleware, such as NTKO_OFFICE online have cracked
Used


NTKO_OFFICE can preview the WORD EXECL PDF?

CodePudding user response:



NTKO OFFICE document control can in IE and Chrome browser directly edit the MS OFFICE, WPS, jinshan electronic watch, and in the OFFICE, won the bid, such as the OFFICE documents and keep to the WEB server, realize the unified management of documents and spreadsheets, retention, and trace the template over, qr code, PDF and tif reading essential functions of the OFFICE automation system, such as



Product performance is stable, strong expansibility, powerful, has become a DE facto standard in the field of domestic document control and preferred controls, the developers, partners, such as digital China, CST soft, kingdee, ufida, wave, founder, neusoft, IBM, etc., different network environment and the comprehensive application of the system environment, also verified the NTKO OFFICE document control stability, performance is remarkable, developing a simple, good compatibility, can with NTKO NTKO series products such as seamless integration electronic seal system, increase the electronic seal/signature, handwritten signature, and other functions, for you to easily create distinctive OFFICE automation solutions! We have been trying to develop and perfect NTKO OFFICE document control, to help partners to further reduce the development workload and shorten the development cycle, enhance the value of the software,
Product features:

? Cross-browser support online editing MS OFFICE, WPS, forever in the OFFICE, the winning PWC OFFICE documents such as

Support mandatory traces remain, forbid copy, template over, the full text notation

Support PDF and TIF reading, document qr code, custom qr code and one dimensional code

Using standard HTTP upload agreement

Supporting the backend Web server, any support arbitrary background programming language

Support custom menus, custom buttons, custom toolbar

Support save as HTML, PDF, TXT and other document format

Seamless integration NTKO electronic seal system, electronic seal, handwritten signature, the keyboard notation

CodePudding user response:

Call external EXE file directly, through the EXE browse relevant documents,
 FileName:=MainPath + 'EXCEL. Exe'; 
If FileExists (FileName)
Then shellexecute (handle, the 'open', pchar (FileName), pchar (sParam), nil, sw_shownormal);
The else ShowMessage (' no module file! ');

CodePudding user response:

Delphi come with such things as WordService, need to install the Word

CodePudding user response:

reference 5 floor lyhoo163 reply:
call external EXE file directly, through the EXE browse relevant documents,
 FileName:=MainPath + 'EXCEL. Exe'; 
If FileExists (FileName)
Then shellexecute (handle, the 'open', pchar (FileName), pchar (sParam), nil, sw_shownormal);
The else ShowMessage (' no module file! ');

Agree to implement

CodePudding user response:

refer to 7th floor luxuewei5214 response:
Quote: refer to fifth floor lyhoo163 response:

Call external EXE file directly, through the EXE browse relevant documents,
 FileName:=MainPath + 'EXCEL. Exe'; 
If FileExists (FileName)
Then shellexecute (handle, the 'open', pchar (FileName), pchar (sParam), nil, sw_shownormal);
The else ShowMessage (' no module file! ');

Agree to implement


Similar way as follows:
Case shellexecute (handle, the 'open', pchar (' excel. Exe), pchar (' sParam), nil, sw_shownormal) of
2: showmessage (' wrong link);
29: showmessage (' failure ');
30: showmessage (' association in the application is busy... ');
31: showmessage (' not associated with any application);
end;
  • Related