|
| password protected pdf file open |
| Iniciado por guest, 01,abr. 2016 13:59 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 01,abril 2016 - 13:59 |
File is string
//Picker to choose the document to open sFile = fSelect(fExeDir(),"","Open","PDF file (*.PDF)"+ TAB + "*.pdf","*.pdf",fPathUNICODE)
///////// Managing the list of the last 5 documents opened ///////// //Checks whether the document is already found in the list nSubscript is int = ListSeek(COMBO_LastDocs,sFile,True) IF nSubscript = -1 THEN
//It is not there //If 5 documents are already found in the list of last 5 opened documents, delete the last one IF COMBO_LastDocs..Occurrence = 5 THEN ListDelete(COMBO_LastDocs,5) END
ELSE
//It is already there //Delete it from its former position and place it in 1st position ListDelete(COMBO_LastDocs,nSubscript)
END
//Add the document that was opened in 1st position in the list ListInsert(COMBO_LastDocs,sFile,1) //Select it ListSelectPlus(COMBO_LastDocs,1) //And display this document ExecuteProcess(COMBO_LastDocs,trtSelection)
try this code but not open this pdf file password " 123" |
| |
| |
| | | |
|
| | |
| |
| Publicado el 01,abril 2016 - 15:04 |
Vijay,
I can't see in your code what you are trying to do with the pdf files, you are only filling one list with the file name probably the selection code of the list can help us helping you. |
| |
| |
| | | |
|
| | | | |
| | |
|