Hi

Hi
When i connect to Remote Sever over (Lan at home 2 PCS) to open any form it take exactly 30 Seconds , none of forms have any tables Active on Form Create, why this Delay ? can any one advice me, i am using Delphi XE 8


procedure TFrmStudent.FormCreate(Sender: TObject);
begin
Clearfields;
ActionType := '';
BtnCAM.Enabled:= False;
Panel1.Visible := False;
end;

Those are the Only Codes in Create Form Event.

Comments

  1. Set a breakpoint at Clearfields. If the 30 seconds are after that line you can step through and see the cause. If they are before that line you are looking in the wrong place.

    ReplyDelete
  2. Jude De Silva​ - This is the second post on the same topic. Please keep discussion to a single post. I repeat my questions from your previous post: What kind of database? Socket transport to server or direct file access?

    ReplyDelete
  3. Also, when you enter the 30 sec wait, you can pause the app in the debugger and look at the callstack(s).

    ReplyDelete

Post a Comment