BCS Begin Programming Computers

There are many approaches to begin programming a computer language. I recommend c++ as a beginner’s language. While many will disagree with my position I have found that much of the hype about c++ being too difficult to learn initially is a misnomer.

In my humble opinion Ubuntu or a Linux distribution is best suited for software development unless you develop only for Microsoft windows platform. In the case of the latter Windows 10 or some lesser derivative would be the operating platform.

Many of the tools used for software development are easily configured in a Linux distribution.  The audience for developing employing the Linux platform is considerably larger than Microsoft suite developers.

While there are many Integrated Development Environments (IDE) I recommend Eclipse.  There is a learning curve with Eclipse but there will be a learning curve with any IDE if this would be your primary voyage in developing computer software.

You will have to install a Java Development Kit (JDK) before you would be able to successfully use the Eclipse IDE.  That is a requirement of Eclipse.

I would use the GCC compiler for program development.  Follow one of the many Hello World examples for c++ and observe that it functions properly.

There are many books available for programming c++.  I would recommend c++ For Dummies as an beginning point for new developers.  I recommend having a PDF version of the book available.  This approach makes following along with the examples much easier.

Be sure and follow the examples and exercises.  Diligence is the factor that will guarantee success in completing your goal.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS How To Launch A Java Archive (No Bat File)

To enable the launching of a java archive (jar) file traverse to the executable java archive’s location using windows explorer.  Right click on the jar file then select the Send To Desktop option.

Once the shortcut is created rename it to a name of your liking.  At this point you may also change its icon if so desire.

To launch the jar double click the icon or right click and choose the open option.

This technique will function for all the java tasks you care to launch from the windows desktop.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Get Hard Disk Contents

There are those time when the contents of a certain sub directory’s components can be made available.

This application allow the end user to retrieve the contents of a specified sub directory.  The results are stored in four string list.  The first two string list contains the file specifications for the directories and files.  The remaining two string lists contains the sizes of the collected directories and files.

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Delphi XE8 Find Text In Files


There are those time when it is handy to be able to find a specific piece of text in a programing file.
ftf1
This application allows the user to designate a initial file folder and traverses all associated folder looking for a specified file type.

Once the file specifications are retrieved each file is examined for the existence of the designated string.  When the designated  string is detected the file name, line number and the line’s contents are revealed to the user.

When the user clicks on the Find Text In Files on the Primary Menu Option the following dialog appears.
ftf2
Next the user is prompted for the wildcard file specification.  In this case we are looking at Pascal files thus the designation.
ftf3
Next the user is prompted for the string to detect via the dialog below.
ftf4
Key in the string to search for and tap the OK button.  The following dialog will appear.
ftf5
Here are all the occurrences of the detected string.  In this example 690 file were used as input.  There were a total of 187,757 lines of code searched in a matter of seconds.

In an similar example using more input there was 1,215 files with a total of 323,220 lines of code processed in a matter of seconds.
ftf6
While the result are available when the user double clicks on a line containing a line number the file is opened in the viewer at the specified line number.
ftf7
When the user clicks on a line that does not contain a line number the entire file is opened in the viewer beginning at the top of the document.
ftf8
Notice the full file specification is always listed at the top of the viewer.

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Delphi XE8 Relocate Files


There are those time when you need to relocate files from one directory to another.  This application does just that while allowing the end user to select the input and target sub directories.
ms01
First the user must select the input directory.
ms02
The user will then select a destination directory and all the files in the root of the sub directory are copied.  If you would like to traverse all sub directories you must change the existing option.

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Delphi XE8 File Viewer


There are those time when the programmer just needs to view the source code for a quick reference.
fv01
This application allows the user to select the directory to begin viewing.  If they land on a file they would like to execute simply invoke the popup menu and execute the selected fie.
fv02
The list populated and when you click on a file specification the text will appear in the View File tab.

The application asks you for the extension via the dialog below.
fv04
Click on any file spec in the list and the associated text will appear in the View File tab.
fv05
To execute the file invoke the popup and select the associated menu item.
fv03

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Delphi XE8 Windows Explorer Launcher


There are those time when the Windows Explorer is required and for those time this application lets you select the initial directory and then launches Windows Explorer in the selected directory.
we01
Initiate the process by clicking on the Windows Explorer Execute menu item.  The next dialog you will see will prompt you for an initial sub directory.
we02
After the dialog is successfully navigated the following window explorer session will being.
we03
This is just a handy tool for utilizing the Windows 10 Explorer.

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Set Spartan As The Default Browser Windows 10

I have currently been using Windows 10 operating system approximately for a month.  It is undoubtedly the best Windows yet.

The Spartan web browser (released this week) blows the doors off the competition.  I use Spartan to fix and debug Firefox 37.0.1 with all the JavaScript lockups and failures not to mention the malware hassles of using the thoroughly hacked Firefox.  There are no plugins and no hacks for plugins in Spartan.

Like any new technology the was a leaning curve but in only a few days I became comfortable enough with Spartan to make it my default web browser.  Good riddance Firefox!  Google Chrome was never a consideration for a litany of reasons.

To make Spartan the default web browser in Windows 10 click the start button then click settings, then click the defaults and when the default apps dialog appears click on the combo box / traverse to and select the Spartan icon and you are done.

Now when a browser is required Spartan is invoked and I become a happy camper once again.  No popups, no spyware and no malware.  I love it!

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.