First, bravo! I wish I actually used SourceSafe, as I'm sure this would be very
handy if I did.

andybridges:
--------------------------------------------------------------------------------
It can be a little slow acquiring file statuses when you first connect on a
large project, but this was knocked out in [b]VB6 which sadly doesn't support
multithreading.[/b]
--------------------------------------------------------------------------------


This isn't entirely true; it is possible to enable multithreading support for
VB6. Apartment threading is easy, but what you're talking about is probably Free
Threading, which is harder, but still doable.

The basic rule is, whenever you create a new thread in VB, the first thing you
must do is create a VB object in the thread using only typelib-declared API
functions. Once that's done you can use normal VB code.

Of course, it is a bit more difficult than this is practise, because you have to
deal with TLS and whatnot, but if you really think your app will benefit from
true multithreading, it can be arranged!

It might seem a bit silly buying a book on an almost dead language, but if you
want to expand your knowledge of VB6 then the best book I ever saw is:


' Advanced Visual Basic 6: Power Techniques for Everyday Programs
'   Author: Matthew Curland
'   Published by: Addison-Wesley, July 2000
'   ISBN: 0-201-70712-8
'   http://www.PowerVB.com


It has a HUGE chapter on threading and how to do it in VB6. And I'm pretty sure
you could pick up a secondhand copy for a tenner or so.

-- 
<http://forum.pspad.com/read.php?2,43525,43673>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem