Software Development Home ^ Products ^ Services ^ Resources ^ About Us ^ Contact Us
Software Development  

Backslash - Ingenious Software Development

Products

Domain Name
Search Software

Time Tracking Software

Services

Software
Development

Laptop Computer
Rental

Other
Resources

C++ Builder 6 Developer's Guide
Book

C++ Builder 5 Developer's Guide
Book

C#Builder
Developers

C++Builder
Developers

Headlines Direct

Introduction

Headlines Direct is a Freeware application that demonstrates how to incorporate live product news and marketing information within your own application, similar to the C++Builder Direct application in C++Builder which displays a list of links to web pages about C++Builder news, downloads, web sites, and so on.

To see Headlines Direct in use in a commercial application download the Mozzle Std or Mozzle Pro (advanced tools developed by Backslash to generate domain names and automatically check them for availability).

Download

You must agree to the license below. At the very end of the license agreement is a download link.

Notes

Headlines Direct demonstrates the simple use of TTreeView, TNMHTTP, TMemIniFile, TToolBar and TStatusBar, extracting the version information from an application, loading a web page in the default web browser and an email in the default mail program. Full source code is included.

The list of headlines and associated URL's to dislay to the user are stored in an INI file format. This file is downloaded from a given web page on a periodical basis (eg. every week) when the application is started, or when the Get Now button is pressed. An example headlines INI file, headlines.txt, is provided as a template.

You can use an Indy TIdHTTP component instead of the TNMHTTP component if you like, however you cannot use the INetDetector component at the same time as Indy, as they use two different versions of winsock code. Delete the associated internet connection detection code. No other code changes (other than renaming the component used) are required. Mozzle uses TIdHTTP.

The application was built with C++Builder 5 Enterprise, however it will work with C++Builder 5 Professional and Standard. To use it in C++Builder 4 you must create a new application and then copy and paste in the code, or add the two forms to a blank application and then update the projects main .cpp file from HeadlinesDirect.cpp.

Note: To use this application you must first install Utilimind Solutions INetDetector component (provided in this distribution). From C++Builder choose Component, Install Component, then for the Unit file name browse to INetDetector.pas. Click Ok to install it into the default (User) package.

A full tutorial will be added some time in the future.

ToDo

  • Don't allow the user to click outside (eg. to the right) of a headline to browse to it.
  • Keep a list of visited headlines in the registry and display a different icon for them.

History

Date Description
29-Jan-2001

v1.0.1.0

Jaben Cargman:

  • Fixed detection of online status.
  • If Headlines Direct is running when the status goes from offline to online and the headlines need updating, they are automatically updated at that time.
  • Allow a headline to be selected using the keyboard (Space and Enter).
  • Don't throw exceptions when reading registry entries that don't exist yet (usually the first time that the program is run). This stops the exceptions from being shown when running in the IDE.

Jarrod Hollingworth:

  • Fixed a memory leak in the version information code for the about box.
  • Explicitly set the registry root key to HKEY_CURRENT_USER to make the code clearer.
19-Jan-2001

v1.0.0.0

Jaben Cargman:

  • HotTrack (URL highlighting of headings) enabled.
  • TreeView is now read-only.
  • Uses UtilMind Solutions INetDetector component to detect if net connection is up.
  • Cleaned up icons.
  • Removed reference to an unnecessary runtime package.

Jarrod Hollingworth:

  • Added application version information.
  • About box gets version number from the applications version information.
  • Removed requirement to track the first node added to the TreeView.
  • Only enable HotTrack when the mouse is positioned over a headline with a URL, and not for the section headings.
  • Allowed for headlines without a URL.
  • Minor code changes.
  • Changed project options to not build with runtime packages.
16-Jan-2001

v0.9.9.9

Jarrod Hollingworth:

  • Initial version written. Highlights include: downloads headlines from a web site, highlights new headlines, saves form size and position.

Feedback

This application is freeware and can be used for personal or commercial purposes without restriction, however if you have any suggestions, have enhanced this application in some way, or have used it in a great application then please let me know.

License Statement and Limited Warranty

IMPORTANT - READ CAREFULLY

This license statement and limited warranty constitutes a legal agreement ("License Agreement") between you (either as an individual or a single entity) and Backslash for the software product ("Software") identified above, including any software, media, and accompanying on-line or printed documentation.

BY INSTALLING, COPYING, OR OTHERWISE USING THE SOFTWARE, YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THE LICENSE AGREEMENT. If you are the original purchaser of the Software and you do not agree with the terms and conditions of the License Agreement, promptly return the unused Software to the place from which you obtained it for a full refund.

Upon your acceptance of the terms and conditions of the License Agreement, Backslash grants you the right to use the Software in the manner provided below.

This Software is Freeware and may be used in any manner, whether personal, organizational or commercial, without charge.

The Software might include source code, redistributable files, and/or other files provided by a third party vendor (Third Party Software). Since use of Third Party Software might be subject to license restrictions imposed by the third party vendor, you should refer to the on-line documentation (if any) provided with Third Party Software for any license restrictions imposed by the third party vendor. In any event, any license restrictions imposed by a third party vendor are in addition to, not in lieu of, the terms and conditions of the License Agreement.

LIMITED WARRANTY

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, BACKSLASH DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE, AND THE PROVISION OF OR FAILURE TO PROVIDE SUPPORT SERVICES. THIS LIMITED WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS. YOU MAY HAVE OTHERS, WHICH VARY FROM STATE/ TERRITORY TO STATE/TERRITORY. LIMITATION OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL BACKSLASH BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE PRODUCT OR THE PROVISION OF OR FAILURE TO PROVIDE SUPPORT SERVICES, EVEN IF BACKSLASH HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, BACKSLASH'S ENTIRE LIABILITY UNDER ANY PROVISION OF THIS LICENSE AGREEMENT SHALL BE LIMITED TO THE GREATER OF THE AMOUNT ACTUALLY PAID BY YOU FOR THE SOFTWARE PRODUCT OR U.S. $25; PROVIDED, HOWEVER, IF YOU HAVE ENTERED INTO A BACKSLASH SUPPORT SERVICES AGREEMENT, BACKSLASH'S ENTIRE LIABILITY REGARDING SUPPORT SERVICES SHALL BE GOVERNED BY THE TERMS OF THAT AGREEMENT. BECAUSE SOME STATES AND TERRITORIES MAY NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY, THE ABOVE LIMITATION MAY NOT APPLY TO YOU.

HIGH RISK ACTIVITIES

The Software is not fault-tolerant and is not designed, manufactured or intended for use or resale as on-line control equipment in hazardous environments requiring fail- safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines, or weapons systems, in which the failure of the Software could lead directly to death, personal injury, or severe physical or environmental damage ("High Risk Activities"). Backslash specifically disclaim any express or implied warranty of fitness for High Risk Activities.

GENERAL PROVISIONS

This License Agreement may only be modified in writing signed by you and an authorized officer of Backslash. All terms of any purchase order or other ordering document shall be superseded by this License Agreement. If any provision of the License Agreement is found void or unenforceable, the remainder will remain valid and enforceable according to its terms. If any remedy provided is determined to have failed for its essential purpose, all limitations of liability and exclusions of damages set forth in this License Agreement shall remain in effect.

This License Agreement shall be construed, interpreted and governed by the laws of the State of Victoria, Australia. This License Agreement gives you specific legal rights; you may have others which vary from state to state and from country to country. Backslash reserves all rights not specifically granted in this License Agreement.

Download

If you have read and agree to the license statement and limited warranty described above then you can download the entire source code and supplementary files:

I AGREE

Copyright © 2006 Backslash. All Rights Reserved. ^ Privacy Policy ^ Top