Solved

c declaration in vb

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

747 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

8 Experts available now in Live!

Get 1:1 Help Now