🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.program
Article #1175

How to automate logon for Paradox tables

#1175
From: �ϵ�
Date: Sun, 19 Apr 1998 00:00
36 lines
1699 bytes
������: njhe (heҪ�Ʋ�), ����: RAD
��  ��:  How to automate logon for Paradox tables
����վ: '3m�Ͻ�ɺ�m' (Mon Mar  9 18:11:28 1998) , վ���ż�

     Product: Delphi
     Version: All
     Platform: Windows/Win32



Password automation

Q:  I have a paradox table that uses a password.  How do I make it so
that the form that uses the table comes up without prompting the user
for the password?

A:  The table component's ACTIVE property must be set to FALSE (If
it is active before you have added the pasword, you will be prompted).
Then, put this code in the handler for the form's OnCreate event:

  Session.AddPassword('My secret password');
  Table1.Active := True;

Once you close the table, you can remove the password with
RemovePassword('My secret password'), or you can remove all current
passwords with RemoveAllPasswords.  (Note: This is for Paradox tables
only.)
--
��ϧһ�д�ۣ��ﵽ���������塣
��������߱����������߱��

m;31m�� ��Դ:���Ͻ�ɺ� bbs.njupt.edu.cn��[FROM: 202.119.236.104]m

--
�� ��Դ:���ϴ�С�ٺ���Ϣ����վ bbs.nju.edu.cn��[FROM: a507yjh.nju.edu]
Technical Details
Message-ID: <3OAbSh$t1C@bbs.nju.edu.cn>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fc86e,2fe4e3d76ed997d3,start
X-Google-Attributes: gidfc86e,public
From: mendy.bbs@bbs.nju.edu.cn (�ϵ�)
Subject: How to automate logon for Paradox tables
Date: 1998/04/19
Message-ID: <3OAbSh$t1C@bbs.nju.edu.cn>
X-Deja-AN: 345876721
X-Filename: Programming/M.893006443.A
Organization: nju_bbs
Newsgroups: cn.bbs.comp.program