Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 99,256
» Latest member: xoso66to
» Forum threads: 2,426
» Forum posts: 11,373

Full Statistics

Online Users
There are currently 769 online users.
» 2 Member(s) | 764 Guest(s)
Applebot, Bing, Google, greekteniescom0, xoso66to

Latest Threads
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 05:33 PM
» Replies: 1
» Views: 299
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 05:31 PM
» Replies: 2
» Views: 355
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 272
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 618
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 346
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 792
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 313
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,461
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 462
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,168

 
  IWButton
Posted by: Borbainfo - 12-27-2019, 08:21 PM - Forum: IntraWeb Dúvidas Gerais - Replies (2)

Boa tarde.

Minha duvida é sobre clicar no IWButton via codigo no Delphi, no VCL tem Button1.Click.
Qual o comando no Delphi para Clicar no IWButton ?
 

Delphi 10.2 Update 3
IntraWeb 15.1.5
Bootstrap 4

Print this item

  Webservice demo ?
Posted by: SorenJensen - 12-27-2019, 01:49 PM - Forum: IntraWeb General Discussion - Replies (6)

Hi Guys,

Merry Christmas everyone. I hope you have had some nice holidays.

I just completed a SOAP Webservice example with Server and Client, and are now wondering if there are any similar demo projects around, to use with IntraWeb.

I have a Windows program running on remote units around the world, which connects to my database (MS SQL) using a SOAP Webservice. The WebService is an MS SQL End-point, consisting of a number of stored procedures all added to an endpoint and published as a HTTP.SYS Webservice on the SQL 2008 server. The system is about 10 years old.

After updating to SQL 2017, endpoints is discontinued, so to make it work again, I'll have to create my own SOAP Webservice to repond to requests from the remote clients. I want the WebService server to reside as a stand alone application, like my IntraWeb SA application, on the MS SQL server, without depending on IIS or other page provider.

That's why I am looking for a demo showing how I can be done. Anybody know where I should look ?

NB! The above mentioned test also runs on my SQL server as an EXE file and it responds nicely to requests from the client on my workstation, so I could probably use it, but currently the appl is running as a visual windows program. A solution could be to make it run like a service.

Regards
Soren

Print this item

  onAsyncClick sometimes does not work
Posted by: MrSpock - 12-26-2019, 06:58 PM - Forum: IntraWeb General Discussion - Replies (5)

Some languages allow unicode characters for variable names. PHP does that and so does Delphi. Unfortunately AJAX does not recognise unicode characters in variable names so it is necessary to change all intraweb component names so that they contain only ASCI characters. Problem shows only with onAsyncClick, not with onClick.

Print this item

  SessionTimeOut use
Posted by: tinygoldwing - 12-26-2019, 05:36 PM - Forum: IntraWeb General Discussion - No Replies

I currently set the SessionTimeOut from a config file in IWServerControllerBaseCreate.  But I'd like to take it further by setting it looking at the parameters that are passed.  I don't think WebApplication exist yet when BaseCreate is called so I can't use webapplication.RunParams.Text

Anyone know how I can do this?

Thanks,

Ed


Never mind. I didn't know you could update it with Webapplication.SessionTimeout.

Print this item

  Unit name for Exceptions
Posted by: tinygoldwing - 12-26-2019, 05:10 PM - Forum: IntraWeb General Discussion - Replies (1)

I want to ignore the exception EInvalidAppID

So I added the following code to the ServerController under IWServerControllerBaseConfig

ExceptionLogger.RegisterIgnoreException(EInvalidAppID);

My problem is I don't know what unit has the exceptions class is.  I get Undeclared identifier:  EInvaildAppID

Thanks and have a great day.

Ed

Print this item

  NNTP connect to server
Posted by: AndrzejB - 12-25-2019, 02:36 PM - Forum: Indy - Replies (7)

I am beginner using Indy. I want conect to sever NNTP and read and send posts.
I see examples in https://delphi.fandom.com/wiki/TIdNNTP but I need other examples, how to connect to server and how make secure connection (SSL or other?) ?

Print this item

  hello my post is lost?
Posted by: zarghami.az - 12-24-2019, 08:10 AM - Forum: IntraWeb General Discussion - Replies (1)

hello my post is lost?

Print this item

  published my iwtest application to my web host
Posted by: zarghami.az - 12-24-2019, 05:59 AM - Forum: IntraWeb General Discussion - Replies (1)

hello 

i write a program test with delphi 10.2 tokyo and use intraweb

it is very simple case study examples 

it work on localhost:8888 very nice 
but i copy  it's files to my web host at internet

it's link address is  http://m.nici.ir/iwtest.html  i see it but when i click iwButton1  . it nothing do

it must copy iwedit  text to iwmemo  but at internet no work.

i copy this files to my internet host  /m.nici.ir/wwwroot  folder

1-   iwtest.html
2-   iwtest_files  folder and it's files

what wrong my work?

please help me

thank you before
Ardeshir



Attached Files Thumbnail(s)
   
Print this item

Bug No OnAsyncClick Called under special Conditions (IWGrid 15.1.8)
Posted by: Victoria - 12-20-2019, 05:02 PM - Forum: IntraWeb General Discussion - Replies (7)

Hello, i got a problem here and hope for help.
Problem is:  No OnAsyncClick Called under special conditions (my Version: IWGrid 15.1.8)

I uses IWGrids with TIWImageFile as Cell.Controls.
The user should simple Click his "Row" and i take some action.

This normaly works good. But not in this case : The strange thing is, the numbers of rows are not interesting
it is always the row number 1 that did not work propberly! See: Download here please

The Browsers detetct no post submit or something. Nothings happens at row one?!
The other grids work fine , but the this grid is in a IWModalWindow and maybe this is the problem? I am not sure.

Please can you check this? I read some other threads with async-call problemes here too.

with firendly regards
Victoria
[url=http://www.vfsoft.de/aw/DownloadIntraWeb.html][/url]

Print this item

  Unitialized Reply
Posted by: Raphael - 12-17-2019, 02:27 PM - Forum: IntraWeb Dúvidas Gerais - Replies (8)

Bom dia,
Estou utilizando de ContentHandlers para realizar requisições de dados simples, como por exemplo obter um data source json para preenchimento de um Chart ou até mesmo a criação de um datatable de forma dinâmica.
Exemplificando melhor a questão:

Code:
                  solicitação
Pagina de Dados ----------------> ContentHandler

                  resposta
Pagina de Dados <---------------- ContentHandler


No entanto estou recebendo a seguinte mensagem "Uninitialized Reply".

Segue abaixo meu fonte:
  • Server Controller
Code:
procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
  // This framework requires to disable IW embeded JQuery
  JavaScriptOptions.RenderjQuery := False;

  with THandlers.Add('/', 'getGraphicData', TContentChart.Create) do
  begin
    CanStartSession := false;
    RequiresSessionStart := true;
  end;

end;



  • ContentHandler

Code:
  if Assigned(aReply) then
    begin

      //Verify action
      if aParams.Values['action'] = 'GV' then
      begin

        try
          FDataSet := TFDQuery.Create(nil);
          FDataSet.SQL.Clear;
          ...
          ...
          FDataSet.Open();

          JSON := '[' + sLineBreak;
          FDataSet.First;
          while not FDataSet.Eof do
          begin
           ...
           ...
            FDataSet.Next;
          end;
          JSON := ']' + sLineBreak;
          aReply.WriteString(JSON);

        finally
          FreeAndNil(FDataSet);
        end;

      end;
    end;
  end;
 

Está faltando ou preciso implementar algo?
Desde já agradeço a atenção.

Print this item