Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 6th, 2005, 01:00 AM
Authorized User
 
Join Date: May 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default code explanation

What task is done by the following code:

Const HELP_CONTEXT = &H1&
Const HELP_QUIT = &H2&
Const HELP_INDEX = &H3&
Const HELP_CONTENTS = &H3&
Const HELP_HELPONHELP = &H4&
Const HELP_SETINDEX = &H5&
Const HELP_SETCONTENTS = &H5&
Const HELP_CONTEXTPOPUP = &H8&
Const HELP_FORCEFILE = &H9&
Const HELP_KEY = &H101&
Const HELP_COMMAND = &H102&
Const HELP_PARTIALKEY = &H105&
Const HELP_MULTIKEY = &H201&
Const HELP_SETWINPOS = &H203&
Private Declare Function WinHelp Lib "user32" Alias "WinHelpA"

particularly I want to know about

1. the meaning after the key word 'const' as for example:
   Const HELP_CONTEXT = &H1&

2.And the last line i.e.

  Private Declare Function WinHelp Lib "user32" Alias "WinHelpA
 
Old August 8th, 2005, 03:10 AM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you check the help file?


1) Const defines a constant

2) Private Declare Function... defines a function call.

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com
 
Old August 8th, 2005, 03:26 PM
Authorized User
 
Join Date: Jun 2004
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you should check out the msdn link

http://support.microsoft.com/default...b;en-us;202563

Julio Cesar

-"Life is a Database"





Similar Threads
Thread Thread Starter Forum Replies Last Post
explanation crmpicco Classic ASP Components 3 February 2nd, 2005 12:14 AM
i need explanation ... amahja56 C++ Programming 2 October 28th, 2004 05:01 PM
Need Explanation Plz ! augustine Biztalk 0 July 11th, 2004 07:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.