Monday, July 24, 2006

Delphi Tips: How To Create And Call A Dynamic Link Library (DLL)

Introduction To The Dynamic Link Library (DLL)

A Dynamic Link Library (DLL) is an executable file with a .DLL extension that may contain procedures, functions or resources that can be shared by multiple programs. Even if several programs call the same DLL, it is only loaded once in memory saving system resources. That is one of its major advantages.

A DLL can be used to store resources. For example, you can create a DLL of images that you can then use in your applications. Or, you can use DLLs to provide multi-lingual support for an application by creating several versions of a DLL for the various supported languages and then calling them as needed at run time.

You may have a complex application that is constantly being updated. By using DLLs in this situation, you can save your users a great deal of time and frustration. Instead of having to recompile and deploy the entire application with every new update, you can simply provide a new DLL to replace an older version. To use a DLL in this way, you must include all the methods found in the old DLL in the new version, and not change any of the original parameters.

Online Delphi Training offers customized DLL training. You can also sign up for the following classes:

This example will show you how to create and call a DLL in Delphi. To see the full explanation and code, click on:

How To Create And Call A Dynamic Link Library (DLL) in Delphi.

For more information about Online Delphi Training:


Krikor Mnatzaganian
Managing Director Of Training
Website: www.OnlineDelphiTraining.com
Phone: +1 (678) 921-0644
Email: info@onlinedelphitraining.com

Thursday, July 20, 2006

Delphi Tips: How To Use Constraints To Validate Data

One of the many things that I love about Delphi is the fact that it is a RAD (Rapid Application Development) environment. So much is prebuilt in its IDE that very little code is required to achieve certain functionalities that would require extensive coding in other languages.

Delphi is extremely powerful and versatile, especially when it comes to creating database applications. It comes ready with many components that facilitate and speed up database development.

One important aspect of database development is the validation of data. The data is validated to match the database before any data is sent to the server for posting. This ensures the compatibility of data, and reduces network traffic.

Without validation, invalid data could be sent to the server which would then reject the data and send it back to the client with a database error. When you use data validation, data entry inconsistencies or errors are trapped on the client side long before they get to the server.

This example will show you how to create data constraints in Delphi for validating data entry. To see the full explanation and code, click on:

Using Constraints To Validate Data In Delphi

For more information about Online Delphi Training:

Krikor Mnatzaganian
Managing Director Of Training
Website: www.OnlineDelphiTraining.com
Phone: +1 (678) 921-0644
Email: info@onlinedelphitraining.com

Tuesday, July 18, 2006

Delphi Tips: How To Save The Position & Size Of A Form Based On A User's Preference

I sometimes get asked the question: How do you save the position and size of a given window based on a user's preference, and then use the saved settings next time you open the window?

The solution to this problem is quite simple. First, you must decide how to save the settings. The three most common ways are:

  1. Use an INI File - Typically one user per computer
  2. Use the Windows Registry - Can be for a single user, or for multiple users with different accounts sharing the same computer
  3. Use a database table - Client/Server environmnet where one user can use any networked computer

I will only cover the first method - the use of an INI file to save the settings. The concept is the same for all three:

When the window is opened, check to see if you should load any saved settings and if they had been saved. If so, use the settings to display the window. Otherwise, load the default window settings (design settings). Before closing the window, check to see if you should save any settings. If so, save the settings and exit.

To see the full explanation and code, click on:

How To Save A Window's Size & Position In Delphi

For more information about Online Delphi Training:


Krikor Mnatzaganian
Managing Director Of Training
Website: www.OnlineDelphiTraining.com
Phone: +1 (678) 921-0644
Email: info@onlinedelphitraining.com

Sunday, July 16, 2006

Delphi Training - Where To Go

Where to go for your Delphi Training?

If you are looking for:

You can set your own schedule or check the existing schedule at:
Delphi Training Schedule.

If you are interested in a FREE training trial, go to:
Delphi Training Free Trial.

If you are looking for good Delphi books, go to:
Recommended Delphi Books.

Get One Year Of Free Delphi Support When You Sign Up For A Class With OnlineDelphiTraining.com
For more information about Online Delphi Training:


Krikor Mnatzaganian
Managing Director Of Training
Website: www.OnlineDelphiTraining.com
Phone: +1 (678) 921-0644
Email: info@onlinedelphitraining.com

Saturday, July 15, 2006

Step-By-Step One-On-One Delphi Training

If you could get a personal Delphi mentor and tutor who would work with you for one year at a fraction of what it would cost to hire one, would you?

Does it sound unbelievable? Take a look for yourself!

Online Delphi Training exists to provide one-on-one online training and support for Delphi developers regardless of their level of expertise. This is always LIVE and always by highly professional and experienced Delphi trainers.

When you sign-up for one or more classes with Online Delphi Training, you get personalized one-on-one training for the classes and one year of free support that you can use to work on your existing or new Delphi projects.

You will learn how to:

      • Analyze and think about the problem
      • Build a solid coding foundation
      • Understand sound programming techniques
      • Deliver solid real-life working solutions

Here is what one of our students had to say about our classes:

"The small class size allowed for very detailed and personal attention.

The instructor was very patient and wanted the students to be interactive and ask questions freely.

The teaching methodology was extremely effective."

Julie Billings, High Point, NC

You can set your own schedule and your curriculum!

Find out how you can get started today:

Krikor Mnatzaganian
Managing Director Of Training
Website: www.OnlineDelphiTraining.com
Phone: +1 (678) 921-0644
Email: info@onlinedelphitraining.com

Friday, July 14, 2006

FREE Delphi Support For One Year With Class Sign-up!

Where do you go when you run into difficulties while coding in Delphi?

It is not a matter of “if,” but of “when!” Sooner or later you will run into a problem while working on your Delphi projects. Where do you turn for help?

Now, with Online Delphi Training, you receive one year of programming support when you sign up for a class. This is an especially valuable service for new Delphi developers who are starting out in Delphi.

How does it work? Very simply, complete one or more training classes with Online Delphi Training. The level and extent of support you receive will vary depending on the number of classes you take. Generally speaking, the support is for areas covered in the classes.

You can receive help on your Delphi projects and extend your learning for a year while, at the same time, you complete your assigned projects.

You can email your questions, or you can call the support line. You receive fast answers, and continue to learn as you work on your ongoing Delphi projects.

For more information about Online Delphi Training:


Krikor Mnatzaganian
Managing Director Of Training
Website: www.OnlineDelphiTraining.com
Phone: +1 (678) 921-0644
Email: info@onlinedelphitraining.com

Friday, July 07, 2006

Learn Borland Delphi Now! Step-By-Step Live Online Delphi Training

Are you looking for a Borland Delphi class, but cannot find anything available in your area, or one to suit your scheduling needs?

Online Delphi Training now offers a very compelling solution to this common problem. You can live anywhere in the world and participate in their live online training. And, you can set your own schedule. You can literally sign up today and start your class today!

The training is always live and is taught online. This means that:

1. You learn from the comfort of your home or office.

2. You work with a professional Delphi trainer and developer.

3. You are able to interact, ask questions and receive immediate answers.

It is like having an online tutor who is dedicated to your education. Classes are offered on weekdays, weekends or evenings.

In addition to being able to set your own schedule, you can also set your own curriculum! If you have specific needs, or simply need to cover certain areas, you can sign up for a customized class!

“We have had incredible success with our students,” says Krikor Mnatzaganian, founder of Online Delphi Training. “We offer a solution that is very unique and bold in its approach. We guarantee that you will learn, if you are serious. We know Delphi and we love to teach it.”

For more information about Online Delphi Training: