Solved

c declaration in vb

Posted on 2001-06-13
4
139 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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 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…

730 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