By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,101 Members | 1,387 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,101 IT Pros & Developers. It's quick & easy.

Launch unique URL in default browser

P: 3
OK, I'm relatively new with Access and VB as well, so bear with me, any help is greatly appreciated.

I want launch a specific URL in a web browser (default browser) from a command button in a form and I need the URL to contain info from the db.

So basically I need the URL to launch into the browser like this:

"http://www.website.com/InfoLookup?Formone=DataFromFieldOne&Formtwo=DataFr omFieldTwo&Formthree=DataFromFieldThree&Query=Subm it"

where "DataFromFieldOne", and so on, is what I have.

Is this doable? Is there any code like this around I can work with?
Apr 6 '07 #1
Share this Question
Share on Google+
2 Replies


100+
P: 149
OK, I'm relatively new with Access and VB as well, so bear with me, any help is greatly appreciated.

I want launch a specific URL in a web browser (default browser) from a command button in a form and I need the URL to contain info from the db.

So basically I need the URL to launch into the browser like this:

"http://www.website.com/InfoLookup?Formone=DataFromFieldOne&Formtwo=DataFr omFieldTwo&Formthree=DataFromFieldThree&Query=Subm it"

where "DataFromFieldOne", and so on, is what I have.

Is this doable? Is there any code like this around I can work with?

Yes you can do this by using the Internet transfer control in your application.
Select Components -> Microsoft Internet Transfer Control

Use the following syntax.
Inet1.OpenURL (URL, DataType)

URL can be the defined URL by you.
Apr 6 '07 #2

P: 3
Yes you can do this by using the Internet transfer control in your application.
Select Components -> Microsoft Internet Transfer Control

Use the following syntax.
Inet1.OpenURL (URL, DataType)

URL can be the defined URL by you.
Thanks for the reply,

Access is telling me that I "don't have the license required to use this ActiveX control" when I try using the Microsoft Internet Transfer Control.
Apr 6 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.