CodePudding user response:
Use the browser plug-in can be opened,CodePudding user response:
The Function ulong ShellExecuteA (ulong HWND, String lpOperation, String lpFile, String lpParameters, String lpDirectory, long nShowCmd) library "shell32. DLL" alias for "ShellExecuteA; Ansi"
ShellExecuteA (handle (w_main_custom GetActiveSheet ()), ls_null, as_filename, ls_null, ls_null, 1)
API in the RUN () method can also be, execute programs with explorer
CodePudding user response:
The Run (" C: \ Amy polumbo df, "Maximized!)CodePudding user response:
Controls for the PDF filesCodePudding user response:
This I have done, look in this example of PDFViewOCX see can, can not find, I can send you,The following is the code to open the PDF,
The integer ret, value
Long ll_page_count
String pdfname, named
Value=https://bbs.csdn.net/topics/GetFileOpenName (" select PDF documents, "pdfname, named," PDF ", "PDF Files (*. PDF), *. PDF")
IF value=https://bbs.csdn.net/topics/1 THEN ole_1. Object. OpenPDF (pdfname, ' ', ')
Ll_page_count=ole_1. Object. GetPageTotalCount ()
='total' st_2. Text + string (ll_page_count) + 'pages'
Uf_current_page ()
CodePudding user response:
With embedded ole development style, select the PDFCodePudding user response: