Page 1 of 1

i am facing issues while opening PDF doc form the local folder in windows form application?

Posted: Mon Apr 22, 2019 12:42 pm
by madhu1528
Hi team,

I am facing issue while i try to open the PDF doc which is stored in the local folder fo my machine using the below code snippet.
public PDFXEdit.IAFS_NamesCollection ShowOpenFilesDlg(bool bAllowMult, string sFilter)
{
PDFXEdit.IPXV_OpenFilesDlgRes openFilesRes = null;
try
{
openFilesRes = pdfCtl.Inst.ShowOpenFilesDlg(sFilter, "", bAllowMult);
}
catch { openFilesRes = null; }

if (openFilesRes == null)
return null;

return openFilesRes.Names;
}

private void btnBrowseForOpen_Click(object sender, EventArgs e)
{
PDFXEdit.IAFS_NamesCollection namesToOpen = ShowOpenFilesDlg(false, "<allSupp>");
if (namesToOpen == null)
return;
PDFXEdit.IAFS_Name fileName = namesToOpen[0];
tSrcToOpen.Text = fileName.FileSys.NameToString(fileName);
}
2.when i run the full demo code i am able to open the dialog box is there any additional setting required i am using the same pdfexedit dll provided in the sample.

Please provide me the solution for this.

Regards,
Madhu

Re: i am facing issues while opening PDF doc form the local folder in windows form application?

Posted: Tue Apr 23, 2019 12:01 pm
by Sasha - Tracker Dev Team
Hello Madhu,

Please post Editor SDK questions at an appropriate forum. Also, what issue are you facing exactly?

Cheers,
Alex