Solved

Converting API calls from Access 2.0 to Access 97

Posted on 2000-05-10
4
254 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

790 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