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...
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.