Click here to Skip to main content
15,895,192 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Graduation project Pin
Mark Churchill17-Jun-08 18:38
Mark Churchill17-Jun-08 18:38 
AnswerRe: Graduation project Pin
Noctris18-Jun-08 0:16
Noctris18-Jun-08 0:16 
AnswerRe: Graduation project Pin
Paul Conrad18-Jun-08 20:26
professionalPaul Conrad18-Jun-08 20:26 
Questionbit shift operation Pin
nik05070617-Jun-08 7:53
nik05070617-Jun-08 7:53 
AnswerRe: bit shift operation Pin
Guffa18-Jun-08 22:10
Guffa18-Jun-08 22:10 
GeneralRe: bit shift operation Pin
nik05070620-Jun-08 7:28
nik05070620-Jun-08 7:28 
GeneralRe: bit shift operation Pin
Guffa20-Jun-08 13:40
Guffa20-Jun-08 13:40 
GeneralRe: bit shift operation Pin
nik05070620-Jun-08 21:20
nik05070620-Jun-08 21:20 
this xml is just an example. Actual one is large having more than 70 such properties. This method is applied to save memory as the aplication only works with binary files. This way we have all the properties coded in one int32.

an employee can have a value like 5869586 on the database representing his features and properties.

Now on a windows form many properties can be selected to search for employees. Condition is that employees should be seleted which has atleast one of these properties set.

What i did. I added all the selected properties like this which seems to work

for each Feature in EmployeeFeatures
for each Property in Feature
myint32 = myint32 or Property.Val*math.Pow(2,Property.Bitpos)
next
next

and to compare (5869586 and myint32) > 0

somebody told me i need to shift bits and calculate each val separately
something like myint32 = myint32 or Property.Val >> Property.Bitpos
which is unclear to me and find it tedious
QuestionHow do I use the IBiDiSpl Interface? Pin
Brandon Legault17-Jun-08 7:17
Brandon Legault17-Jun-08 7:17 
Questionstring comparision Pin
Member 183766117-Jun-08 4:06
Member 183766117-Jun-08 4:06 
AnswerRe: string comparision Pin
Helen Bull17-Jun-08 4:10
Helen Bull17-Jun-08 4:10 
AnswerRe: string comparision Pin
Christian Graus17-Jun-08 4:28
protectorChristian Graus17-Jun-08 4:28 
AnswerRe: string comparision Pin
Guffa17-Jun-08 4:37
Guffa17-Jun-08 4:37 
AnswerRe: string comparision Pin
Luc Pattyn17-Jun-08 12:46
sitebuilderLuc Pattyn17-Jun-08 12:46 
QuestionProblem accessing Application Event Log programatically Pin
Helen Bull17-Jun-08 3:58
Helen Bull17-Jun-08 3:58 
AnswerRe: Problem accessing Application Event Log programatically Pin
Noctris18-Jun-08 3:21
Noctris18-Jun-08 3:21 
GeneralRe: Problem accessing Application Event Log programatically Pin
Helen Bull20-Jun-08 2:29
Helen Bull20-Jun-08 2:29 
QuestionWebBrowser control Session issue ? Pin
imran_rafique17-Jun-08 3:43
imran_rafique17-Jun-08 3:43 
AnswerRe: WebBrowser control Session issue ? Pin
Noctris18-Jun-08 3:24
Noctris18-Jun-08 3:24 
Questionproblem wit autentication Pin
Ebube17-Jun-08 3:18
Ebube17-Jun-08 3:18 
AnswerRe: problem wit autentication Pin
Christian Graus17-Jun-08 3:27
protectorChristian Graus17-Jun-08 3:27 
Questionhow can change the LeftMost dimension of an array Pin
Rupesh Kumar Swami17-Jun-08 2:50
Rupesh Kumar Swami17-Jun-08 2:50 
AnswerRe: how can change the LeftMost dimension of an array Pin
Christian Graus17-Jun-08 3:01
protectorChristian Graus17-Jun-08 3:01 
GeneralRe: how can change the LeftMost dimension of an array Pin
Rupesh Kumar Swami17-Jun-08 3:34
Rupesh Kumar Swami17-Jun-08 3:34 
GeneralRe: how can change the LeftMost dimension of an array Pin
Christian Graus17-Jun-08 4:30
protectorChristian Graus17-Jun-08 4:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.