Click here to Skip to main content
15,903,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generali need help with webbrowser download visual basic 6 Pin
MEIRB1118-Jan-08 2:15
MEIRB1118-Jan-08 2:15 
GeneralRe: i need help with webbrowser download visual basic 6 Pin
Dave Kreskowiak9-Jan-08 3:28
mveDave Kreskowiak9-Jan-08 3:28 
GeneralRe: i need help with webbrowser download visual basic 6 Pin
MEIRB11110-Jan-08 1:20
MEIRB11110-Jan-08 1:20 
GeneralRe: i need help with webbrowser download visual basic 6 Pin
Dave Kreskowiak10-Jan-08 2:27
mveDave Kreskowiak10-Jan-08 2:27 
GeneralControl Selection & Resizing at Runtime Pin
for12068-Jan-08 1:26
for12068-Jan-08 1:26 
GeneralRe: Control Selection & Resizing at Runtime Pin
Dave Kreskowiak9-Jan-08 3:26
mveDave Kreskowiak9-Jan-08 3:26 
GeneralRe: Control Selection & Resizing at Runtime Pin
student_rhr27-Feb-08 3:57
student_rhr27-Feb-08 3:57 
QuestionIs this the Right way to handle Concurrency ? Pin
Vimalsoft(Pty) Ltd7-Jan-08 22:50
professionalVimalsoft(Pty) Ltd7-Jan-08 22:50 
hi All

i want to Control the Concurrency in my Vb.net Application that is Connection to a SQl table. this is my thought and am open for suggestion. Firstly i want to Add an bit Field in my table and named it "Locked" e.g

Customer
+++++++++++++++++++++++++++++
pk_ID | Cname | Lastname | Locked |
+++++++++++++++++++++++++++++



if its "1" in the Locked field then its locked. So i want to have a Function in my DAL that returns a dataset, but when selecting records it should exclude those are not null in the "Locked" field, that means we don't select records that use locked. In my system we don't select Data for only viewing the, i was gonna create another object for Reader, but it was unnecessary. So when the user selects the records that are not locked, i want to have a Function that will locked those that are selected, so that another user cannot select them.

After the user has Finish with the Updating then the Lock is released , by setting the records that has been "locked" to Null.



My Question is this the good way to handle Concurrency ?


Thanks

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


AnswerRe: Is this the Right way to handle Concurrency ? Pin
Paddy Boyd8-Jan-08 0:52
Paddy Boyd8-Jan-08 0:52 
GeneralRe: Is this the Right way to handle Concurrency ? Pin
Vimalsoft(Pty) Ltd8-Jan-08 1:19
professionalVimalsoft(Pty) Ltd8-Jan-08 1:19 
AnswerRe: Is this the Right way to handle Concurrency ? Pin
Dave Kreskowiak9-Jan-08 3:17
mveDave Kreskowiak9-Jan-08 3:17 
GeneralAdding control in MSFlexgrid Pin
aaraaayen7-Jan-08 22:21
aaraaayen7-Jan-08 22:21 
GeneralRe: Adding control in MSFlexgrid Pin
Dave Kreskowiak9-Jan-08 3:09
mveDave Kreskowiak9-Jan-08 3:09 
GeneralThe Following Code gives this Error "Object reference not set to an instance of an object." Pin
Vimalsoft(Pty) Ltd7-Jan-08 19:34
professionalVimalsoft(Pty) Ltd7-Jan-08 19:34 
GeneralRe: The Following Code gives this Error "Object reference not set to an instance of an object." Pin
Christian Graus7-Jan-08 21:30
protectorChristian Graus7-Jan-08 21:30 
GeneralRe: The Following Code gives this Error "Object reference not set to an instance of an object." Pin
Vimalsoft(Pty) Ltd7-Jan-08 21:47
professionalVimalsoft(Pty) Ltd7-Jan-08 21:47 
GeneralRe: The Following Code gives this Error "Object reference not set to an instance of an object." Pin
Christian Graus7-Jan-08 22:00
protectorChristian Graus7-Jan-08 22:00 
GeneralRe: The Following Code gives this Error "Object reference not set to an instance of an object." Pin
Vimalsoft(Pty) Ltd7-Jan-08 22:18
professionalVimalsoft(Pty) Ltd7-Jan-08 22:18 
GeneralBackup and Restore Pin
vaani7-Jan-08 19:00
vaani7-Jan-08 19:00 
GeneralRe: Backup and Restore Pin
Vimalsoft(Pty) Ltd7-Jan-08 21:00
professionalVimalsoft(Pty) Ltd7-Jan-08 21:00 
Questionthinstall Pin
Tauseef A7-Jan-08 18:45
Tauseef A7-Jan-08 18:45 
Generalcustom control picturebox click handling Pin
raventatatatata7-Jan-08 16:45
raventatatatata7-Jan-08 16:45 
GeneralRe: custom control picturebox click handling Pin
Ajay.k_Singh7-Jan-08 23:21
Ajay.k_Singh7-Jan-08 23:21 
GeneralRe: custom control picturebox click handling Pin
raventatatatata8-Jan-08 13:30
raventatatatata8-Jan-08 13:30 
QuestionConsuming .NEt web service in VB 6.0 Client Pin
DeepakSh7-Jan-08 11:32
DeepakSh7-Jan-08 11:32 

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.