antonyliu2002
Mon Apr 09 15:03:18 CDT 2007
On Apr 9, 2:53 pm, mr_unreliable <kindlyReplyToNewsgr...@notmail.com>
wrote:
> antonyliu2...@yahoo.com wrote:
> > But, as a matter of fact, it looks like that page you referred to only
> > talks about SELECT objects right inside a web form. Does this have
> > anything to do with the kind of popups I am talking about?
>
> >
http://farm1.static.flickr.com/167/442962234_ab4a756b8c_o.png
>
> I am a bit hampered running win98, but as best I can tell
> the "certificate dialog" that you are concerned about
> is found in "cryptdlg.dll", as a "standard" dll dialog.
>
> By "standard" dialog, I mean that it's a normal dialog
> "resource" in a format amenable to use with the "CreateDialog"
> api call -- which involves a DlgProc for processing messages.
>
> In other words, I believe that it is not an html dialog,
> and as such does not have an object model accessible from
> script.
>
> If you really want to deal directly with such a dialog,
> you will have to get much more sophisticated, and use
> a tool such as "Spy" to detect the system messages going
> back and forth, and maybe even "hook into" the message
> stream to detect the certificate selected. This is
> something that goes way beyond scripting.
>
> Sorry, jw
OK, thanks.
But, no matter which cert is selected by the user from this popup
dialog box, my existing client side code successfully sends the cert
to my web application, which in turn can process the cert. I've
checked this many times, and it has been working perfect.
I don't have access to my work station right now. After I get home, I
will post the source code of the web form, and you can see how the
selected cert is sent to my web application.
The problem is that I am new to VBScript, I am not sure how to modify
it in such a way that I can get to know which cert is selected in
VBScript.