[AccessD] Access97 DB in WinXP -getOpenfileName not working

Gustav Brock gustav at cactus.dk
Thu Jul 8 12:28:22 CDT 2004


Hi Charlotte

I'm having some problems with an old app and ComDlg32.ocx when the
client purchases new machines with WinXP; thus I wish to switch to the
dll.

But isn't there a minor difference in the code to run on Win9x and the
code to run un WinNT+?

/gustav


> Aha, I just notice the difference in the subject and the body of your
> post.  If you're talking about the API call, we use this and it works in
> A97 on XP:

> Declare Function GetOpenFileName Lib "comdlg32.dll" Alias
> "GetOpenFileNameA" (ofn As inf_OPENFILENAME) As Boolean

> Charlotte Foust

> -----Original Message-----
> From: Charlotte Foust 
> Sent: Thursday, July 08, 2004 8:36 AM
> To: Access Developers discussion and problem solving
> Subject: RE: [AccessD] Access97 DB in WinXP -getOpenfileName not working


> What openfilename command are you referring to?  Show us the code.

> Charlotte Foust

> -----Original Message-----
> From: connie.kamrowski at agric.nsw.gov.au
> [mailto:connie.kamrowski at agric.nsw.gov.au] 
> Sent: Wednesday, July 07, 2004 9:54 PM
> To: accessd at databaseadvisors.com
> Subject: [AccessD] Access97 DB in WinXP -getOpenfileName not working



> I am having issues with an access97 database installed on XP. The
> openfilename command does not appear to be working in XP and is halting
> the import of records. It works fuine if I take it back to a 98 machine.
> Do I need to reference the dll differently?

> Is there a specific change I need to make to get the database to open
> the file dialogue in XP?

> thanks

> Connie Kamrowski

> Analyst/Programmer
> Information Technology
> NSW Department of Primary Industries
> Orange

> Ph: 02 6391 3250
> Fax:02 6391 3290


> This message is intended for the addressee named and may contain
> confidential information. If you are not the intended recipient or
> received it in error, please delete the message and notify sender. Views
> expressed are those of the individual sender and are not necessarily the
> views of their organisation.


> -- 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> -- 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com




More information about the AccessD mailing list