PDA

View Full Version : VB.net and bit arithmetic



Ron Marcus
- 7th May 2008, 04:24
Hey guys,
I've been building a PC interface for a PIC app, and I need to do some bit work. I've got .net2008. In some web help lit, there was an example using bitAND, bitOR, and bitXOR, but they don't work one bit! << and >> seem to work for shifting though...Is there a way to do this in VB without writing a DLL in C?
Thanks,
Ron

mister_e
- 7th May 2008, 04:38
As far as i'm aware of, there's no longer real built-in features for that. However, maybe the following could help.

http://visualbasic.about.com/od/usingvbnet/a/bitops01_3.htm