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: 104,612   Rating: 4.54/5    Votes: 9   Popularity: 4.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 1,962
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: 128,145   Rating: 4.41/5    Votes: 18   Popularity: 5.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 1,027
A framework for system tray applets
Database
COM
Posted: 20 Feb 2000   Updated: 20 Feb 2000   Views: 57,553   Rating: 4.50/5    Votes: 8   Popularity: 4.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 710
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,475   Rating: 3.60/5    Votes: 5   Popularity: 2.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 550
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,139   Rating: 4.33/5    Votes: 18   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 1,652
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,069   Rating: 4.95/5    Votes: 16   Popularity: 5.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 1,002
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,877   Rating: 4.82/5    Votes: 8   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 1,140
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: 128,522   Rating: 4.63/5    Votes: 32   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 1,566
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,907   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: 85,949   Rating: 4.73/5    Votes: 16   Popularity: 5.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 902
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: 83,851   Rating: 3.69/5    Votes: 10   Popularity: 3.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 1,476
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: 88,744   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,551   Rating: 4.82/5    Votes: 7   Popularity: 4.07
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,159   Rating: 4.05/5    Votes: 4   Popularity: 2.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 1,099
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: 81,187   Rating: 4.45/5    Votes: 18   Popularity: 5.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 1,404
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: 412,711   Rating: 4.81/5    Votes: 29   Popularity: 7.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 130   Downloaded: 9,550
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: 428,234   Rating: 4.90/5    Votes: 33   Popularity: 7.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 144   Downloaded: 7,899
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: 634,019   Rating: 4.85/5    Votes: 71   Popularity: 8.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 339   Downloaded: 22,979
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: 481,759   Rating: 4.68/5    Votes: 56   Popularity: 8.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 184   Downloaded: 5,423
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: 280,269   Rating: 4.50/5    Votes: 18   Popularity: 5.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 9,468
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: 241,213   Rating: 4.92/5    Votes: 26   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 186   Downloaded: 6,620
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: 176,858   Rating: 4.60/5    Votes: 36   Popularity: 7.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 3,229
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
Web02 | 2.8.141015.1 | Last Updated 22 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid