Solved

Converting API calls from Access 2.0 to Access 97

Posted on 2000-05-10
4
241 Views
Last Modified: 2008-03-17
I am converting an application from Access 2.0 to Access 97.  I have found 2 API calls so far that use the MSAU200.DLL library.  The functions called are Update_GetFileName and Update_SplitPath.  So far, I can't find any help in determining if this library has an Access 97 equivalent.  Can anybody help?  Thanks in advance.
0
Comment
Question by:NJJim
  • 3
4 Comments
 
LVL 4

Expert Comment

by:MacRena
ID: 2797208
NJJim,

I feel for you.  I pulled my hair out doing what you are doing.

The 3 .dll's I had to deal with were called:
Lib "User"
Lib "Kernel"
Lib "GDI"

I changed the code to use their 32 bit counterparts called:
Lib "User32"
Lib "Kernel32"
Lib "GDI32"

And I and changed "As Integer" to "As Long" in the Declarations.

Since then I found a Microsoft KB article that deals with this - I'll go back in my notes and see if I recorded it.

Mac
0
 
LVL 4

Accepted Solution

by:
MacRena earned 50 total points
ID: 2797304
NJJim,

I found it.

This is the URL to the KB article on what you are trying to do.

http://support.microsoft.com/support/kb/articles/q147/7/81.asp?LNG=ENG&SA=ALLKB&FR=0)

Good luck,

Mac
0
 

Author Comment

by:NJJim
ID: 2800036
Thanks, Mac.  Without your help I would probably be chasing my tail for another week.

I've seen this article before but I didn't originally see anything that I could make work.  Now that you've pointed me toward it again, I can see that the GetOpenFileName function from the comdlg32 library will probably work just fine.  At least I hope it will.
0
 
LVL 4

Expert Comment

by:MacRena
ID: 2800343
NJim,

I'm glad to help - and in that way repay the Experts who have moved me up the learning curve.
I'd like to hear your success (or otherwise) story when it's all said & done - that way the next guy who finds this thread can get a better foot up.

Good luck!

Mac
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now