如何象PB一样在DELPHI中建立登陆脚本?(100分)

  • 主题发起人 主题发起人 huft
  • 开始时间 开始时间
H

huft

Unregistered / Unconfirmed
GUEST, unregistred user!
DELPHI与ORACLE连接时需要用户名、口令,如何跳过这一步直接登陆并运行程序,象PB一样在DELPHI中建立登陆脚本?
 
参看以下设置
object Form1: TForm1
Left = 192
Top = 107
Width = 544
Height = 375
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Database1: TDatabase
DriverName = 'ORACLE'
LoginPrompt = False
Params.Strings = (
'SERVER NAME=ORA_SERVER'
'USER NAME=MYNAME'
'NET PROTOCOL=TNS'
'OPEN MODE=READ/WRITE'
'SCHEMA CACHE SIZE=8'
'LANGDRIVER='
'SQLQRYMODE='
'SQLPASSTHRU MODE=SHARED AUTOCOMMIT'
'SCHEMA CACHE TIME=-1'
'MAX ROWS=-1'
'BATCH COUNT=200'
'ENABLE SCHEMA CACHE=FALSE'
'SCHEMA CACHE DIR='
'ENABLE BCD=FALSE'
'ENABLE INTEGERS=FALSE'
'LIST SYNONYMS=NONE'
'ROWSET SIZE=20'
'BLOBS TO CACHE=64'
'BLOB SIZE=32'
'OBJECT MODE=TRUE'
'PASSWORD=password')
SessionName = 'Default'
Left = 120
Top = 80
end
end
 
接受答案了.
 
后退
顶部