Solved

c declaration in vb

Posted on 2001-06-13
4
136 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

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

Title # Comments Views Activity
to transfer string from C lanaguage to VBA 4 56
Access query that references subform 5 43
Add and format columns in vb6 7 46
How to make an ADE file by code? 11 79
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

910 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

21 Experts available now in Live!

Get 1:1 Help Now