|
发表于 2012-12-21 15:30:00
|
显示全部楼层
太荣幸了 ~~~~ 可是我还是不太明白 给个完整的例子 好不?
鱼哥厉害
刚自己弄了个简单的 不知道楼主是这个意思不 源码也上传了
- procedure TForm1.Button1Click(Sender: TObject);
- Var
- UserName,Password,LoginUrl:String;
- begin
- if (Edit1.Text='') or (Edit2.Text='') then
- ShowMessage('请完整输入账号、密码!')
- else
- begin
- UserName:=Edit1.text;
- Password:=Edit2.Text;
- if ComboBox1.ItemIndex=0 then
- begin
- LoginUrl:='http://reg.163.com/logins.jsp?type=1&url=http://entry.mail.126.com/cgi/ntesdoor?&username='+ UserName + '@126.com&password='+Password;
- Shellexecute(0,'open','iexplore.exe',Pchar(LoginUrl),'',SW_SHOWNORMAL);
- end;
- if ComboBox1.ItemIndex=1 then
- begin
- LoginUrl:='https://reg.163.com/logins.jsp?username='+UserName+'&password='+Password+'&url=http://fm163.163.com/coremail/fcg/ntesdoor2';
- Shellexecute(0,'open','iexplore.exe',Pchar(LoginUrl),'',SW_SHOWNORMAL);
- end;
- end;
- end;
- procedure TForm1.Button2Click(Sender: TObject);
- begin
- Edit1.Text:='';
- Edit2.Text:='';
- end;
- procedure TForm1.CheckBox1Click(Sender: TObject);
- begin
- if CheckBox1.Checked then
- Edit2.PasswordChar:=#0
- else
- Edit2.PasswordChar:='*';
- end;
- procedure TForm1.Label3Click(Sender: TObject);
- begin
- Shellexecute(0,'open','iexplore.exe',Pchar('http://328783896.qzone.qq.com'),'',SW_SHOWNORMAL);
- end;
复制代码
邮箱登陆.rar
(177.24 KB, 下载次数: 11, 售价: 1 鱼币)
|
|