| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 733 人关注过本帖
标题:有关网页的问题
取消只看楼主 加入收藏
ch307458491
Rank: 1
等 级:新手上路
帖 子:27
专家分:2
注 册:2012-10-4
结帖率:75%
收藏
已结贴  问题点数:20 回复次数:1 
有关网页的问题
Private Sub Command1_Click()

比如说 我输入T;AA" 8b15310673020@cqit  转换成 真实号码  然后我想把web 中的帐号用  真实号码替换掉  在用 IE打开 网址    u不知道怎么实现

Dim zhanghao As String
Dim web As String
web = "http://192.168.1.1/userRpm/PPPoECfgRpm.htm?wantype=2&VnetPap=0&acc=%0D%0A   zhanghao   &psw=272678&linktype=2&Save=%B1%A3+%B4%E6"""
zhanghao = Text1.Text
zhanghao = Replace(zhanghao, " ", "%20")
zhanghao = Replace(zhanghao, "!", "%21")
zhanghao = Replace(zhanghao, """", "%22")
zhanghao = Replace(zhanghao, "#", "%23")
zhanghao = Replace(zhanghao, "$", "%24")
zhanghao = Replace(zhanghao, "&", "%26")
zhanghao = Replace(zhanghao, "'", "%27")
zhanghao = Replace(zhanghao, "(", "%28")
zhanghao = Replace(zhanghao, ")", "%29")
zhanghao = Replace(zhanghao, "*", "%2A")
zhanghao = Replace(zhanghao, "+", "%2B")
zhanghao = Replace(zhanghao, ",", "%2C")
zhanghao = Replace(zhanghao, "-", "%2D")
zhanghao = Replace(zhanghao, ".", "%2E")
zhanghao = Replace(zhanghao, ":", "%3A")
zhanghao = Replace(zhanghao, ";", "%3B")
zhanghao = Replace(zhanghao, "<", "%3C")
zhanghao = Replace(zhanghao, "=", "%3D")
zhanghao = Replace(zhanghao, ">", "%3E")
zhanghao = Replace(zhanghao, "?", "%3F")
Text2.Text = zhanghao

Shell "C:\Program Files\Internet Explorer\iexplore.exe Text2.Text"

End Sub

Private Sub 退出_Click()
Unload Me

End Sub
搜索更多相关主题的帖子: web 网页 
2012-10-24 23:38
ch307458491
Rank: 1
等 级:新手上路
帖 子:27
专家分:2
注 册:2012-10-4
收藏
得分:0 
回复 2楼 Artless
路由器的命令行
2012-10-25 07:51
快速回复:有关网页的问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.037376 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved