delphi idhttp1 是否可以模拟鼠标点击某个区域
delphi7 idhttp1 是否可以模拟鼠标点击某个区域
我不打算用 webbrowser1 打算用idhttp1 来实现 小弟求助
看不懂,哪种模拟鼠标点击?
1,使用 火狐浏览器2.0在工具-页面信息-表单- 获得所有表单信息
2,把表单 字段名称和当前值 都写进去
procedure TForm1.Button1Click(Sender: TObject);
var
postList: TStrings;
Response: TStringStream;
begin;
Response := TStringStream.Create('');
postList := TStringList.Create;
try
IdHTTP1.Request.UserAgent:='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Maxthon)';
postList.Add('__EVENTTARGET=');
postList.Add('__VIEWSTATE=/wEPDwUJLTI5NjAzODk2ZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQULY2hrUmVtZW1iZXKHW0DW4nQrSrBHBomKrt3/MjtBLA==');
postList.Add('__EVENTVALIDATION=/wEWBQKE2u7lCQLyj/OQAgK3jsrkBALR55GJDgKC3IeGDO8x1Jd0k/hBY1a/6Yl9fTpP16ti');
postList.Add('tbUserName=用户名称');
postList.Add('tbPassword=用户密码');
postList.Add('chkRemember=');
postList.Add(
相关问答:
delphi代理问题 求解 在线等
procedure TForm1.Button3Click(Sender: TObject);
var
info : INTERNET_PROXY_INFO;
reg : TRegistry;
begin
reg := TRegistry.Crea ......
delphi 调用图形识别dll总是报地址之类的错误,请大家帮忙看看是什么问题,代码如下:
implementation
function OCR(imgname:string;i:integer):PChar;stdcall;external 'AspriseOCR.dll';
{$R *.dfm ......
两台机器 第一台 delphi程序接收 (接收一个name) 第二台 php页面发送信息(如 发送一个name)
谁能给我一些相关程序??谢谢
来人啊 救命呢
如需要阅读该回复,请登录或注册CS ......
extern "C" __declspec(dllexport) long __stdcall Readcard(__int16 intcom, long baud,unsigned char *vskh, int *vlql, __int16 *vics,__int16 *viklx)
请问,这个在DELPHI里怎么 ......
Delphi(Pascal) code:
unit Unit1;
interface
type
Module=class
published
function ReadTest: integer;
procedure WriteTest(const Value: integer);
published
property Test:integ ......