Solved

Database related...

Posted on 1997-09-13
4
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 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