Click here to Skip to main content

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: 105,478   Rating: 4.54/5    Votes: 9   Popularity: 4.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 1,991
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: 129,134   Rating: 4.41/5    Votes: 18   Popularity: 5.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 1,028
A framework for system tray applets
Database
COM
Posted: 20 Feb 2000   Updated: 20 Feb 2000   Views: 57,918   Rating: 4.50/5    Votes: 8   Popularity: 4.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 712
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: 52,731   Rating: 3.60/5    Votes: 5   Popularity: 2.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 551
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: 86,672   Rating: 4.33/5    Votes: 18   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 1,659
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: 82,354   Rating: 4.95/5    Votes: 16   Popularity: 5.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 1,006
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: 57,569   Rating: 4.82/5    Votes: 8   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 1,145
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: 130,512   Rating: 4.63/5    Votes: 32   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 1,583
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,156   Rating: 4.56/5    Votes: 9   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 819
A simplified method to enumerate a collection of objects.
COM / COM+
COM
Posted: 10 Apr 2002   Updated: 10 Apr 2002   Views: 86,335   Rating: 4.73/5    Votes: 16   Popularity: 5.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 904
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: 84,346   Rating: 3.69/5    Votes: 10   Popularity: 3.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 1,486
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: 89,283   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,117   Rating: 4.83/5    Votes: 8   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 610
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: 109,786   Rating: 4.05/5    Votes: 4   Popularity: 2.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 1,115
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: 82,117   Rating: 4.45/5    Votes: 18   Popularity: 5.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 1,412
A mini framework for writing Control Panel applets. Just fill in the blanks!.
Internet / Network
Beginners
Posted: 2 Jun 2002   Updated: 18 Jul 2002   Views: 417,387   Rating: 4.81/5    Votes: 29   Popularity: 7.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 131   Downloaded: 9,653
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: 20 Jul 2002   Updated: 17 Aug 2002   Views: 433,794   Rating: 4.90/5    Votes: 34   Popularity: 7.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 144   Downloaded: 7,995
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: 639,737   Rating: 4.85/5    Votes: 71   Popularity: 8.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 340   Downloaded: 23,279
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.
Posted: 25 May 2002   Updated: 17 Aug 2002   Views: 488,815   Rating: 4.68/5    Votes: 56   Popularity: 8.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 184   Downloaded: 5,492
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.
Client/Server Development
Posted: 15 Jun 2002   Updated: 25 Jun 2002   Views: 285,355   Rating: 4.50/5    Votes: 18   Popularity: 5.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 9,584
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: 244,211   Rating: 4.92/5    Votes: 26   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 186   Downloaded: 6,951
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.
Hardware & System
Registry
Posted: 24 Feb 2000   Updated: 24 Feb 2000   Views: 177,892   Rating: 4.60/5    Votes: 36   Popularity: 7.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 3,261
The Win32 Registry API is far too complex for simple tasks, and all the error checking gets in the way of the real work...
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
Web04 | 2.8.150123.1 | Last Updated 25 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid