如何用VB登录网站?请代码举例 - VB / 基础类
如何用VB登录网站?请代码举例
网页上有用户名,口令和验证码,当然验证码用手工输
使用webbrowser控件。
通过 webbrowser.document.body.form("formid").value来赋值。
完了,问题没问明白,
我要用Winsock
不用别的
继续等待高手
继续等待高手
继续等待高手
下个封包软件,正常登陆的时候看看发送的是什么
然后你自己创建一个,发送过去就OK了
如
Dim Str As String
Dim strPage As String, strHost As String, strRefer As String
Dim lenth As Integer
strHost = "localhost:8080"
strPage = "/web/test.asp"
strRefer = "http://localhost:8080/web/test.asp"
length = Len("name=123&pwd=456")
Str = "POST " & strPage & " HTTP/1.1" & vbCrLf
Str = Str & "Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*" & vbCrLf
Str = Str & "Referer: " & strRefer & vbCrLf
Str = Str & "Accept -Language: zh -cn" & vbCrLf
Str = Str & "Content-Type: application/x-www-form-urlencoded" & vbCrLf
Str = Str
相关问答:
为什么我用form.show和form.hide多次连接了两个窗口只能互换链接两次啊?
代码看看
照道理form.show 没次数限定的吧
我也快疯了。
楼主知道怎么发贴么?
引用
我也快疯了。
楼主知道怎么发贴么?
楼主也 ......
谁能帮我把下面这些代码改成VB形式的,多谢了,急用~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[],float g ......
我的要求是:通过抓取别的程序上的表格的句柄,然后读取这个表格的内容。
表格句柄(类名:MSFlexGridWndClass)我已抓到,接下来如何读取表格的内容就不会了?求助。
能把代码发来学习下不?
244326867@qq.com ......
用VB编程读取短信,得到一大堆unicode编码,请教如何转换成文本
例如:读取短信后(华为900C或TC35i),串口得到如下数据:
+CMGL: 17,"REC UNREAD","8615007557713",,"10/03/30,09:37:15+32&qu ......
系统在多台电脑上运行,就在其中一台电脑上产生”内存溢出“。
每台电脑操作系统 配置都一样的。。请问是什么原因?
(1)用了设计不完善的控件,控件本身有问题,或者不恰当地使用了api函数。
(2)无限的 ......