🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.program
1 messages
1 total messages Started by �ϵ� Sun, 19 Apr 1998 00:00
How to automate logon for Paradox tables
#1175
Author: �ϵ�
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]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads