Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Winhelp Problem

Status
Not open for further replies.

nmtexman

Programmer
Jun 22, 2001
22
US
I am migrating an Access 2.2 database to Access 2000. I know there are some differences in api's between the two, I just don't have a good source to find out what those differences are. My problem is simple, I keep getting a run-time error of "6", Overflow. have the pointer types changed? These are the lines of code in question:

Dim lnx As Long
lnx = WinHelp(Screen.ActiveForm.hWnd, aHelpFile, GNHELP_CONTEXT, ByVal aContext)

I have change lnx to be a long, rather than an integer. Otherwise this is still the original code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top