
Converting Access 2.0 to Access 97
Duane Hookom schrieb:
Quote:
> I'm not sure what you did. The function "CommDlgEx..." is not really exposed
> by itself.
the function CommDlgExtendedError() supply information about the last dialog
execution. because the GetOpenFileName() function supplies only true or false,
I don't know, what error is in programming and i don't know where i have to
looking for an error. the result is, no dialog opened and the super ms access
system says only FALSE. What is the condition for this result?
byebye
ulrich
Quote:
> Duane
> > hello duane
> > Duane Hookom schrieb:
> > > I use the code from http://www.mvps.org/access/api/index.htm "Call
> Windows
> > > File Open/Save Dialog box"
> > I found it and put the code to my application as described in the example.
> > I added the function CommDlgExtendedError() after GetOpenfileName(),
> > because no dialog window opened. The return code of the function
> > CommDlgExtendedError() is "1", ==> CDERR_STRUCTSIZE ==>
> > "the element lStructSize of the structure tagOPENFILENAME for the standard
> > dialog is invalid". the element is defined as in the example code.
> > what may be the the problem for this event?
> > thanks for help
> > ulrich