Click here to Skip to main content
12,623,511 members (33,129 online)

Articles by Len Holgate (Articles: 22)

Articles: 22

RSS Feed

Average article rating: 4.39

Combo & List Boxes
Listbox Controls
Posted: 25 Feb 2000   Updated: 25 Feb 2000   Views: 108,761   Rating: 4.54/5    Votes: 9   Popularity: 4.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 2,108
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: 134,104   Rating: 4.41/5    Votes: 18   Popularity: 5.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 1,058
A framework for system tray applets
Database
COM
Posted: 20 Feb 2000   Updated: 20 Feb 2000   Views: 59,750   Rating: 4.50/5    Votes: 8   Popularity: 4.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 740
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: 54,811   Rating: 3.60/5    Votes: 5   Popularity: 2.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 563
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: 89,161   Rating: 4.33/5    Votes: 18   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 1,697
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: 84,631   Rating: 4.95/5    Votes: 16   Popularity: 5.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 1,022
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: 59,682   Rating: 4.82/5    Votes: 8   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 1,168
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: 142,056   Rating: 4.63/5    Votes: 32   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 1,886
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: 50,001   Rating: 4.56/5    Votes: 9   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 843
A simplified method to enumerate a collection of objects.
COM / COM+
COM
Posted: 10 Apr 2002   Updated: 10 Apr 2002   Views: 88,990   Rating: 4.73/5    Votes: 16   Popularity: 5.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 932
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: 86,833   Rating: 3.69/5    Votes: 10   Popularity: 3.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 1,512
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: 91,754   Rating: 3.58/5    Votes: 45   Popularity: 5.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 55   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: 48,942   Rating: 4.83/5    Votes: 8   Popularity: 4.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 616
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: 114,601   Rating: 1.80/5    Votes: 5   Popularity: 2.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 44   Downloaded: 1,165
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: 87,494   Rating: 4.45/5    Votes: 18   Popularity: 5.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 1,483
A mini framework for writing Control Panel applets. Just fill in the blanks!.
Windows General
Posted: 24 Feb 2000   Updated: 24 Feb 2000   Views: 185,892   Rating: 4.60/5    Votes: 36   Popularity: 7.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 3,484
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: 462,858   Rating: 4.81/5    Votes: 29   Popularity: 7.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 134   Downloaded: 10,045
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: 543,885   Rating: 4.68/5    Votes: 56   Popularity: 8.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 188   Downloaded: 5,684
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: 474,460   Rating: 4.90/5    Votes: 34   Popularity: 7.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 148   Downloaded: 8,295
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: 718,449   Rating: 4.83/5    Votes: 74   Popularity: 9.09
Licence: The Code Project Open License (CPOL)      Bookmarked: 346   Downloaded: 24,335
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: 310,544   Rating: 4.50/5    Votes: 18   Popularity: 5.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 58   Downloaded: 10,270
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: 265,054   Rating: 4.92/5    Votes: 26   Popularity: 6.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 189   Downloaded: 9,029
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.161128.1 | Last Updated 4 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid