473,394 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

What is the significance of 0x200 here?

Hello,

Just a simple (newbie?) question:

What does the 0x200 mean in this snippet:

rsObj.Open("Customers",connstr,ADODB.CursorTypeEnu m.adOpenForwardOnly,ADODB.LockTypeEnum.adLockReadO nly,0x200);

I've seen other examples where instead of 0x200 there is a 0 or 1.

I looked for this in quite a few places but was unable to find a
definitive answer.

Thanks in advance,
Buster

Dec 22 '06 #1
2 8383
Hi Buster,
0x200 is the hex equivalent of 512 decimal. Looking at the doc for
CommandTypeEnum, it looks like this bit represents "adCmdTableDirect":

Check out the docs on CommandTypeEnum here:

http://msdn2.microsoft.com/en-us/library/ms675946.aspx

Hope that helps,
John

Buster Coder wrote:
Hello,

Just a simple (newbie?) question:

What does the 0x200 mean in this snippet:

rsObj.Open("Customers",connstr,ADODB.CursorTypeEnu m.adOpenForwardOnly,ADODB.LockTypeEnum.adLockReadO nly,0x200);

I've seen other examples where instead of 0x200 there is a 0 or 1.

I looked for this in quite a few places but was unable to find a
definitive answer.

Thanks in advance,
Buster
Dec 22 '06 #2
Hi John,

Thank you so much!!

Buster
John Duval wrote:
Hi Buster,
0x200 is the hex equivalent of 512 decimal. Looking at the doc for
CommandTypeEnum, it looks like this bit represents "adCmdTableDirect":

Check out the docs on CommandTypeEnum here:

http://msdn2.microsoft.com/en-us/library/ms675946.aspx

Hope that helps,
John

Buster Coder wrote:
Hello,

Just a simple (newbie?) question:

What does the 0x200 mean in this snippet:

rsObj.Open("Customers",connstr,ADODB.CursorTypeEnu m.adOpenForwardOnly,ADODB.LockTypeEnum.adLockReadO nly,0x200);

I've seen other examples where instead of 0x200 there is a 0 or 1.

I looked for this in quite a few places but was unable to find a
definitive answer.

Thanks in advance,
Buster
Dec 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Anonymous | last post by:
In PHP Whats the difference between $yourname = @$_POST; AND $yourname = $_POST; In particular, what is the significance of '@' as a prefix to the variable? Thanks in advance
112
by: Andy | last post by:
Hi All! We are doing new development for SQL Server 2000 and also moving from SQL 7.0 to SQL Server 2000. What are cons and pros for using IDENTITY property as PK in SQL SERVER 2000? Please,...
14
by: bo | last post by:
And why and where one should use one vs. the other? Verbally, it seems like semantics to me--but obviously there is some actual difference that makes references different and or preferable over...
4
by: Prem Mallappa | last post by:
Hello can anybody please tell me what is the significance of 0; 1; or something like 100;
2
by: Prem Mallappa | last post by:
what is the significance of 0; 1; or 100;
5
by: kernel.lover | last post by:
hello, I want to know if a fuction say malloc is declared as void *malloc() then whats the significance of void here. Does void * is used when function has the flexibility to return any type of...
1
by: Angrez Singh | last post by:
Hi, If you just want to implement your own HttpHandler using the IHttpHandler interface you have to implement a function and a property of the interface. The function ProcessRequest() is used to...
9
by: xz | last post by:
What sense do h files make in c/cpp? I never thought about this question before. Does the existence of h files make sense at all? Why do we need to declare functions in h files and...
26
by: joe | last post by:
My experiments show that the random number generator in Microsoft's VC++6 compiler is a statistical RNG with a significance level 1.0%. Statistical testing at SL >1.0% (for example 1.001%) passes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.