| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 467 online users. » 8 Member(s) | 456 Guest(s) Applebot, Bing, Google, acefishing, betjilibetph, f8beta8comm, fun88pok, okwintvusorgg, techgenifyapp, torrwasnoli1970, vistaarnews
|
| Latest Threads |
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
Yesterday, 02:41 PM
» Replies: 5
» Views: 91
|
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 55
|
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 26
|
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:19 AM
» Replies: 4
» Views: 4,249
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:04 AM
» Replies: 4
» Views: 612
|
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 79
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 775
|
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 140
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,874
|
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 575
|
|
|
| IW15-Incorrect filelist in IWFileUploader |
|
Posted by: v.lasquibar@telefonica.net - 07-21-2019, 04:08 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Hi,
I'm using Delphi 10.2 update 3, and recently installed version 15.1.0 of IW. I also use last version of TMS Intraweb controls.
In an application I have a IWFileUploader control, with default values in properties (unless the name, of course).
When I run my application, I drag an drop several files (they appears as "uploaded"), and after the user performs some operations, I will try to copy to another location, using this code:
if CargarFicheros.FileList.Count > 0 then
begin
for I := 1 to CargarFicheros.FileList.Count do
begin
FormaNombreFicheroDestino(I, FicheroDestino);
CargarFicheros.SaveToFile(CargarFicheros.FileList[I - 1].FileName, FicheroDestino, True);
end;
end;
FormaNombreFicheroDestino is:
FicheroDestino := RutaFicheros_Presupuestos + 'P' +
Serie_Presupuestos + '_' +
CabPresupuestoCliente.cpr_nro.ToString + '#' +
I.ToString + '_' +
CargarFicheros.FileList[I - 1].FileName;
I have 2 problems:
a) FileList has only one element, regardless the number of files I've uploaded
b) When I refer to FileList [0].FileName, I get an Access Violation (whilst the element 0 of the list is not nil)
Could you please help me with this error?
Best regards,
Venancio Lasquibar
Could you
|
|
|
| Strange behavior with SA HTTPSYS and ADOConnection |
|
Posted by: SorenJensen - 07-21-2019, 08:42 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hi Guys,
Trying the SA HTTPSYS option, it seem to work nicely. I have a small test application with one form with a iwlistbox on it and 2 iwlabels. Added a datamodule on which there is an ADOConnection and a ADOTable. In the onformshow of the form, I open the table and add each row to the listbox. In the iwlabel1 I show the result of GetCurrentUser (windows unit) and the other label I just fill caption with a text.
When running as visible appl, it works fine. The strange behavior is that it lists the contenct of the table even though I have not specifically ticked the CONNECT box on the ADOConnection properties, notr do I call its Open method. I do call ADOtable.open before retrieving each row.
How can it be it can open the table when I have not opened the connection yet ?
The ADOconnection is build with MSSQL server name, Windows auuthentication and the name of the database, and the tablename of the ADOTable is set to the name of the table, so all is there, but the CONNECT command. Is there an autoconnect I miss somewhere ?
|
|
|
| Unexpected behavior. What am I missing ? |
|
Posted by: SorenJensen - 07-21-2019, 07:23 AM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
Hi Guys,
I'm trying out the new SA httpsys option, and it works really nice. However, I do have some strange and unexpected behavior I hope some of you could explain or help point me in the right direction:
First:
I have a small test application with a datamodule with an ADOConnection and an ADOTable. Connection points to the MSSQL server and is set to Windows authentication, and testconnection work fine. However, I do not set the Connected property nor the Active property on the table. In unit1 I have a listbox and in Formshow, a call to a procedure "ShowMenu" listing the content of adotable.
The unexpected behavior is that the application do show the content of the table in the listbox, despite me not calling the adoconnection.open method, nor setting the connected property. Even if I tick LoginPrompt (without a onlogin event), it still connects silently. Only when I change authentication to SQL user, provide a name but no password, it will not connect. Instead I get an error "Colinitiate has not been called!".
The above test is when run with visible GUI. Why do it connect even though I have not set the Connected property nor called the Open method ?
Second:
When setting the connection properties as supposed, recompiling it as a service, installing it on the target machine, and trying to call it in the browser, I do get the unit1 form up on the screen, but with no data (not even those simple iwlabel1.caption := 'test' , and the procedure to open the table and show the contents in the listbox, fails with an access violation error.
So the same program works fine as GUI, but fails as a Service. I suppose it is an authentication problem, where the service runs with another user than the one logged on to windows, but not even when entering the SQL user and password in the ADOconnection, do it work. It is the same whether the service is installed locally on the SQL server, or on the development pc.
I hope someone else have had the same problem and have found a solution.
|
|
|
| Bad IWModalWindow.ButtonIndex in version 15.1 |
|
Posted by: v.lasquibar@telefonica.net - 07-19-2019, 09:42 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hi,
I've installed today version 15.1.0 of Intraweb and recompiled TMS components, and my applications. I have an application that shows a ModalWindow with 2 fields and 2 buttons (OK and Cancel), and check return using this code:
if Login_Modal.ButtonIndex >= 0 then begin
case Login_Modal.ButtonIndex of
1: // Conectar
ValidarUsuario;
end;
end;
The problem is that regardless the button I press, the value of ButtonIndex is always 2 (Cancel).
How can I do to know the button really pressed by the user?
Best regards,
Venancio Lasquibar
|
|
|
| Rtf to HTML with intraweb |
|
Posted by: cprmlao@hotmail.com - 07-19-2019, 12:59 AM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Hi,
I have a big database with many blob fields in tables.
I have many RTF text in that fields.
Is there some solution to converter those rtf fields content into html format to show into a div element in a template html?
I have search in google, stackovewrflow, intraweb old forums, but I have found nothing.
Regards, Luiz
|
|
|
| UDP broadcast message fails |
|
Posted by: Boba TC - 07-18-2019, 03:49 AM - Forum: Indy
- Replies (10)
|
 |
Dear All; here's another easy one. I'm trying to send out a udp broadcast msg like this:
Code: object Form1: TForm1
Left = 0
Top = 0
Caption = 'Form1'
ClientHeight = 254
ClientWidth = 535
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Memo1: TMemo
Left = 8
Top = 40
Width = 293
Height = 206
Lines.Strings = (
'Memo1')
TabOrder = 0
end
object Button1: TButton
Left = 12
Top = 8
Width = 75
Height = 25
Caption = 'Button1'
TabOrder = 1
OnClick = Button1Click
end
object IdUDPClient1: TIdUDPClient
BroadcastEnabled = True
Port = 0
Left = 364
Top = 28
end
end
Code: //---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <IdBaseComponent.hpp>
#include <IdComponent.hpp>
#include <IdUDPBase.hpp>
#include <IdUDPClient.hpp>
class TForm1 : public TForm{
__published: // IDE-managed Components
TMemo *Memo1;
TButton *Button1;
TIdUDPClient *IdUDPClient1;
void __fastcall Button1Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
extern PACKAGE TForm1 *Form1;
#endif
Code: //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner){}
void __fastcall TForm1::Button1Click(TObject *Sender){
try{
IdUDPClient1->Broadcast( "This is a test. Ignore it.", 45242 );
}catch( EIdException &e ){
Memo1->Lines->Add( e.Message );
}
}
//---------------------------------------------------------------------------
When the Button1 is clicked - nothing visible happens, so I look at the WireShark dump but I have no idea what is going on (see attached). Please help. TIA.
|
|
|
|