Solved

SQLOLE with MSSQL 6.5

Posted on 1998-10-08
3
157 Views
Last Modified: 2010-04-06
How can I implemnt the SQLOLE_TLB, I will use the
bcp-functions for import/export.
0
Comment
Question by:petenyi
[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
3 Comments
 
LVL 4

Accepted Solution

by:
dwwang earned 100 total points
ID: 1342287
Declare a var:
MySQLOleServer:variant;

Create the object:
MySQLOleServer:=CreateOleObject('SQLOLE.SQLServer');

Then use the properties and methods of MySQLOleServer
to do what you want.

For details of objects/properties/methos that you can create
and/or use, please see help of SQLOLE.

For more infomation about OleAuto in Delphi, see Delphi's help
as well as the example in demos\oleauto\autoctrl.
0
 

Author Comment

by:petenyi
ID: 1342288

I have do this, but I get an erromessage.
"Object Missing"
privat
FSQLServer:SQLSERVER
.
or
 FSQLServer := coSQLServer.Create;
  // two alternate ways to create the SQL Server object if there's no
coClass:
  // FSQLServer := CreateComObject (Class_SQLServer) as SQLServer;
  // FSQLServer := CreateOLEObject ('SQLOLE.SQLServer') as SQLServer;

in the project file I get the Errormessage
by Application.Initialize "Object Missing"

How can I use the BCP-functions


thank and best regards
Balazs


0
 
LVL 4

Expert Comment

by:dwwang
ID: 1342289
Hi, any one of these ways works well in my computer,
using Delphi3.

If the problem keep on exists, try to check out
whether your SQLOLE TLB is correctly registered
as well as those .dll and .tlb files are properly installed.
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month10 days, 5 hours left to enroll

624 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