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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,840
» Latest member: jaredowens763
» Forum threads: 2,166
» Forum posts: 10,523

Full Statistics

Online Users
There are currently 227 online users.
» 1 Member(s) | 223 Guest(s)
Bing, Facebook, Google, thekamya

Latest Threads
[dcc32 Error] smmFunction...
Forum: IntraWeb General Discussion
Last Post: Mikael Nilsson
05-16-2024, 06:08 PM
» Replies: 0
» Views: 90
IW 15.5.10 Sendfile
Forum: IntraWeb General Discussion
Last Post: Mikael Nilsson
05-16-2024, 09:54 AM
» Replies: 7
» Views: 515
software protection
Forum: Delphi General Discussion
Last Post: Davidmenk3
05-15-2024, 01:26 PM
» Replies: 7
» Views: 22,514
Using Template Variables
Forum: IntraWeb General Discussion
Last Post: jeroen.rottink
05-14-2024, 02:42 PM
» Replies: 0
» Views: 130
IW 15.5.9 IWChart
Forum: IntraWeb General Discussion
Last Post: actioneer
05-09-2024, 02:41 PM
» Replies: 5
» Views: 803
Change page TabControl or...
Forum: IntraWeb General Discussion
Last Post: Comograma
05-09-2024, 01:47 PM
» Replies: 0
» Views: 152
hhtpsys application with ...
Forum: IntraWeb General Discussion
Last Post: Comograma
05-09-2024, 09:55 AM
» Replies: 0
» Views: 170
How can I get started? Do...
Forum: CrossTalk General Discussion
Last Post: Natalieird
05-08-2024, 09:34 AM
» Replies: 0
» Views: 127
Priority support
Forum: IntraWeb General Discussion
Last Post: Comograma
05-07-2024, 03:47 PM
» Replies: 0
» Views: 213
Dummy div in a IWRegion
Forum: IntraWeb General Discussion
Last Post: StephB
05-07-2024, 09:02 AM
» Replies: 7
» Views: 842

 
  IWCGIRunner Work Directory
Posted by: cprmlao@hotmail.com - 10-07-2019, 10:38 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi,
Is possible to set the working directory to createprocesss  child created  when  CGIRunner is executed?
Regards, Luiz

Print this item

  IW15.1.5 TIWCallBacks.Invoke not passing query string parameters
Posted by: jeroen.rottink - 10-07-2019, 08:10 PM - Forum: IntraWeb General Discussion - Replies (5)

I come from IW15.0.23 where I had a working IW app using IWBS and templates to show a bootstrapTable with server-side search.
For this to work the client sends back the search string as a query string parameter. In IW15.1.5 this is not working anymore.
Debugging this I see the callback is called by TIWCallBacks.Invoke() and this method should provide the params by copying it from LForm.Params. But this property is empty.

aRequest.Params is filled with the correct params...

Print this item

  TIWFileUploader not working when named IWFileUploader
Posted by: jeroen.rottink - 10-07-2019, 09:12 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi,

In a project compiled with IW15.0.18 I used a TIWFileUploader component named IWFileUploader. This was working fine.
I now recompiled that project with IW15.0.23 and see the event OnAsyncUploadCompleted is not called.

When I rename the component to IWFileUploader1 or Uploader it works fine again.

Did something change in parsing the query string parameters between .18 and .23?

You can check by compiling demos\IWFileUploaderDB and renaming the component.

Print this item

  OpenSSL 1.1.1 support planned?
Posted by: t.muramoto - 10-07-2019, 07:38 AM - Forum: Indy General Discussion - Replies (4)

Hi,

Support for OpenSSL "1.0.2" will end on December 31, 2019.
https://www.openssl.org/policies/releasestrat.html

When will Indy support "1.1.1"?


Thanks.

Print this item

  How fix a raw text image gif to send to front end
Posted by: cprmlao@hotmail.com - 10-06-2019, 11:29 PM - Forum: IntraWeb General Discussion - Replies (1)

I have a winCGI executable script returning a image. I am using Intraweb as server.

The cgi is from a third party and I can't change your code.

I create my owner  ContentHandler to run the cgi. 

I am not using CGIRunner because It diidn´t work to me.

My handler is something as:

Code:
function TContentDicom.Execute(aRequest: THttpRequest; aReply: THttpReply;
  const aPathname: string; aSession: TIWApplication;
  aParams: TStrings): boolean;
var
  s,wresult,saida,LocalDoc:string;
  i:integer;
begin
  Result:=True;
  LocalDoc:=TIWAppInfo.GetAppPath + 'wwwroot\cgi-bin\tcgi.exe';
  saida:=StrOemToAnsi(MyRunCGI(LocalDoc,TIWAppInfo.GetAppPath + 'wwwroot\cgi-bin\'));
  with aReply do
    begin
      ResetReplyType;
      Code := 200;
      ContentType := MIME_GIF; // MIME_HTML;
      SendStream(TstringStream.Create(saida));
    end;
end;
I have the next code returning from CGI when I query a image:

   
Code:
'Content-type: image/gif'#$A'Access-Control-Allow-Origin: *'#$A#$A'GIF89a@'#1'@'#1'1222333444555666777888999:::;;;<<<===>>>???@@@AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLLLMMMNNNOOOPPPQQQRRRSSSTTTUUUVVVWWWXXXYYYZZZ[[[\\\]]]^^^___```aaabbbcccdddeeefffggghhhiiijjjkkklllmmmnnnooopppqqqrrrssstttuuuvvvwwwxxxyyyzzz{{{|||}}}~~~'#$7F#$7F#$7F'€€€'#$0081#$0081#$0081'‚‚‚ƒƒƒ„„„………†††‡‡‡ˆˆˆ‰‰‰ŠŠŠ‹‹‹ŒŒŒ'#$008D#$008D#$008D'ŽŽŽ'#$008F#$008F#$008F#$0090#$0090#$0090'‘‘‘’’’“““”””•••–––———˜˜˜™™™ššš›››œœœ'#$009D#$009D#$009D'žžžŸŸŸ   ¡¡¡¢¢¢£££¤¤¤¥¥.................


I need to send the image to a front end app in the browser.

   
Code:
<div>
    <img src="getImage(1)">
</div>

Here, getImage function takes the image from server, but not is showing, because I think the format I am returning the image from server to front end has something wrong.
How could I fix the content text of the image on server to be a valid image in the front end?

Print this item

  Mouse events on form level ?
Posted by: SorenJensen - 10-06-2019, 11:40 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi All,

Sorry if this have been asked before. I have tried to search previous posts, but have not found any, and apparently after a number of searches, one is only allowed to make one search every 30 seconds....

Anyway, I have a region, with a listbox covering it, on my form and with visible property set false. When certain conditions are met, the visible property is set true and the region becomes visible.

What I'm looking for is a way to set visible = false again, without having to click the region / listbox. Obviously it works fine with a onclick event for the listbox, but that is only when the mouse pointer is within the boundaries of the listbox. I want the region / listbox to disappear regardless of where the mouse pointer is when I click it. I do not seem to find any mouse events for the form.

Can anybody tell me how to do that, or point me in the right direction ? Anyone have any examples anywhere ?

Regards
Soren

Print this item

  Intraweb 15.1.5 - IWEdit in IWGrid.Cell problem
Posted by: piotr.lewicki@mapi.com.pl - 10-05-2019, 04:55 PM - Forum: IntraWeb General Discussion - Replies (12)

Hi

I have a TIWGrid Control with 6 columns and 10 rows.

For all cells in grid I create a TIWEdit Control. (button Fill)

procedure TIWMainForm.IWButton1Click(Sender: TObject);
var
  i, j: Integer;
begin
  for j := 0 to IWGrid1.RowCount - 1 do
    for i := 0 to IWGrid1.ColumnCount - 1 do
    begin
      with IWGrid1.Cell[j, i] do
      begin
        Alignment := taCenter;
        Width    := IntToStr(Round(IWGrid1.Width / IWGrid1.ColumnCount));

        Control := TMyIWEdit.Create(IWGrid1);
        with TMyIWEdit(Control) do
        begin
          X := i;
          Y := j;
          Text := '';
          Width := StrToInt(IWGrid1.Cell[j, i].Width) - 10;
          OnAsyncKeyDown := OnAsyncKeyDownControl;
          OnAsyncClick  := OnAsyncClickControl;
        end;
      end;
    end;
  SetFocus(0, 0);
end;

   

Any IWEdit control has attached procedure for OnAsyncKeyDown event (code below).

The procedure realize the below behavior:

When enter to first control in any rows, enter any value to IWEdit control in selected cell and push enter key
all other IWEdit controls in current row will have the same value.

And here is a problem.

All IWEdit controls in current row, wchich have changed value, are move to left, upper corner of IWGrid control.

   

In Intraweb ver. 14.2.6  i haven't the problem..
In Intraweb ver. 15.1.6 problem exists.

Where can be a problem?

Test project:

https://github.com/PeterDelphinsky/IWGridTest

procedure TIWMainForm.OnAsyncKeyDownControl(Sender: TObject;
  EventParams: TStringList);
var
  pKey: Integer;
  pText: String;
  i: Integer;
begin

  if not TryStrToInt(EventParams.Values['Which'],pKey) then
    pKey := 0;

  if pKey = 13 then
  begin

    pText := IWGrid1.Cell[Y, X].Control.Text;

    if (X = 0) and (pText <> '') then
    begin

      for i := X + 1 to IWGrid1.ColumnCount - 1 do
        IWGrid1.Cell[Y, i].Control.Text := pText;  //<-- 

      Exit;
    end;
    
//   (...)

  end;
end;

Print this item

  SSL - Where to get instructions
Posted by: Quinn Anderson - 10-04-2019, 11:00 AM - Forum: IntraWeb General Discussion - Replies (1)

Greetings, my IW Compadres



Has anyone done a standalone server with SSL recently?

Hunted high and low and gathered information from various search results.

Tried everything we have read plus everything we could think of.

The problem is not the certificates / pem files.

Wrote a test app in another language to prove that.

Err is - Cannot load root certificates

Is there a definitive instruction document for activating SSL in IW ?






Thanks, q.

Print this item

  Capture stack trace
Posted by: dwill9 - 10-03-2019, 09:33 PM - Forum: CrossTalk General Discussion - Replies (1)

trying to troubleshoot a "null reference" exception being passed from a .net dll.  The developer wants a stack trace.  Is there a way to get this back from crosstalk?  ECTDotNETException.StackTrace is empty.  E.Message and E.ToString are the same... "NullReferenceException: Object reference not set to an instance of an object."  Is there some sort of logging that could be to be turned on?  How could I capture the stack trace coming back from the .net dll?

Print this item

  How to ckeck and setting browser orientation?
Posted by: newsanti - 10-03-2019, 07:19 AM - Forum: IntraWeb General Discussion - Replies (2)

Webapplication.Browser properties provided information :
-IsMobile
-device information Detection: iPhone iPad or android or windows or macOS

How to check browser orientation portrait or landsacpe?
How to setting browser orientation for fix display with mobile or tablet?

Print this item