473,385 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Launch unique URL in default browser

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
2 1649
ansumansahu
149 100+
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
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

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

Similar topics

3
by: Michel H | last post by:
Hello everyone, While it seems simple to me, I just want to have a URL in my windows application that people can click and then launch the URL in the default browser. Same thing with a mailto:...
2
by: Gonçalo Boléo | last post by:
How can i launch the default browser in a separate window from my windows app? thanks, Gonçalo Boléo
0
by: saragwyn | last post by:
Hello - I have successfully been using the following line of code to launch the default browser from within my application. I recently got a report from one of my users that it wasn't working...
1
by: Jacob | last post by:
I have several web apps that I want to redirect to a new page, but have that page open in a new browser window. The basic scenario is that I have a CrystalReport object that gets created and...
1
by: Tom | last post by:
What the best way to launch a web site using the default browser? For instance, I have a help menu item that, when clicked, will cause a pre-defined web site to launch in the default browser (IE,...
1
by: jerseysbest | last post by:
OK, I'm relatively new with Access and Code as well, so bear with me, any help is greatly appreciated. I want launch a URL in a web browser (default browser) from a toggle in a form and I need the...
1
by: Alun Harford | last post by:
I have a chat-type program that automatically highlights URLs. When somebody clicks on one of those URLs, I use: System.Diagnostics.Process.Start(url); to start the default browser at that...
2
by: niskin | last post by:
I'm trying to launch the default browser with my specified URL (ftp.<my-website>.co.uk) and I then want the program to log me in with my username and password. I have tried: system("start /min...
1
by: Erik Nodland | last post by:
Hi I know I'm being stupid but how can I specify what browser gets launched when I start debugging in VS2008. At the moment Firefox gets launched even though IE7 is my default browser. This...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.