Click here to Skip to main content
16,004,887 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Report Opening Problem.... Pin
Murtuza Husain Miyan Patel7-Aug-05 21:07
professionalMurtuza Husain Miyan Patel7-Aug-05 21:07 
GeneralRe: Report Opening Problem.... Pin
Steve Pullan7-Aug-05 21:34
Steve Pullan7-Aug-05 21:34 
GeneralRe: Report Opening Problem.... Pin
Murtuza Husain Miyan Patel8-Aug-05 3:16
professionalMurtuza Husain Miyan Patel8-Aug-05 3:16 
GeneralRe: Report Opening Problem.... Pin
jonathan158-Aug-05 1:51
jonathan158-Aug-05 1:51 
GeneralRe: Report Opening Problem.... Pin
Murtuza Husain Miyan Patel8-Aug-05 3:18
professionalMurtuza Husain Miyan Patel8-Aug-05 3:18 
GeneralRe: Report Opening Problem.... Pin
Rizwan Bashir8-Aug-05 11:15
Rizwan Bashir8-Aug-05 11:15 
QuestionThreadpool...make threads wait? Pin
jadzor7-Aug-05 20:18
jadzor7-Aug-05 20:18 
AnswerRe: Threadpool...make threads wait? Pin
Steve Pullan7-Aug-05 20:49
Steve Pullan7-Aug-05 20:49 
You will always have some latency with any web service and you'll probably need to synchronize the initial record creation with the rest of your program.

Briefly, create a global synchronization object (either a mutex or semaphore) which the main thread can interrogate whether or not a new ID is ready for use. The child thread will set this object to True when it is done indicating that the main program can update this record. If False or not set, then record updating cannot occur.

You'll also need to cater for a non-response or timeout from the web service. A better idea may be to (additionally) cache the data on the client until (when or if) the web service responds and is capable of handling the updates.


...Steve
GeneralRe: Threadpool...make threads wait? Pin
jadzor7-Aug-05 23:59
jadzor7-Aug-05 23:59 
Generalfail to save new ATL ActiveX control on VB6 form page Pin
Amos.A7-Aug-05 20:12
Amos.A7-Aug-05 20:12 
GeneralConverting between two coordinate systems Pin
Doe, John7-Aug-05 20:12
Doe, John7-Aug-05 20:12 
GeneralRe: Converting between two coordinate systems Pin
Dave Kreskowiak8-Aug-05 6:44
mveDave Kreskowiak8-Aug-05 6:44 
GeneralRe: Converting between two coordinate systems Pin
Rob Graham9-Aug-05 3:05
Rob Graham9-Aug-05 3:05 
GeneralRe: Reports Pin
Anonymous7-Aug-05 19:40
Anonymous7-Aug-05 19:40 
GeneralBinary Compatibility Blues Pin
Steve Pullan7-Aug-05 17:54
Steve Pullan7-Aug-05 17:54 
GeneralRe: Binary Compatibility Blues Pin
Dave Kreskowiak8-Aug-05 2:01
mveDave Kreskowiak8-Aug-05 2:01 
GeneralRe: Binary Compatibility Blues Pin
Steve Pullan8-Aug-05 14:25
Steve Pullan8-Aug-05 14:25 
GeneralRe: Binary Compatibility Blues Pin
Steve Pullan8-Aug-05 17:49
Steve Pullan8-Aug-05 17:49 
GeneralRe: Binary Compatibility Blues Pin
Dave Kreskowiak9-Aug-05 1:56
mveDave Kreskowiak9-Aug-05 1:56 
GeneralRe: Binary Compatibility Blues Pin
Steve Pullan9-Aug-05 20:44
Steve Pullan9-Aug-05 20:44 
GeneralApplication Skinning Pin
andyr20057-Aug-05 14:16
andyr20057-Aug-05 14:16 
GeneralRe: Application Skinning Pin
Christian Graus7-Aug-05 19:14
protectorChristian Graus7-Aug-05 19:14 
GeneralProblem with Listview format Pin
clabrett7-Aug-05 13:59
clabrett7-Aug-05 13:59 
GeneralRe: Problem with Listview format Pin
Rob Graham7-Aug-05 15:19
Rob Graham7-Aug-05 15:19 
GeneralRe: Problem with Listview format Pin
clabrett7-Aug-05 15:48
clabrett7-Aug-05 15:48 

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.