76

(2 replies, posted in General)

Use this script.

Var
x : string;
Begin
x := application.User.Username;
End.

No procedure or function required...

77

(4 replies, posted in General)

var
timer:TTimer;

procedure Form1_OnShow (Sender: TObject; Action: string);
begin
    timer:=TTimer.Create(Form1);
    timer.Interval:=1000; //1000 for 1 sec
    timer.Enabled:=True;
    timer.OnTimer:=@updateGrid;
end;
procedure updateGrid ;
begin
Form1.TableGrid1.dbUpdate;
end;

78

(16 replies, posted in General)

Hello Dmitry

blackpearl8534 wrote:

I am generating report using script.. how can i get quick print and avoid preview..
I am scripting like this

form1.frxreport.print;

But not works...

79

(16 replies, posted in General)

Help

80

(30 replies, posted in General)

Great updates... thanks...
Please add frxreport.print class for quick print by scripted reported..

81

(6 replies, posted in General)

Open regedit from run
Open current user
Open softwares
Find Myvisualdatabasetrail
And Delete it....  if it not work then add new user account. Log on to new account .

82

(0 replies, posted in General)

hello friends... how to Write Registry in Local_Machine

procedure Nozzles_OnShow (Sender: string; Action: string);
var
    Timer1,Timer2: TTimer;
    reg: TRegistry;
    iDays: integer;
    sKey: string;
begin
     sKey := '';
     Reg := TRegistry.Create;
     reg.RootKey := HKEY_LOCAL_MACHINE ;
     reg.Access := KEY_ALL_ACCESS;
     reg.OpenKey('Intel\Inter®\'+APP_NAME,true);
     if not reg.ValueExists('StartFrom') then reg.WriteDate('StartFrom', (Now+15)); // trial period is 30 days
     iDays := Trunc(reg.ReadDate('StartFrom')) - Trunc(Now); // time left days
     sKey := reg.ReadString('Parameters');
     RegKey.edKey.Text := sKey;
     reg.CloseKey;
     reg.Free;
     if sKey<>'' then
     begin
         if CheckKey(sKey) then Exit;
     end;

     if (iDays < 1) or (iDays > 15) then
     begin
          RegKey.lbTrial.Caption := 'Trial period is over.';
          RegKey.ShowModal;
          Nozzles.Close;
          Exit;
     end;
     isAllowRun := True;
     RegKey.lbTrial.Caption := 'Demo version. Time left: ' + IntToStr(iDays) +' days.';
     RegKey.ShowModal;
end;

83

(3 replies, posted in General)

Thanks . but i am talking about QuickPrint Using Script...

84

(3 replies, posted in General)

Hey friends..  any solution for quickprint by script using frxreport

85

(3 replies, posted in General)

How to Get Quick Print using frxreport Script....
I am Using Multi Datasets...
This Script Doesnot Works'

// Form1.frxReport.ShowReport;     Disabled Show Report
               Form1.frxReport.PrepareReport;
               Form1.frxReport.Print;

86

(16 replies, posted in General)

Thanks but i need this function in script... because i am using multi data sets...

87

(16 replies, posted in General)

Hello... where is Dmitry???

88

(16 replies, posted in General)

Help

89

(16 replies, posted in General)

Can anyone help

90

(16 replies, posted in General)

QuickPrint Type Is Added In Class
How To Use in Script

91

(16 replies, posted in General)

Maybe Dmitry can do this... but i think he is very busy...

92

(16 replies, posted in General)

Thanks George... but i need script because i am retrieving data from another source

93

(16 replies, posted in General)

Also tried this ... not works

94

(16 replies, posted in General)

I am generating report using script.. how can i get quick print and avoid preview..
I am scripting like this

form1.frxreport.print;

But not works...

95

(7 replies, posted in General)

Hi... can you attach an example project ... i want to know how to connect mariaDB.. thanks

96

(6 replies, posted in General)

Sometime it works.. You can Check on Calculator ... But i Want to check that sql server is running or not.. and this code does not works on sql server running state

97

(11 replies, posted in General)

Where is Dmitry... i have not seen him on forum many day

98

(11 replies, posted in General)

You are right... its a service.. but every service run an exe file.. i think

99

(11 replies, posted in General)

Not working on sqlservr.exe

100

(11 replies, posted in General)

How to implement a loop on this script ... i mean system check condition if result is yes then break loop