Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: ShowOpenDlg : file not found
Started by Didi at 05-12-2007 6:58. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  05-12-2007, 6:58
Didi is not online. Last active: 5/12/2007 11:44:06 AM Didi

Not Ranked
Joined on 05-12-2007
Posts 1
ShowOpenDlg : file not found
Reply Quote
Hi, newbie with LEAD tools, first tests goiing on.

I get an error 10 in the showopendlg method, when i try to open a file. This usualy happens only after serveral succesfull ones. Program restart, and i can use the file in question, but then after fourth or so opening, i get the same error.
Tried different directories, filetypes, ...

Delphi 2006, XP(64)

code snippet
procedure TForm1.btnfoClick(Sender: TObject);
begin
  dlgfile.LEADImage := img;
  dlgfile.DlgFlags := DLG_OPEN_SHOW_PROGRESSIVE     +
                           DLG_OPEN_SHOW_MULTIPAGE       +
                           DLG_OPEN_SHOW_LOADROTATED     +
                           DLG_OPEN_SHOW_LOADCOMPRESSED  +
                           DLG_OPEN_SHOW_FILEINFO        +
                           DLG_OPEN_SHOW_PREVIEW         +
                           DLG_OPEN_SHOW_DELPAGE         +
                           DLG_OPEN_VIEWTOTALPAGES         +
                           DLG_OPEN_LOADBITMAP            +
                           DLG_OPEN_GENERATETHUMBNAIL;

  dlgfile.ShowOpenDlg(self);
  lbla.Caption := dlgfile.FileName;
  lbla.Refresh;
 
end;

procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  dlgserv.FreeDialogs;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  dlgserv.InitDialogs(0);
end;

   Report 
  05-15-2007, 5:22
Qasem Lubani is not online. Last active: 11/9/2008 3:40:25 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,135
Re: ShowOpenDlg : file not found
Reply Quote

I have tested the issue here and saw a problem. I have reported it to our engineers.

If you would like to ask about the status in the future please refer to incident number 5796AMN
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  09-04-2007, 10:58
Qasem Lubani is not online. Last active: 11/9/2008 3:40:25 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,135
Re: ShowOpenDlg : file not found
Reply Quote
Our engineers have marked the issue in the incident 5796AMN as fixed.

Please send an email to support@leadtools.com for patches downloads instructions.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Common Dialogs » Re: ShowOpenDlg : file not found

Powered by Community Server, by Telligent Systems