Working on a tool for planning flights, have a look

Users Local time
Today 3:03 PM
Hello Air-Childies :)

EDIT: Latest download link will be posted here and in the thread below, where you can also find the list of updates:

Latest version(Alpha 0.2):


Previous version(Alpha 0.11):
]

First of all, thank you for taking the time to open this thread. I am working on my first project involving any kind of programming. It's nothing compared to what some other of our members have done, but it's a useful little tool and I'm a little proud of it. This project started as a school project, but ended up being much, much more than required for the course. I have made this for myself for the sake of programming practice and usefulness, but have thought for a while that I should check if there's anyone here interested. I would love if there were one or two interested to try it out and give feedback, as I'd like the experience developing applications. It isn't quite ready for distribution just yet, but it will be during this month (I hope). I'm just checking the ice prematurely.

So, the big drawback to this little "application" is, that it has been created using Microsoft's VBA, and therefore only works within Microsoft Office Excel. So having Excel is a requirement to use this. It should work in 2007 to 2013, created in 2010.

Now to the app itself: It is a "tour" planner for Air-Child pilots. It doesn't give you flight plans, but assists you in choosing which flights to book and fly. Since it was created for myself, it supports my kind of principles, which are:
- Using Advanced/Professional career
- Always departing from the arrival airport of the last flight
- Always using only the planes that are in the departure airports
- Mostly scheduled flights

These principles make planning one's flights a challenge, and this application is meant to make it easier. Note, the application does not require you to follow these principles (except for maybe some parts), only make it simpler to do so.

I'll give you an example: Before I was even allowed to fly the 737, my flight options were rather limited. I only flew the ATR and E190. So, I was in LOWW, and wanted to end up in Rotterdam, EHRD. I typed this citypair into my app, and it suggested a route something like this:
- Take an E190 via EDDS and EGCC to EGLC
- From EGLC take an ATR to EHAM
- At EHAM switch to another ATR to fly via EDDW to EHRD

Finding this kind of a route would of course be possible through the tools provided on Air-Child's website, but it is a little more time consuming. I enjoy flying scheduled flights with these rules and with the help of this little app, since it gives some kind of sense of purpose and achievement when you manage to fly from A to B using only the provided schedules. Recommended.

The application gathers data from Air-Child's website and organizes it into neat tables, which the code in the VBA-macros uses to find this kind of routes. There are a couple of other functions as well, but this is definitely the most important one. There will be more functions though. It is still a work in progress.

I don't know if I have been clear enough here. I'm new to advertising my programs to people, so if you have any questions, please, I would definitely appreciate if you asked.

I thank you for reading this far, and would be forever grateful if you had any input on this, and even more grateful if you were actually interested in trying it out. I know it's not an application worthy of commercial distribution, but it's a useful tool, made as a introductory programming practice work. A soft landing into the world of programming. I will be studying more of the subject during the following year, and IF there was some interest for this, my next practice work might be doing this using a more user-friendly platform than Excel... :p

The Very Best Regards,
Aleksi

EDIT: Since I realised that a comprehensive list of features might be useful for anyone reading, that will be added here:

About the structure of the file. The initial package would include:
- The main sheet:
¤ A table with all the aircraft the user has chosen to include with information on:
* Type
* Registration
* Status (whether scheduled, charter or spec ops)
* Base hub
* Current position
¤ All the main buttons that are used to interact with the main functionalities, these are listed
later
- A sheet with a plain table copied directly from air-child's hangar. This is what the code uses to get basic information on the planes. It also updates regularly, or when the user wants it to. This sheet has no interaction with the user and I could just hide it
- After these two sheets come the many individual plane schedule sheets. The schedule sheets show all the flights a plane has and the times of day. Currently no weekdays can be implemented, but for now there is a space if someone wishes to mark them down themselves. That's a lot of work though so I don't think anyone would. The initial package includes ALL ~350 planes Air-Child has, but this can easily be changed by the user.

Then the buttons on the main sheet, and their functions:
- Update positions -button
¤ Simply refreshes the large hangar-table, from which all of the position information in the
Excel is fetched. Therefore pushing this button you'll have exactly up to date information on
where all of the planes are.
- Refresh all schedules -button
¤ This might be changed or removed, but currently it rebuilds all individual schedules to account
for any changes, such as addition or removal of flights
- Manage database -button
¤ Opens a form that lists all aircraft types Air-Child has. Next to each type there's a checkbox.
Initially all boxes are checked, but if you uncheck boxes, the corresponding aircraft type will
be removed from your Excel file. Similarly, if you check a box that was previously unchecked,
it will be added to the database. These changes include adding or removing the planes'
information from the main sheet table plus adding or removing the individual schedule sheets.
- Plan routes -button
¤ This is the feature that everything else is made for. It opens a form with two tabs, both with
separate functions.
Tab 1 was the first thing I did, and it will get replaced by something more advanced at some
point. It simply asks the user for a plane's registration and then tells the user all the planes
that are currently positioned along the plane's schedule. This is to tell the user where they
could switch planes. The user can also, after the search, with a single click carry out the
same search for one of the planes found along the schedule, and this way build their plan.
Tab 2
This tab is the one that was used in my example from LOWW to EHRD. It's simple: the user
gives the airport codes and the program gives the user all the planes they need to use, and
where to switch. At least for now it does not give information on what flights the user needs
to fly on a plane, but that can easily be figured out by looking at the schedule. For example,
it could give you "From EHAM on PH-DBR (B737-700) to ESSA", and the user would then book
the appropriate flights to make it to ESSA on this plane, whether it be one or five flights.
This will be worked on.
On both tabs there's the possibility to leave any type of aircraft out of the search, and of course
only those types that you have included in your database can be used in the search.

I will add the planned features here later. This already is a huge amount of reading, and I can't tell you how much I appreciate if you've made it this far, but a massive thank you for your attention and please share your thoughts :)
 
Interesting little programme Aleksi.

Even though I don't have time in real life to make any flights lately, I would have a little play with the program.

Only thing that I would need added if using it to plan flights, would be selecting the aircraft allowed. I don't have any airbus installed on my flight sim, so if I could select flights by 737 or ATR only etc

:goodjob:
 
Hi Andrew and thank you for the input =)

The feature is actually already implemented :) Guess I should make a detailed list here of the current and upcoming features. I think I will do that later today or tomorrow.

Br.
Aleksi
 
Hi, that sounds really interesting. But give a hint to a blind man where he can find the app? :think:
 
Oliver Pohl said:
Hi, that sounds really interesting. But give a hint to a blind man where he can find the app? :think:

Hi Oliver! Great that you're interested, but yes, see Andrew's post above :) it currently is a little buggy and not very polished. Still useful though, if you can work your way around the bugs and lacks. If you want, I could put up a download link with the file in the current state so you could at least get the idea of what it's like. Also I could get the idea of how it works on other machines than mine... :think:
Actually, what the heck, I'll put a download link here this week, maybe tomorrow. I'll just make it clearer so that others than just the creator can understand it :p
It'll be an Alpha test version. I will add a couple of small features pretty soon and then probably rewrite a part of the old code since I've improved quite a lot in these few months.

Thank you for the interest,
Aleksi :)
 
Andrew Williams said:
Aleksi Laine said:
It isn't quite ready for distribution just yet, but it will be during this month (I hope). I'm just checking the ice prematurely.

:wink:

I thought he would invite us for a 'Beta' Test :)
 
Oliver Pohl said:
I thought he would invite us for a 'Beta' Test

That's exactly what I did :) I was only checking first if there was anyone here who would like to try it. I was going to polish it a little first and add one major function before giving the file to you, but yeah as I said in the previous post I changed my mind =D I will post a link here as soon as I get it to a decent state. I didn't have enough time today since I found a new bug that makes the file almost unusable and now I'm at work for the rest of the evening. I'll have plenty of time during the weekend though, so expect it on Saturday ;)

Again, thank you for the attention,
Aleksi
 
The download link is finally here :D

EDIT: Improved version over what I uploaded a couple hours ago
EDITEDIT: One more small fix, latest uploaded at 1950 Zulu 7.7.2013

It includes the Excel file and an informal user guide.

A huge thank you to anyone interested in trying it out and giving feedback. The app has bugs. I did not plan to release it this early to anyone, but I did :p A couple of the bugs are listed in the guide. The best known bugs are in the main function's "Page 2". That part will be completely rewritten for the next version, so no need reporting those bugs to me, but ask questions if you face a bug you can't work around.

Otherwise report any bugs, give feedback and suggestions and ask questions. I still don't expect much input since not many of Air-Child's pilots fly with the style this app was made for, but maybe this could encourage more of us to fly scheduled flights? Maybe?

I hope this will be of use to some people here :)

Thank you,
Aleksi
 
Hello!

Any comments? Has anyone had any use of the app? :p

Anyways, the development has slowed down a little, but here's a new version with minor fixes and new features:



Nothing very huge, maybe ten hours of work for really small things which someone might never use. Mostly me just experimenting with features =) There are two useful fixes though.

Br.
Aleksi
 
Hi again!

Continued development on the smaller things, but this time a little more useful ones. Latest file, Alpha 0.20, here:


Forgot to do this the last time, so here's the complete changelog from 0.1 to 0.2:

Alpha 0.1 to 0.11:
- Added custom sorting to main table
- Added “Filter Table” –button to filter out desired plane types from the main table
- Added “Sort Sheets” –button to sort worksheets in same order as the planes in the main table
- Removed default Excel dropdown buttons
- Removed weekdays from individual schedules
- Very small changes to appearance
- Fixed an initialization error in the database management function
- Fixed the lack of automatic 5 min interval update to position data. Also added update on file
startup

Alpha 0.11 to 0.2:
- Added Settings:
*Absorbed the database management button
*New features included in Settings:
+ Function to modify the default of boxes ticked when choosing what plane types to include in
searches
+ Possibility to modify the automatic update interval of position data
+ Decide whether you want updates on startup
- Added loading screens to:
* Addition of planes to the file
* Removal of planes from the file
* Sorting sheets in the file
- Added a somewhat assisting feature for starting the file for the first time
- Improved the filter-function
- Small improvements to buttons in forms

Note that none of these changes have been documented in the manual. I've been too lazy to do that. I've only added the same changelog to the bottom of the manual.

Next up is probably rewriting the "from/to" -function's code. That'll take me at least a week I think, but after that one could hopefully consider this a working app.

Br.
Aleksi :)
 
Back
Top Bottom