Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Can VBA query a web page from within Word?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ZLA - 19 Jan 2006 23:40 GMT
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.
Cindy M  -WordMVP- - 25 Jan 2006 15:37 GMT
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 :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.