由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - VBScript如何跟IE通信?
相关主题
QA position at Rockville, MDNdoc - .Net's javadoc
understand ASP.Net 1: ASP vs ASP.NetMSDN 上的PATTERN 资源
[转载] 柴玲招dotnet programmer也不sponsor[转载] 最近要用VC#.net编成,请教一下
Curious for VBSCRIPT in ASP file请推荐asp.net的书!
Anyboday can help VBscript ?MSDN 上的相关新闻组
怎么显示中文?access database里显示没问题,读到网页是乱码How to write Virtual Channel Application
asp 打开oracle数据库问题。谁有PDC WHIDBEY DOWNLOAD?
[合集] asp 打开oracle数据库问题。怎么publish ASP.NET web
相关话题的讨论汇总
话题: vbscript话题: ie话题: clinton话题: e通
进入DotNet版参与讨论
1 (共1页)
y********o
发帖数: 2565
1
我的web app要客户的certificate, 如图所示:
用户可以选择一个certificate按OK继续。
用VBScript的话,怎么跟这种对话框通信?也就是说,如果用户选择 Hillary Clinton
,我怎么在VBScript中获取这个信息?
给个暗示?
c**t
发帖数: 2744
2
Check out: IP*Works, it's now nsoftware.com.

我的web app要客户的certificate, 如图所示:
用户可以选择一个certificate按OK继续。
用VBScript的话,怎么跟这种对话框通信?也就是说,如果用户选择 Hillary Clinton
,我怎么在VBScript中获取这个信息?
给个暗示?

【在 y********o 的大作中提到】
: 我的web app要客户的certificate, 如图所示:
: 用户可以选择一个certificate按OK继续。
: 用VBScript的话,怎么跟这种对话框通信?也就是说,如果用户选择 Hillary Clinton
: ,我怎么在VBScript中获取这个信息?
: 给个暗示?

y********o
发帖数: 2565
3

Clinton
Thx, but that one looks like to be on the server side. The situation I
described requires client side scripting.
Plus, IP*Works isn't free. :-(

【在 c**t 的大作中提到】
: Check out: IP*Works, it's now nsoftware.com.
:
: 我的web app要客户的certificate, 如图所示:
: 用户可以选择一个certificate按OK继续。
: 用VBScript的话,怎么跟这种对话框通信?也就是说,如果用户选择 Hillary Clinton
: ,我怎么在VBScript中获取这个信息?
: 给个暗示?

c**t
发帖数: 2744
4
CertMgr myCertmgr = new CertMgr();
myCertmgr.CertSubject = #specified subject#;
...
then your cert will be picked up.

【在 y********o 的大作中提到】
:
: Clinton
: Thx, but that one looks like to be on the server side. The situation I
: described requires client side scripting.
: Plus, IP*Works isn't free. :-(

c**t
发帖数: 2744
5
You may try curl, which is free. But I don't think it will support pfx/eps/
cer..

【在 y********o 的大作中提到】
:
: Clinton
: Thx, but that one looks like to be on the server side. The situation I
: described requires client side scripting.
: Plus, IP*Works isn't free. :-(

y********o
发帖数: 2565
6
Thanks. I've read a little at MSDN about CAPICOM. They have sample codes l
ike this.
The problem is that I do not know which cert the user has selected, and thus
cannot get the subject info of the cert.
Some people have told me that it is not possible to programmatically poll th
e type of IE popup dialog box with VBScript, and suggested that the programm
er select the certificate for the user, exactly what the code snippet below
does.
I am dumb at VBScript, not sure if I can handle this very s

【在 c**t 的大作中提到】
: CertMgr myCertmgr = new CertMgr();
: myCertmgr.CertSubject = #specified subject#;
: ...
: then your cert will be picked up.

c**t
发帖数: 2744
7
nothing is impossilbe. But there is no easy way to catch and monitor IE
popup.
But you can write your own browser with IE engine, if it's so critical to
you.
Don't worry you are a layman, take your time, you will be a master soon.

l
thus
th
programm
below

【在 y********o 的大作中提到】
: Thanks. I've read a little at MSDN about CAPICOM. They have sample codes l
: ike this.
: The problem is that I do not know which cert the user has selected, and thus
: cannot get the subject info of the cert.
: Some people have told me that it is not possible to programmatically poll th
: e type of IE popup dialog box with VBScript, and suggested that the programm
: er select the certificate for the user, exactly what the code snippet below
: does.
: I am dumb at VBScript, not sure if I can handle this very s

y********o
发帖数: 2565
8

lol.

【在 c**t 的大作中提到】
: nothing is impossilbe. But there is no easy way to catch and monitor IE
: popup.
: But you can write your own browser with IE engine, if it's so critical to
: you.
: Don't worry you are a layman, take your time, you will be a master soon.
:
: l
: thus
: th
: programm

1 (共1页)
进入DotNet版参与讨论
相关主题
怎么publish ASP.NET webAnyboday can help VBscript ?
Whidbey怎么显示中文?access database里显示没问题,读到网页是乱码
一个简单的REMOTE DESKTOPasp 打开oracle数据库问题。
请各位老大分享一下exception的使用经验吧。[合集] asp 打开oracle数据库问题。
QA position at Rockville, MDNdoc - .Net's javadoc
understand ASP.Net 1: ASP vs ASP.NetMSDN 上的PATTERN 资源
[转载] 柴玲招dotnet programmer也不sponsor[转载] 最近要用VC#.net编成,请教一下
Curious for VBSCRIPT in ASP file请推荐asp.net的书!
相关话题的讨论汇总
话题: vbscript话题: ie话题: clinton话题: e通