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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,533
» Latest member: Bet1688info
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1069 online users.
» 1 Member(s) | 1064 Guest(s)
Applebot, Bing, Facebook, Google, Bet1688info

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 125
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 120
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 132
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 417
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 213
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 585
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 203
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,160
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 333
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 943

 
  IWJclDebug and an empty stack trace
Posted by: jeroen.rottink - 05-25-2018, 01:26 PM - Forum: IntraWeb General Discussion - Replies (1)

I had an issue where using the integrated IW ExceptionLogger would not print the stack trace. 
To include the debug information I use a Jcl tool called MakeJclDbg.exe (in jcl\examples\windows\debug\tools). 
This tool takes a *.map converts it to *.jdbg format with the option to include this info in the executable. 
Big plus is that the resulting *.exe is a lot smaller than including the debug information from the Delphi compiler (TD32).
When I choose to include this info in the *.exe as a resource, the stack trace is empty.

Origin of this issue is a small error in IWJclDebug.

Code:
const
 JclDbgDataSignature = $4742444A; // JDBG
 JclDbgDataResName   = AnsiString('IWJclDebug'); // do not localize

But this should be kept 'JCLDEBUG' like in the original code. The resname is used to locate the resource holding the debug data.


Using IW14.1.3 with Delphi 10.1 Berlin so maybe its already fixed in the meantime.

Kind regards,
Jeroen Röttink

Print this item

  Any Chance to Use Bitmaps
Posted by: kernel32 - 05-24-2018, 06:34 AM - Forum: COSMOS - Replies (1)

Hello everyone,
Just for hobby I'm working on Cosmos. I couldn't find any tutorial like any kind of document for printing bitmap images on cosmos screen. 
Is there no way to print bitmap *.bmp files or If there is a way to do it please give me some document. 
Thank you,

Print this item

  Print ...
Posted by: Mikey29 - 05-23-2018, 10:00 AM - Forum: IntraWeb General Discussion - Replies (2)

Hello,

Where to found a sample showing me how to place a print button on a form ? Please.

I also want to print only a Iwregion… 

Big thank you for any help.

With best regards,
Mikey

Print this item

Question Versioning query
Posted by: Moorzee - 05-21-2018, 02:50 PM - Forum: Delphi General Discussion - Replies (3)

Hiya

I'm currently working for an org that has legacy systems using Delphi 5, can anyone advise on whether CrossTalk will allow me to write functionality in Latest C# (version 7 at present) and consume in this legacy Delphi 5 app, using Borland Deplhi IDE?

*edit* if the answer is a resounding "No" does anyone know what version of C#/.NET code I "could" consume in a Delphi 5 app using CrossTalk?

Cheers

Moorzee

Print this item

  Intraweb 14 ComboBox Problem
Posted by: fouriee8 - 05-21-2018, 01:07 PM - Forum: IntraWeb General Discussion - No Replies

I recently updated a system to Delph 10.2 using Intraweb 14.
I have a problem with a ComboBox.
Same of the data that is listed in the ComboBox start with a plus sign '+'
Problem ... the values are listed without the '+' sign and I am not able to select any of the listed item.

Print this item

  IW Application Inside DIV
Posted by: asp - 05-21-2018, 07:34 AM - Forum: IntraWeb General Discussion - Replies (6)

Hi!
Is it possible to incorporate the IW Application inside the DIV tag of an external template? I know it could be achieved by using special IW tags {%%}. But I want that IW application would respect the size of the parent DIV and stretch inside it.

Print this item

  How to using URL parameters within the same session
Posted by: davenovo - 05-18-2018, 05:19 PM - Forum: IntraWeb General Discussion - Replies (5)

Hello,
right now we know how to handle URL parameters when starting a new session. What we do is call a StartupSession method like shown below


Code:
procedure TWebRegistrationServerController.IWServerControllerBaseNewSession(
 ASession: TIWApplication);
begin
 ASession.Data := TWebRegistrationSession.Create(nil, ASession);
 WebRegistrationSession.SetupSession;
end;



Then in the .StartupSession method we look at the parameters and do something like

Code:
WebRegistrationSession.StartupSession

aValue := WebApplication.Request.QueryFields.Values[aFieldName];
if aValue = option1 then
    FStartupForm:=Option1form.Create...
else if aValue = option 2
 FStartupForm:=Option2form.Create...

 
Then, in the ServerController I set the FStartupForm to the main form


Code:
procedure TWebRegistrationServerController.IWServerControllerBaseGetMainForm(
   var vMainForm: TIWBaseForm);
begin
 vMainForm := WebRegistrationSession.StartForm;
end;

In that way, the URL controls which form the session starts with.

But what if the session is runnig, and the user pastes a URL in the browser and I want to show a form within that session based on the URL?

For example, I am making a simple CMS system based on TinyMCE, as wrapped by the CGDevTools components. If I want the user to be able to link to pages within the CMS I need to have a link that refers to a custom page within the CMS in the same session. So the link will be something like www.whatever.com/$/customPage="my page name"

So I need to be able to detect those links within a current session and then update the page that is being viewed to the page in the parameters. How can I do that?

Print this item

Wink IWDBGridCellClick ? DBGRID Cell Click
Posted by: morhous - 05-18-2018, 03:29 AM - Forum: IntraWeb General Discussion - Replies (1)

Hello guys maybe i am spamming too many questions sorry for that, but somehow it keeps forum alive i guess   Smile
so here goes my regular simulating questions :
1. I notice IWGrid has CellClick that can pick cell value. But how i Cell Click in IWDBGrid? anyone have a piece of code for it?


OH i am so dumb i found columns > cell > events >onclick (of Cell) sorry but keeping alive is good thing aey Cheers

Also how to get entire row values so far i can get my cell value by using this

procedure TregListUserForm.getCellValue(ASender: TObject; const AValue: string);
begin
WebApplication.ShowNotification(AValue);
end;

Print this item

  SSL and intermediate certificates
Posted by: wesvanjr - 05-17-2018, 07:49 PM - Forum: Indy - No Replies

I am using IntraWeb v.14.2.7 and am trying to make things work with an SSL certificate.  I purchased a valid certificate with DigiCert and have installed it successfully. When I launch the web site from FireFox or IE it complains that my certificate is not valid.  Upon further research I determined that the SSL chain is breaking when trying to locate the intermediate SSL certificate. There must be something in Indy that addresses this issue.  DigiCert support explained that they could not help me because it is the web server that should respond to the intermediate certificate request.  They did verify that the proper certificate and intermediate certificate were installed on the windows server correctly.  Can you please give me some information on how to go about correcting this issue?

Print this item

  How do you guys code your database connection
Posted by: morhous - 05-16-2018, 10:21 AM - Forum: IntraWeb General Discussion - Replies (5)

What i trying to do is make connection in servercontroller for connect only when server starts. So far i did it in my forms, actually it was bad every time page render it connects over and over. So i am asking how you guys make connection only 1 time when server starts

Print this item