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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,261
» Latest member: nlscientificglobal
» Forum threads: 2,426
» Forum posts: 11,370

Full Statistics

Online Users
There are currently 1121 online users.
» 2 Member(s) | 1116 Guest(s)
Applebot, Bing, Google, linkrr88com01, nlscientificglobal

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-09-2026, 03:02 AM
» Replies: 0
» Views: 89
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 91
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 102
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 375
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 191
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 549
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 179
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,117
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 319
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 904

 
  IntraWeb 15.0.12 is available!
Posted by: Alexandre Machado - 09-18-2018, 09:22 AM - Forum: IntraWeb General Discussion - Replies (3)

hi guys,

some of you experienced some nasty "list index out of bounds" error  after installing version 15.0.11. 

Very hard to recreate: It only happens in some compilers (XE2-XE7 were confirmed) and only when building the application against the DCU files, not when using the source code...
The failure occurs when the keyword "inline" is used in some specific methods of one of our core classes. Maybe the wrong code is generated when some methods are inlined but, at this stage, this is just a speculation.  We still need to investigate it a little further.

However, we have a definitive fix in place and version 15.0.12 is now available. If you experienced that error after updating to v 15.0.11, please update.

https://www.atozed.com/2018/09/15-0-12/

Enjoy!

Print this item

  Change active form
Posted by: morhous - 09-18-2018, 06:11 AM - Forum: IntraWeb General Discussion - Replies (1)

how to change active page(form) 
i immediately release active form before jump to next form

The problem is if more than 1 user try to change form. it saying form already exist

below code will show you
TdashboardForm has labels. Each of them has different form to jump in

if not (WebApplication.ActiveForm is TdashboardForm) then
  TIWAppForm(WebApplication.ActiveForm).Release;
TuserAddForm.Create(WebApplication).Show();

Print this item

  Http.sys and TIWCGJQPDFViewer error: Atozed or CGDevTools?
Posted by: aimpera - 09-13-2018, 11:36 AM - Forum: IntraWeb General Discussion - No Replies

Hi,

TIWCGJQPDFViewer error message is: PDF.js v1.10.88 (build: c62a1938) Messagge: file origin does not match viewer's

when I use Indy it's ok, no errors.

When I use new http.sys the TIWCGJQPDFViewer does't find pdf file (see below why)


Test scenario:
Public port 3434 redirected on private port 3535 (intraweb app use 3535 port), on my public IP XXX.XXX.X

From a remote site open a browser session http://XXX.XXX.X:3434

UserSession

Code:
function TIWUserSession.PreparePDF: string;

var ms : TMemoryStream;
begin
  Result := TIWAppCache.NewTempFileName;
  ms := TMemoryStream.Create;
  try
    ms.LoadFromFile('wwwroot/pdf/somePDFfile.pdf');
    ms.SaveToFile( Result );
  finally
    ms.Free;
  end;
  Result := TIWAppCache.AddFileToCache(WebApplication, Result, TIWMimeTypes.GetAsString(mtPDF), IW.CacheStream.ctOneTime);
end;


MainForm
Code:
procedure TIWForm1.IWCGJQButton1JQButtonOptionsClick(Sender: TObject; AParams: TStringList);
var pdfFName : string;
begin
 pdfFName := ServerController.UserSession.PreparePDF;
 with TiwFormPDFViewer.Create(WebApplication, pdfFName) do 
   Show;
end;

PDFViewerForm
Code:
constructor TiwFormPDFViewer.Create(AOwner: TComponent; pdfFile : string; showPreview: boolean);
begin
  inherited Create(AOwner);
  IWCGJQPDFViewer1.JQPDFViewerOptions.PDFFileName := pdfFile;
end;


From the browser console (remember XXX.XXX.XXX.X is my public IP) 

with Indy, 

<iframe style="width:100%;height:100%;border:0;" src="/pdf/jq/pdf.js/web/viewer.pdfv?file=http%3A%2F%2FXXX.XXX.XXX.X%3A3434%2Fpdf%2F%24%2Ftemp%2FATZKckrBtj3fu~hbGXiCzjY-W"></iframe>

decoded URL: /pdf/jq/pdf.js/web/viewer.pdfv?file=http://XXX.XXX.XXX.X:3434/pdf/$/temp/ATZKckrBtj3fu~hbGXiCzjY-W


with Http.sys:
<iframe style="width:100%;height:100%;border:0;" src="/pdf/jq/pdf.js/web/viewer.pdfv?file=http%3A%2F%2FXXX.XXX.XXX.X%3A3535%2Fpdf%2F%24%2Ftemp%2FATZepIzsB8XUeYSw2FW6aToMG"></iframe>

decode URL: /pdf/jq/pdf.js/web/viewer.pdfv?file=http://XXX.XXX.XXX.X:3535/pdf/$/temp/ATZlW4ZM9l-U0sTMNVGxvk5Xa

3535 is the local port and obviusly the PDF viewer can't get pdf file (from a remote site must be used 3434 open port)

With Http.sys the url for the cache file is with same port of intraweb application (3535)
while with Indy the cache file is correctly build with requested port 3434

If I simply open my public port 3535 (without a redirect 3434->3535) all works as espected.


Sorry for long post but it's very complicated to explain

Alfredo.

Intraweb 15.0.10, CGDevTools 4.1.0.102

Print this item

  New IWTreeView demo
Posted by: Alexandre Machado - 09-12-2018, 09:36 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi guys,

thanks to Pete d'Oronzio we have a very nice demo of new IWTreeView features, including full Async support.

https://github.com/Atozed/IntraWeb/edit/...eeViewDemo

* this demo requires IW 15.0.11+

Please be aware that this demo uses the standard built in images but they can be easily configured. Everything in this tree view can be customized, including:
- sub-captions of nodes, images of nodes and also plus/minus sign, font and background of nodes and children, transition effect, custom css classes (and styles) for each style used.

Print this item

  Placeholder does not work IW15
Posted by: wadcompany - 09-12-2018, 01:24 PM - Forum: IntraWeb General Discussion - No Replies

Hello friends, I'm having a problem with IWDBEdit in the adminlte template with IW15. The placeholder is not working. I have already used the ExtraTagParams property in OnHTMLTag and have already tried it directly in the template. But in both cases it does not work, simply when rendering the placeholder is not rendered on the page.

Just to appear on IW14 did not have this problem. If anyone can give me a hand I appreciate it. Thank you.

Best regards

Wagner.

Print this item

  IntraWeb 15.0.11 is out!
Posted by: Alexandre Machado - 09-12-2018, 09:51 AM - Forum: IntraWeb General Discussion - Replies (21)

Hi guys!

New IW version with several new features and enhancements!

https://www.atozed.com/2018/09/15-0-11/ 

Enjoy :-)

Print this item

  Adding SSL/TLS to SMTP Email Sending
Posted by: paulcoshott - 09-12-2018, 08:21 AM - Forum: Indy - Replies (3)

Hi All,

I have been sending emails using SMTP and Indy for a while now, but only using port 25, as I have not added support for SSL/TLS. I think I have to add a TIdSSLIOHandlerSocketOpenSSL component, but I'm not sure of the properties I need to set to get this to work with

  1. Implicit SSL on port 465
  2. Explicit SSL (TLS) on port 587

Could someone tell what I need to do to get this to work? Thanks for any help.

Cheers
Paul

Print this item

  can rawbytestring cleared from memory ?
Posted by: Madammar - 09-11-2018, 04:25 PM - Forum: Delphi General Discussion - Replies (4)

how possibly i can zeromemory rawbytestring ?

Print this item

  Can you avoid phone number links in Edge?
Posted by: magosk - 09-11-2018, 01:59 PM - Forum: IntraWeb General Discussion - Replies (2)

We have a web application where we display phone numbers for informational purposes. MS Edge can transform text containing a phone number into a link. When this occurs in a grid where we have "row click", the web page hangs if you click the phone number link, and you have to refresh the page to get it working again. Is there any way to avoid this?

Best regards

Magnus Oskarsson

Print this item

  Compose mail message
Posted by: geremiah - 09-10-2018, 06:39 PM - Forum: IntraWeb General Discussion - Replies (5)

I would like to send an e-mail message from my intraweb application, composing it.
I'm using the mailto command with all the data needed for the message, and, for open it i use the webapplication.newwindow(), but, together with the message from the default mail client is opened another empty window too.
Is there a way for open only the mail client window with the mail message ?
Thank you.

Print this item