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: 103,080   Rating: 4.58/5    Votes: 8   Popularity: 4.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 1,925
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: 127,058   Rating: 4.41/5    Votes: 18   Popularity: 5.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 1,024
A framework for system tray applets
Database
COM
Posted: 20 Feb 2000   Updated: 20 Feb 2000   Views: 57,224   Rating: 4.50/5    Votes: 8   Popularity: 4.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 704
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,121   Rating: 3.60/5    Votes: 5   Popularity: 2.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 544
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: 85,437   Rating: 4.33/5    Votes: 18   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 1,639
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: 81,642   Rating: 4.95/5    Votes: 16   Popularity: 5.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 997
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: 56,196   Rating: 4.82/5    Votes: 8   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 1,125
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: 125,906   Rating: 4.63/5    Votes: 32   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 1,542
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: 47,526   Rating: 4.56/5    Votes: 9   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 812
A simplified method to enumerate a collection of objects.
COM / COM+
COM
Posted: 10 Apr 2002   Updated: 10 Apr 2002   Views: 85,278   Rating: 4.73/5    Votes: 16   Popularity: 5.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 899
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: 82,683   Rating: 3.69/5    Votes: 10   Popularity: 3.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 1,470
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: 87,952   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: 46,095   Rating: 4.82/5    Votes: 7   Popularity: 4.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 607
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: 108,434   Rating: 4.05/5    Votes: 4   Popularity: 2.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 1,086
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: 80,354   Rating: 4.45/5    Votes: 18   Popularity: 5.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 1,385
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: 408,167   Rating: 4.81/5    Votes: 29   Popularity: 7.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 130   Downloaded: 9,415
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: 423,408   Rating: 4.90/5    Votes: 33   Popularity: 7.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 144   Downloaded: 7,813
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: 626,004   Rating: 4.85/5    Votes: 71   Popularity: 8.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 337   Downloaded: 22,647
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: 473,724   Rating: 4.68/5    Votes: 56   Popularity: 8.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 184   Downloaded: 5,365
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: 261,240   Rating: 4.50/5    Votes: 18   Popularity: 5.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 9,355
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: 237,925   Rating: 4.92/5    Votes: 26   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 186   Downloaded: 6,240
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: 174,837   Rating: 4.60/5    Votes: 36   Popularity: 7.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 3,166
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
Web03 | 2.8.140709.1 | Last Updated 14 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid