| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 808 online users. » 9 Member(s) | 794 Guest(s) Applebot, Bing, Facebook, Google, Internet Archive, 58jilicomph, babbnontresbi1974, c168giving2, glen65872m, jilioknetph, jordansmith7470, ok88fit, on68games01, TutorsGlobe
|
| Latest Threads |
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 640
|
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 83
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,394
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
06-04-2026, 09:14 AM
» Replies: 3
» Views: 478
|
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 519
|
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: geraldtatum
06-02-2026, 06:24 AM
» Replies: 1
» Views: 421
|
weakpackageunit contains ...
Forum: IntraWeb General Discussion
Last Post: rlebeau
05-26-2026, 04:56 PM
» Replies: 4
» Views: 547
|
Custom 404 handler
Forum: IntraWeb General Discussion
Last Post: CfawesDwale
05-21-2026, 08:02 AM
» Replies: 0
» Views: 260
|
PopUp Menu
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 04:35 AM
» Replies: 4
» Views: 8,211
|
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 03:32 AM
» Replies: 3
» Views: 4,129
|
|
|
| IWModalWindow doesn't show a 'templated region' centered |
|
Posted by: jeroen.rottink - 09-27-2018, 11:11 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hi,
In IW14 I started using TIWModalWindow to show a region that has it's own templateprocessor to add some layout. The content of the modalwindow was not centered on the screen. Only after a resize action of the browser the modalwindow got centered. IW15 didn't bring changes to this.
By using the ServerController.JavascriptOptions I could get my hands on the IWModalWindow javascript object and made a change so the content is centered.
Alexandre: Can I send you an e-mail with example project so you can check?
Using IW15.0.13 with Delphi 10.1 Berlin.
|
|
|
| Email Calendar Appointments |
|
Posted by: leeparvin - 09-27-2018, 09:23 AM - Forum: Indy
- Replies (3)
|
 |
Hi there
Im trying to email a calendar appointment to outlook, that shows the email as an appointment (with Accept,Decline at the top of the email etc) with an .ics icalendar file attached. Basically, its the sames as sending an appointment from Googles gmail to MS Outlook.
I can send the email appointment OK with ....
MailMessage.From.Address := 'mail@server.com';
MailMessage.Recipients.EMailAddresses := 'lparvin@bjphomesupport.co.uk';
MailMessage.Subject := 'Send calendar';
MailMessage.ContentType := 'text/calendar;method=REQUEST';
I can also send an .ics attatchment with plain text email with ....
Attachment:=TIdAttachmentFile.Create(MailMessage.MessageParts, CalendarFile) ;
Attachment.ContentType:='text/calendar';
However, I can NOT combine the two, ie send the email appointment with the .ics file attached.
As soon I set MailMessage.ContentType to anything other than 'text/calendar;method=REQUEST'; eg change it to 'multipart/alternative', it fails.
Do you have any suggestions on how to send the email with MessageParts, but with the main MailMessage.ConentType = 'text/calendar'.
Many thanks
Lee Parvin
|
|
|
| Strange behavior (IIS 8.5 and isapi) |
|
Posted by: DelphiStudent - 09-26-2018, 08:56 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Hello.
My project is deployed over IIS 8.5 (windows 2012 R2 server) as isapi, and it's configurated by the follows of this paper
http://docs.atozed.com/docs.dll/deployment/isapi/Deploying%20ISAPI%20using%20IIS.html
info about the project, IW 14.1 and CGdevtools, Servercontroller timeout to 20 mins.
everything works fine, it's a simple project where clients makes login and displays some simple data. When the user makes clic over a menu the IWproject answers quickly.
But, am noticed that if the user is working on a sesion (navigating through the menus ), and leaves the application still for more than 1 minute (minimum) in absolutly inactivity,
the first clic wherever is it (even if the clic is just to show some frame and not accesing any data), takes around 1 minute to be procesed, experiencing a LAG.
I don't know why it is happening, because if the user work on the IWproject making constant clics and accesing the data, all seems to be fine.
the problem is if you make a pause for more than 1 minute.
I don't know the cause, but it seems like the IIS lost the reference of the session, and after 1 minute , at a new request, it has to build again (am not sure about this).
somebody has the same behavior?
is left some setup on IIS??
maybe something about garbage, or cache files, something?
I want to say that IW its a great product, but this bug make unhhappy the customers who thinks that thw webbrowser is freezing.
NOTES:
1. I saw a report with this same case, but noones answered to him, at https://www.atozed.com/forums/showthread.php?tid=641
2. Your first clue will be the database connection, but, I'd made a sample project with just navigate throug menus, showning controls, and the LAG is present too.
3. this demo, from CGDevTools, has the same behavior, after 1 minute of inactivity, a new request takes a long time (like a new connection)
https://www.cgdevtools.com/demo/JQueryDemoV3_IW14_ISAPI.dll
test it by yourself.
Can you help us?
anyone in the Atozed community have the same problem?
|
|
|
| IsPostBack Error |
|
Posted by: LorenSzendre - 09-26-2018, 04:30 PM - Forum: IntraWeb General Discussion
- Replies (7)
|
 |
I just solved what I hope is the last issue in the conversion of my massive IW 14 app to IW 15.
I had one screen where I allow the user to set a wide array of filters, then I build the WHERE clause and open the query (FireDAC) in a regular Click event on a TIWButton.
It worked great in IW 14. But in IW 15 I would set the parameters, click Search -- and nothing would show up. I quickly learned that if I clicked the button twice, data would show up.
Very odd.
Just today I tracked it down to the code in OnRender that checks for (not IsPostBack) before initializing the adapter for my ORM. Somehow after a click IsPostBack is NOT True on the first PostBack. This led to my adapter being created again, overwriting the first one and closing my query.
I changed my code to use IsFirstRequest, and it works fine now.
But I think y'all oughtta take a look at IsPostBack in IW 15 in Delphi 10 Seattle -- something's wrong.
|
|
|
| IWBootstrap as part of IW15 |
|
Posted by: jeroen.rottink - 09-25-2018, 07:52 PM - Forum: IntraWeb General Discussion
- Replies (9)
|
 |
I just upgraded from IW14 to IW15 (paid). Because I used IWBootstrap in IW14 I now went for the included IWBootstrap version.
First stop is to see if everything is still working. I used the (old) IWBSDemo for this.
This demo isn't working anymore.
- Some compile errors
EscapeJsonString changed into TextToJsonStringProperty (fixed)
IWBSCustomEvents.TIWBSCustomRestEvent.RestEventPath Don't know how to solve this so kept it disabled
- AV after running the application and starting the first session
Seems to do with initializing TIWCompressor (fixed)
- Starting Fishfact demo gives an error
- File download by ajax is not working anymore
- Closing the modal dialog (TFrame) from Dialogs/Alerts gives a javascript error 'Cannot read property 'IWRelease' of undefined'. Can be that this was always the case. Not sure.
To get people using these 'new' pieces of IW a good demo would be an invaluable starting point.
Maybe a modified and working version of this demo can be published on GitHub.
Using IW15.0.13 ultimate
|
|
|
| TIWModalwindow force visualization |
|
Posted by: geremiah - 09-25-2018, 03:45 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
I'm using an IWModalwindow attached to an IWregion with an IWMemo control where are showed status messages while sending an email message with indy components.
The problem is that the IWModalwindow is showed at the end of all operations but i would like to show the messages step by step.
Is there a way to force the IWModalwindow immediate visualization ?
Thank you.
|
|
|
| software protection |
|
Posted by: Madammar - 09-25-2018, 07:38 AM - Forum: Delphi General Discussion
- Replies (7)
|
 |
i am using some cryptography inside my software , i understand that the keys needs to be zero out from the memory in order to prevent hackers to catch the key
but i feel this isn't enough , using ollydebug can also break the rule before memory getting cleared by stepping into the code
before the zeromemory called
is there any suggested way to harden some code function from being stepped by debuggers
i have tried to check if the application is running in debug environment using IsDebuggerPresent but this easly can be bybassed by ollydebug plugins
is there something extra can be done ?
|
|
|
| Issue with StringArray property |
|
Posted by: Jofreeze - 09-24-2018, 08:29 AM - Forum: CrossTalk General Discussion
- Replies (20)
|
 |
Hello,
I have an issue reading a property declared as array of strings.
My unit (generated by CrossTalk ClassGen) contains a property AllIDs: StringArray read AllIDsRead:
Code: function SelectionChangedEventArgs.AllIDsRead: StringArray;
begin
with TRight.GetPropValue(Self, '', 'AllIDs') do try
Result := NET.mscorlib.StringArray(Results.ReadObject);
finally Free; end;
end;
When this function is called, I get an exception from:
\CrossTalk\Source\Atozed.CrossTalk.Streams.pas
function TCTStreamReader.ReadObject(aClass: TClass = nil): TObject;
-> raise ECTException.Create('Unknown type found during unboxing.');
because xType = dtObjectList {205}
I also have a function returning an StringArray (not a property), and this one works without error:
Code: function FAL_GAN_LINK.GetAllDataRecordsIds: StringArray;
begin
with TRight.MethodCall(Self, '', 'GetAllDataRecordsIds', 0) do try
Result := NET.mscorlib.StringArray(Results.ReadObject);
finally Free; end;
end;
with xType = dtNewObject {206} in ReadObject.
Is it a bug with StringArray properties?
|
|
|
|