Launch a URL and paste

B

Bill Stanton

I'd like to launch a URL from code and
paste the contents of the clipboard into
the field currently displaying the cursor.

I already have the text string on the
clipboard, I just can't seem to find any
methods that carry out a paste function.

I'm assuming I can Dim an application
object like IE and pass the URL?

Thanks,
Bill
 
T

Tony Toews

I'd like to launch a URL from code and
paste the contents of the clipboard into
the field currently displaying the cursor.

I already have the text string on the
clipboard, I just can't seem to find any
methods that carry out a paste function.

I'm assuming I can Dim an application
object like IE and pass the URL?

I'm sure there are ways of automating a web browser and doing what you
want but I'm not familiar with them.

If you don't get an answer here I'd suggest in the
microsoft.public.vb.general.discussion newsgroup as there are lots of
knowledgeable folks there who likely would know the answer. VB6 code
should port directly into Access.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
 
D

David-W-Fenton

I'm sure there are ways of automating a web browser and doing what
you want but I'm not familiar with them.

What will need to be done is to pass the appropriate parameters via
GET or POST. There is no way to automate the web browser otherwise.
 
B

Bill Stanton

Hi David,
The situation got more complicated because of browser
security in preparation of an upload. The use is confronted
with entering a password followed by the use of Browse
in order to get to the screen requiring the "Paste". With
that, the user will simply manually "Paste" the string that
was put on the clipboard via application VBA.
Thanks,
Bill
 
T

Tony Toews

The situation got more complicated because of browser
security in preparation of an upload. The use is confronted
with entering a password followed by the use of Browse
in order to get to the screen requiring the "Paste". With
that, the user will simply manually "Paste" the string that
was put on the clipboard via application VBA.

Hmm, KeePass is an open source program for storing and entering your
passwords on web pages. Maybe it'll have some code that you can use
as an idea of what needs to be done.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
 

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