Click here to Skip to main content
11,709,366 members (42,747 online)

Articles by Len Holgate (Articles: 22)

Articles: 22

RSS Feed

Average article rating: 4.50

Combo & List Boxes
Listbox Controls
Posted: 25 Feb 2000   Updated: 25 Feb 2000   Views: 106,460   Rating: 4.54/5    Votes: 9   Popularity: 4.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 2,057
How to package lots of standard functionality into a CListBox derived class.
Shell and IE programming
General
Posted: 24 Feb 2000   Updated: 24 Feb 2000   Views: 130,460   Rating: 4.41/5    Votes: 18   Popularity: 5.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 1,038
A framework for system tray applets
Database
COM
Posted: 20 Feb 2000   Updated: 20 Feb 2000   Views: 58,470   Rating: 4.50/5    Votes: 8   Popularity: 4.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 723
The ATL OLE DB Provider templates only seem to support read-only rowsets and making them support updating of data isn't as easy as you'd expect!
Posted: 20 Feb 2000   Updated: 20 Feb 2000   Views: 53,300   Rating: 3.60/5    Votes: 5   Popularity: 2.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 553
The ATL OLE DB Provider templates only seem to support read-only rowsets and making them support updating of data isn't as easy as you'd expect!
Posted: 20 Feb 2000   Updated: 28 Jul 2000   Views: 87,420   Rating: 4.33/5    Votes: 18   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 1,674
ADO seems to be the ideal way to expose tabular data from your own COM objects and the ATL OLE DB Provider templates can help!
Posted: 20 Feb 2000   Updated: 28 Jul 2000   Views: 83,080   Rating: 4.95/5    Votes: 16   Popularity: 5.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 1,014
The ATL OLE DB Provider templates appear to rely on the fact that your data is kept in a simple array, but that's not really the case at all!
Posted: 20 Feb 2000   Updated: 28 Jul 2000   Views: 58,180   Rating: 4.82/5    Votes: 8   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 1,152
Adding bookmark functionality is relatively easy and it enables our ADO recordset to be used with a greater number of data bound controls.
C / C++ Language
General
Posted: 27 Feb 2000   Updated: 27 Feb 2000   Views: 133,560   Rating: 4.63/5    Votes: 32   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 1,679
Templates are a great way of reusing code, unfortunately MFC makes it hard to write MFC friendly template classes...
ATL
General
Posted: 24 Feb 2000   Updated: 24 Feb 2000   Views: 48,640   Rating: 4.56/5    Votes: 9   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 830
A simplified method to enumerate a collection of objects.
COM / COM+
COM
Posted: 10 Apr 2002   Updated: 10 Apr 2002   Views: 87,060   Rating: 4.73/5    Votes: 16   Popularity: 5.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 916
This example COM component provides 3 COM objects for using the Win32 Mailslot IPC mechanism. The component may be useful if you need to communicate from VB using Mailslots.
General
Posted: 24 Feb 2000   Updated: 24 Feb 2000   Views: 85,010   Rating: 3.69/5    Votes: 10   Popularity: 3.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 1,501
COM objects can be categorised using the Component Category Manager. The code here makes it easier to use these categories in your code.
Posted: 25 Feb 2000   Updated: 25 Feb 2000   Views: 90,040   Rating: 3.58/5    Votes: 45   Popularity: 5.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 0
Using simple in-process COM objects you can make an application easy to extend without the need for recompilation of the main app.
Posted: 8 Apr 2002   Updated: 8 Apr 2002   Views: 47,630   Rating: 4.83/5    Votes: 8   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 613
There's no standard way to save complex COM+ application configuration in a form that can be placed under version control. This article presents 2 scripts that take advantage of the COM+ Catalog accessibility via script to provide functionality that should really come as standard.
Posted: 5 Jun 2002   Updated: 5 Jun 2002   Views: 111,090   Rating: 4.05/5    Votes: 4   Popularity: 2.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 1,135
Sometimes it would be nice to be able to use a simple C++ object as a sink for Connection Point notifications. This article shows you how.
Win32/64 SDK & OS
General
Posted: 24 Feb 2000   Updated: 24 Feb 2000   Views: 84,190   Rating: 4.45/5    Votes: 18   Popularity: 5.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 1,445
A mini framework for writing Control Panel applets. Just fill in the blanks!.
Windows General
Posted: 24 Feb 2000   Updated: 24 Feb 2000   Views: 179,800   Rating: 4.60/5    Votes: 36   Popularity: 7.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 3,350
The Win32 Registry API is far too complex for simple tasks, and all the error checking gets in the way of the real work...
Internet / Network
Beginners
Posted: 2 Jun 2002   Updated: 18 Jul 2002   Views: 428,720   Rating: 4.81/5    Votes: 29   Popularity: 7.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 132   Downloaded: 9,804
When a server has to deal with lots of short lived client connections it's advisable to use the Microsoft extension function for WinSock, AcceptEx(), to accept connections.
Posted: 25 May 2002   Updated: 17 Aug 2002   Views: 500,680   Rating: 4.68/5    Votes: 56   Popularity: 8.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 185   Downloaded: 5,575
To maintain performance a socket server shouldn't make blocking calls from its IO threads. This article builds on the previous one to add a business logic thread pool to our example server.
Posted: 20 Jul 2002   Updated: 17 Aug 2002   Views: 443,830   Rating: 4.90/5    Votes: 34   Popularity: 7.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 146   Downloaded: 8,139
This article explains the potential problems with having multiple pending recvs calls on a single socket.
Posted: 25 May 2002   Updated: 17 Aug 2002   Views: 654,450   Rating: 4.85/5    Votes: 71   Popularity: 8.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 343   Downloaded: 23,712
Writing a high performance server that runs on Windows NT and uses sockets to communicate with the outside world isn't that hard once you dig through the API references. What's more most of the code is common between all of the servers that you're likely to want to write.
Client/Server Development
Posted: 15 Jun 2002   Updated: 25 Jun 2002   Views: 291,970   Rating: 4.50/5    Votes: 18   Popularity: 5.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 55   Downloaded: 9,817
Although socket based TCP/IP servers using IO Completion Ports are often written in C++ it's sometimes useful to write such a server in Visual Basic.
Posted: 20 Jul 2002   Updated: 20 Jul 2002   Views: 251,850   Rating: 4.92/5    Votes: 26   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 187   Downloaded: 7,712
When you're developing a TCP/IP server application it's easy to test it poorly. In this article we develop a test framework that does most of the hard work for you.
No blogs have been submitted.
No tips have been posted.
No reference articles have been posted.

Len Holgate
Software Developer (Senior) JetByte Limited
United Kingdom United Kingdom
Len has been programming for over 30 years, having first started with a Sinclair ZX-80. Now he runs his own consulting company, JetByte Limited and has a technical blog here.

JetByte provides contract programming and consultancy services. We can provide experience in COM, Corba, C++, Windows NT and UNIX. Our speciality is the design and implementation of systems but we are happy to work with you throughout the entire project life-cycle. We are happy to quote for fixed price work, or, if required, can work for an hourly rate.

We are based in London, England, but, thanks to the Internet, we can work 'virtually' anywhere...

Please note that many of the articles here may have updated code available on Len's blog and that the IOCP socket server framework is also available in a licensed, much improved and fully supported version, see here for details.


Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 31 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid