Sending mail
As many C++ programmers have found, sometimes you need to send email from your C++Builder program. You may also want your users to be able to send you mail regarding technical support, diagnostic information, or for any number of reasons. This article will show you how to send mail from your applications, whether you're using C++Builder 1.0 or 3.0.
Click here for more.

Using RAS, part 2
Last month, we gave you an introduction to Microsoft's Remote Access Service (RAS) API. We showed you how to make a connection, detect an existing connection, and how to enumerate active connections. This month, we'll continue our discussion on RAS by covering phonebooks in more detail, including how to add, edit, and delete phonebook entries. We'll also introduce you to some of the dialogs that RAS provides for use in your applications.
Click here for more.

Spawning external applications
The Inprise newsgroups are a great source of information for C++Builder programmers. It seems that barely a day goes by without someone asking the question, "How do I execute an external application from my program?" This article will explain how to spawn an external application from within your program using the ShellExecute, WinExec, and CreateProcess Windows API functions. We'll also show you how to make your application wait until a spawned external program has terminated before
continuing on.
Click here for more.


Using the Component Template
Once you've finished the layout of multiple components, you can reuse them as a component template. Try the following steps:
  1. Select multiple components you want to use as a template.
  2. Select "Component -> Create Component Template" from the menu of BCB.
  3. A dialog appears. Specify a component name, choose a page for this component (or create your own page), and select a proper icon.
  4. Click the "OK" button.
  5. You will find the component template you just created on the component palette. You can then use it as needed.

Copyright © 1999, ZD Inc. All rights reserved. ZD Journals and the ZD Journals logo are trademarks of ZD Inc. Reproduction in whole or in part in any form or medium without express written permission of ZD Inc. is prohibited. All other product names and logos are trademarks or registered trademarks of their respective owners.