Solved

Database related...

Posted on 1997-09-13
4
248 Views
Last Modified: 2013-11-23
A question from a beginning beginner...

When i copy my program to a friend's computer, it does not work because it uses a db file. Is there a way to make a program stand alone, so it does not need the Borland BDE anymore ?
0
Comment
Question by:TeRReF
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
itamar earned 50 total points
ID: 1344755
If your program deals only with simple data (not a database), you can use text files (type AssignFile in the unit and press F1) to handle them. Otherwise you will need BDE or other database manager.
If you try th Install shield or Wise installation programs, the things will come easier if you really need to use BDE.

IHTH (I hope this helps).
0
 
LVL 29

Author Comment

by:TeRReF
ID: 1344756
Thanx for your answer itamar,

All right, i've managed to distract multiple lines from a .txt file and placed them in some memo's. But i need more info..

Let's presume this is the .txt file :

-------------------------------------

Susanne
Jones
21 Victorylane
New York

Peter
Ustinov
3 Elmstreet
Washington

Ellen
Van Lange
345 5th Avenue
New York

-----------------------------------

It's no sweat reading the first 4 lines using 4 Readln's

But how can i, using 2 buttons, cycle trough the next, or the previous 4 lines ?

I'm a newbie so some example code would be fantastic...

Thanx in advance !

TeRReF
0
 
LVL 4

Expert Comment

by:itamar
ID: 1344757
I think we have another question here !
Anyway, don't expect too much dealing with text files. All you can do is reading it in sequencial form. Remember that there is no indexes at all.
0
 
LVL 29

Author Comment

by:TeRReF
ID: 1344758
Well, i'll work my way around it....

Thanks anyway !

Grtz

TeRReF
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now