>> @echo off >> c:\Progra~1\Firebird\Firebird_1_5\bin\gsec -user SYSDBA -password >> masterkey -add MYUSER -pw MYPASSWORD >>
>> How do I use ShellExecute to launch GSec with the parameters I need? In my >> previous email I explained the way I am using it at the moment, which is to >> launch a .bat file. >> >> Hi Steve, I use FIB+ with Delphi 7 Pro. Fib+ gives me tools to work transparently with GSEC. To use ShellExecute you would create a string just as you have done or else there is a way to set parameters using 0 terminated strings and then set the progname and run it. There are enough details in help and some ShellExecute components available on the net. Wouldn't be hard to write one but I have exams next week :( Mick _______________________________________________ Delphi-DB mailing list Delphi-DB@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-db