Can VBA query a web page from within Word?

Z

ZLA

I have some VBA code that should only run if the user enters a valid password
that is validated by a web page.

Is this possible and how?

Thanks in advance.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?WkxB?=,
I have some VBA code that should only run if the user enters a valid password
that is validated by a web page.

Is this possible and how?
It should be possible, but I can't tell you exactly how to do it, which is why I
didn't answer before now...

Basically, whatever you can do in another programming language, such as VB, you
can do in Word VBA. There are tools/object libraries you can reference in Word
(Tools/References) that will let you communicate with web servers (which is what
I assume you mean). This doesn't fall within my area of expertise, although I
did something similar once, quite a while ago, in a course.

My advice would be to ask in a group that deals with classic VB6 and ask how to
do it in VB6. Be sure to describe exactly what you mean by validating a password
over a web page (get technical: asp? something else?).

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top