copy the STO_ShellExecute to your project see Interpretation for an exemple how to use it with params
uses
Windows, ......., ShellApi;
function TFormBegin.Interpretation():Boolean;
var ExitCode: DWORD;
rf:TextFile;
i:integer;
msg:string;
reponse:Boolean;
prog,args:String...
array of integer => 1st index 0 , last is size-1
var
A, B: array of Integer;
begin
SetLength(A, 1);
A[0] := 1;
B := A;
B[0] := 2;
end;
procedure MyProcedure(MyArgs: array of integer; n : integer);
PS: array[2..5] of integer signifies an array with the 1st index "2" and...
Dim oApp As Word.Application
Dim oDoc As Word.Document
Set oApp = CreateObject("Word.Application")
oApp.Documents.Open ("mydoc.doc")
Set oDoc = oApp.ActiveDocument
oDoc.PrintPreview 'oDoc.Print
oDoc.Close
oApp.Quit
well this is a little bit foggy, LOL
in the report that you want to select witch fields to display you can set some variables stored in a module to certain values (brrrr) ... in english ... put in a module variables like : Public Field_NAME_Visible As Boolean
when you exit this Form you set all...
attrib is only to protect the existing xls files (if any), it sets them read-only
ms-dos prompt ain't too powerful ... (linux is)
you can make a delphi program to do this task easily
what u want is a string parser
cut index.html => http://www.papersinvited.com/postings/
for every ../ you cut a level and after that u do a concatenation with the last part of the rel URL.
if u find a / u must cut all levels of the base URL =>http://www.papersinvited.com/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.