Solved

c declaration in vb

Posted on 2001-06-13
4
137 Views
Last Modified: 2010-07-27
how to write the following c declarationin vb

#define VNERR_BASE 0x20008000
#define ERROR_V   (VNERR_BASE | 0x01)
0
Comment
Question by:azsoft
  • 2
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
ID: 6187078
At the risk of having some new "expert" jump the points (again)

Const VNERR_BASE As Long = &H20008000&
Const ERROR_V As Long = VNERR_BASE OR &H01&


0
 
LVL 18

Expert Comment

by:bobbit31
ID: 6187199
> At the risk of having some new "expert" jump the points (again)

what do you mean? i don't see how anyone could give a more precise answer than that.
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 6189853
bobbit31, this was in reference to a similar "precise" answer which was jumped by a newbie and despite protest azsoft gave him/her the points instead!
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 6191483
lol... hate it when that happens ;)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

832 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