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
Solved

Using SQLDatabases w Delphi 2.0 or 3.0

Posted on 1997-10-09
4
146 Views
Last Modified: 2010-04-04
1 - I would like to know if Delphi 3.0 's "native drivers" are stand alone or if we still need to use & configure BDE on every PC's where the software is being installed.?

2- If I have to configure BDE on every PCs, is there a way to do that automatically? (by programmation)

3- What are the files i have to copy (or distribute) with me .EXE?

4- (optionnal) where can i find docs on programming my own component for MS SQLServer direct TCP/IP querrying? (doh!)
0
Comment
Question by:pilotes
  • 2
4 Comments
 
LVL 3

Expert Comment

by:Pegasus100397
ID: 1347101
Pilotes,

I utilized ODBC drivers alot (they have sped up MUCH in recent versions) and general pre-configure the BDE BEFORE distribution with the Aliases I need that point to the correct ODBC drivers.

Since the BDE installs on the user's computer pre-configured then it's simply a matter to install the necessary ODBC drivers.

Hope this helps.

Pegasus
0
 

Author Comment

by:pilotes
ID: 1347102
I need some technical details if possible!
0
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 50 total points
ID: 1347103
Pilotes,

Ok, I'll take the questions one by one then:

on (1)  YES, Normally you will have to configure the BDE on each user's machine (Aliases) by running the BDECFG32.EXE program. There may be a way to do this automatically but I have not had occasion to do it. In the meantime, just write down the aliases, BDE stuff that your program uses and set up the other machines to the same values.

on (2) MAYBE? I'm not aware of a way to programmatically set up the BDE at runtime. There are makers of third-party database drivers that are included with the .EXE program that make this an unecessary step.

on (3) Very few! If you use the InstallShield program to package your program up (and installed using the SETUP.EXE program) then pretty much everything is included in the install package that Installshield makes. If you use ODBC drivers, they will have to be installed seperately.

on (4), check the DCHAT.DPR program in the Program Files\Borland\Delphi 2.0\Demos\Tcp directory. It should give you some tips on how to use the TCP component to talk with SQL Server. See also, "Named Pipes" in the Win32s documentation.

Hope this helps
Pegasus
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1347104
Bought This Question.
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

Suggested Solutions

Title # Comments Views Activity
How to create virtual printer while installing my application 5 61
CheckListBox usage 3 71
Firemonkey allowing RTL on android 6 46
Twebbrowser add css to the header 3 27
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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