-
Posts
1141 -
Joined
-
Last visited
-
Days Won
157
Content Type
Profiles
Forums
Events
Posts posted by mhmda
-
-
Hi all,
How can I get the raw post data (it's coming from other app that calls my unigui web app).
php example: http://php.net/manual/en/reserved.variables.httprawpostdata.php
-
procedure TMainForm.UniDBGrid1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
UniPopupMenu1.Popup(x+Left,y+Top);
end;
-
procedure TMainForm.UniDBGrid1CellClick(Column: TUniDBGridColumn);
var
val:string;
clmn_name:string;
begin
val:=Column.Field.AsString;
clmn_name:=Column.FieldName;
end;
-
Hi,
You can use this procedure, you may run the file and wait till it finish and do any thing after finishing...
procedure RunMe(aPath:string;aFilename:string); var ahwnd: HWND; sInfo: TStartupInfo; pInfo: TProcessInformation; AppName, AppWDir, CmdLine: PChar; begin if (trim(aFilename)='') or (trim(aPath)='') then begin ShowMessage('Please enter a valid path and a valid file name'); exit; end; //init sInfo.wShowWindow:=SW_SHOW;//show or hide the window sInfo.dwXSize:=0; sInfo.dwYSize:=0; AppName := PChar(aFilename); AppWDir := PChar(aPath); CmdLine := PChar('username:test1 password:1234');//if you need to pass params FillChar(sInfo, sizeof(TStartupInfo), 0); sInfo.cb := sizeof(TStartupInfo); sInfo.dwFlags := STARTF_FORCEONFEEDBACK or STARTF_FORCEOFFFEEDBACK; //run it CreateProcess( AppName, CmdLine, nil, nil, False, CREATE_DEFAULT_ERROR_MODE or CREATE_NEW_PROCESS_GROUP or NORMAL_PRIORITY_CLASS, nil, AppWDir, sInfo, pInfo ); ahwnd:=pInfo.hProcess; //wait untill finish while WaitForSingleObject(ahwnd, 100)=WAIT_TIMEOUT do begin end; //do anything after finishing...:-) end;
- 1
-
آآآآآآمين
-
ينعاد على الجميع بالصحة والعافية والسلامة، ونسأل الله الجنة
كل عام وانتم بخير
-
Hello,
I'm working on a project using unigui framework, and one part of the project is a "TELNET" connection to network equipment: reading a configuration from: Routers, Switchs, VoIP... for "TELNET" I use /n software ip*works components.
But I didn't manage to run even a single connection from unigui, I tried using "TThread" but with no success.
I don't know how to solve it !
When debugging the: "uIdThread" throws the exception, here is the relevant part from "uIdThread":
Include(FOptions, itoReqCleanup); try try BeforeRun; try if Loop then begin while not Stopped do begin try Run; except on E: Exception do begin if not HandleRunException(E) then begin Terminate;>>>>>>>> HERE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< raise; end; end; end; end; end else begin
here is a part of the code:
TelnetClient=class(TipwTelnet) private level:integer; hostname:string; writing_data:boolean; memo1:TUniMemo; public procedure StartConnection(ip:string); procedure mDataAvailable(Sender: TObject; Text: string); procedure SendString(cmd:string;Key_Enter:integer); procedure Reconnect(Sender: TObject;const ConnectionEvent: string; StatusCode: Integer;const Description: string); procedure mDisconnected(Sender: TObject; StatusCode: Integer;const Description: string); destructor destroy();override; end;
-
Ok, Thank you, I'll try it.....
-
I'll thank you very much :- )
-
Hi,
Could this: send an image inside the html body?
-
Thanx for this,
Can I send image inside the body (not attached)?
-
I think ~750$ is fair enough....
I think a great efforts been invested in unigui and I love it....
and I think that farshad will continue to improve it...We can't wait till EVERY thing ( as we want ) is working 100%, I believe that we have to give unigui a chance, and we all know that the future is "web application" and unigui made it so easy for us.
I personally appreciate farshad's work and wish him good luck....:-)
-
-
Well, I started with "Delphi for PHP" aka HTML5 builder since it's first release, and I thought it would be a greate frmaework, but when I actually started to build my web apps there were many bugs and I waited for ver. 2, and ver. 3 (rad php) and finally html 5 builder witch was "awful" very awful.
Many bugs since ver. 1 were not fixed... so I decided to move on---> Unigui and i'm happy now :-)
- 1
-
Hi all,
- 1
- 6
-
Hi... ALL
Does any one knows how can I read data from "calendar" in exchange server?
The idea is to give the user the ability to see his appointments (in his account in exchange server) without using ms outlook etc.... to make it easy :-)
Of course the server side of my webapp will handle that and unigui will handle the GUI for the user !
I'm not talking about emails, only calendar....
I thought about Indy and I want to be sure that I can use Indy in such mission :-)
Some of my clients demand this.thanx
-
gooood :-)
-
This my second month with them ALL smoothing also tel support.... 29$/month worth to try....8 g/Ram..server 2008 64
-
-
Hello to all,
- 1
-
Hi,
I have created a new project and I add a unicalendarpanel to it, but when running the project in browser it stucking with
"loading..." !!!, I have tested it with Radstudio 2010 and XE2.
Maybe I missing something... and I already looked into to the Calendarpanel demo... but I haven't managed running my own project in the browser.
-
Hi,
1. Create a 'js' folder in your project directory:
2. Add the 'charts.js' file to 'js' folder:
3. add link to js file in server module:
4. Add html frame to your project and add this code to client events --> 'on added':
5. in js file add 'var' to store1:
...:-)......
- 1
-
-
Raw POST data
in General
Posted
I tried that, but the client sends the data as stream, here an example in indy httpserver:
So how can I use: ARequestInfo.PostStream using unigui !!!???