| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 346 online users. » 7 Member(s) | 335 Guest(s) Applebot, Bing, Google, Yandex, aun_digital, descendantszombiesshop, f8betpizza, liquidearthio, moneycomingart1, moneycomingio, mubet.talk
|
| Latest Threads |
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
07-14-2026, 06:27 AM
» Replies: 6
» Views: 770
|
Need Help Integrating Mic...
Forum: IntraWeb General Discussion
Last Post: capheny
07-07-2026, 06:43 AM
» Replies: 0
» Views: 130
|
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
07-05-2026, 02:41 PM
» Replies: 5
» Views: 445
|
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 180
|
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 113
|
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,377
|
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 152
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 922
|
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 170
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 71,338
|
|
|
| Putting text in a string var in a newly created form before showing it ? |
|
Posted by: SorenJensen - 03-04-2020, 06:13 AM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Hi all,
This might just be a trivial question I should know the answer to , but I do not seem to find the right way of doing it.
I want to create a new form when pressing a button (in the OnClick), move values from the creating form, onto the created form, before showing it.
So what I would do is:
TIWForm1.Button1.OnClick(sender....
begin
TIWForm2.create(self);
TIWForm2.value1 := 'test';
TIWForrm2.Show
end;
In Iwform2 I have vaue1 defined as a string in the public section of the form. IDE accepts the code, but compiler rejects with
TIWForm2.value1 := 'test'; Error: Method identifier expected... ".value1" should be a method and
TIWForm2.Show; Error: this form of method call only allowed for class methods or constructor.
Is this not possible in IW or what Am I doing wrong ?
Regards
Soren
|
|
|
| Indy HTTP client- Need help on Overwriting HTTP method |
|
Posted by: happyzj - 03-04-2020, 04:39 AM - Forum: Indy
- Replies (4)
|
 |
Hi, I used to built a Upnp control point using indy 10.5.9.4967. Wtih Upnp event subscribe, I overwrite the HTTP method with following code and it works:
form1.myhttp.HTTPMethod := 'SUBSCRIBE';
......
form1.myhttp.Get(URL);
With Indy 10.6.1.518, I find idHTTP client doesn't have property "HTTPMethod" anymore and I tried following two property which doesn't work:
myhttp.Request.Method := 'SUBSCRIBE';
myhttp.Request.MethodOverride := 'SUBSCRIBE';
Can someone help me out? thank you!
|
|
|
| IntraWeb and Apache |
|
Posted by: jimmy11 - 03-04-2020, 12:44 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hi Guys,
We are running IntraWeb 14 and IIS and just recently decided to switch on Apache httpd.
After that we have notice some windows exception and access violation.
Is there any special setup we need to do for Apache? or any changes needed on the code?
Thanks in advance
|
|
|
| TIWCheckBox problem |
|
Posted by: geremiah - 03-02-2020, 05:09 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
After the 15.1.15 upgrade, testing the checked value of a TIWCheckBox in the OnAsyncChange or OnAsyncClick or OnChange events it return always true.
Before this upgrade the value was managed correctly.
Best Regards.
Giovanni P.
|
|
|
| AV's and Parameters not found... |
|
Posted by: SorenJensen - 03-02-2020, 12:14 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hi All,
Again I have a multiuser issue. This time it is in a Web service, wrapped in a TService Shell, and installed as a HTTP.SYS program on a server.
The problems show-up when more than one client at a time, and ONLY when more than one client, do the same operations.
The client is a Windows 32 program, running on individual users PC's all within the Company domain, accessing data in a SQL table on a MS SQL server, also within the Company domain. There are several webservice calls in one operation, to read or write various data from and to the SQL table.
As there are no ServerController unit (or UserSession unit) I have not been able to set the "ComInitialization" property, nor am I calling CoInitialize and CoUnInitialize anywhere in the Win32 program, or in the Webservice. Could that be the reason, and if, how do I correct it ?
Also, trying to add CoInitialize and CoUnInitialize as calls in the Win32 program, before and after each Webservice call, I can't compile the program. Compiler says "Undeclared identifier". Which unit are the co-calls defined in ?
I hope someone can help. As it is now, these problems are showstoppers.
Regards
Soren
|
|
|
| another multi-user "see each other data" problem |
|
Posted by: karolm - 03-01-2020, 02:01 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
So i have created a desktop test app, before moving to intraweb, with SQlite and dbExpress and opened two copies of the app. I have one SQLConnection and two SQLQuery.
SQLQuery1.SQL:=insert into topics(da,topic) values(1,'1')
SQLQuery2.SQL:=insert into topics(da,topic) values(2,'2')
there is a suspicious
var
Form1: TForm1; in the interface part, which I do not know how to remove
In form.oncreate
SQLConnection1.Connected:=true
The first copy runs the first code
Code: procedure TForm1.Button2Click(Sender: TObject);
var
tr: TTransactionDesc;
finished: boolean;
begin
try
SQLQuery2.SQLConnection:=SQLConnection1;
SQLConnection1.StartTransaction(tr);
SQLQuery2.ExecSQL;
sleep(4000);
SQLConnection1.Commit(tr);
finished:= true;
SQLQuery2.SQLConnection:=nil
except
SQLConnection1.Rollback(tr);
finished:= false;
end;
if finished
then
showmessage('OK')
else
ShowMessage('NOT OK');
end;
and the second copy runs the second code
Code: procedure TForm1.Button3Click(Sender: TObject);
var
tr: TTransactionDesc;
finished: boolean;
begin
repeat
try
SQLQuery3.SQLConnection:=SQLConnection1;
SQLConnection1.StartTransaction(tr);
SQLQuery3.ExecSQL;
SQLConnection1.Commit(tr);
finished:= true;
SQLQuery3.SQLConnection:=nil;
memo1.Lines.Add('OK')
except
sleep(400);
SQLConnection1.Rollback(tr);
finished:= false;
memo1.Lines.Add('NOT OK')
end;
until finished;
memo1.Lines.Add('END')
end;
When I run the codes one after another I get all right two records inserted into the database, but when I start the second code before the first transaction finishes, I get both OK messages but there appears only one record inserted in the database. The second transaction waits normally until the first finishes.
|
|
|
| Download file ? how to.. |
|
Posted by: SorenJensen - 02-29-2020, 11:24 AM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Hi All,
I'm a bit confused with the options available and hope someone will enlighten me and help me to understand how to accomplish the following:
My user has selected a number of rows in a table, and each row contains the name of an associated PDF file, saved in a public folder on the server. The user do have access to the folder, and can pick the files with file explorer or similar. And the user running the Webservice (http.sys) aslo have access to the folder.
I want to help the user getting the files of the public folder, into a folder on his workstation. What is the best way to I do that ?
Also a it will be more than one file to get, I want to avoid being asked any action for each file, and only be asked for a folder name for all the files at once. Is that possible ?
Thanks in advance for any help I can get
Regards
Soren
|
|
|
|