473,569 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Launch unique URL in default browser

3 New Member
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?Form one=DataFromFie ldOne&Formtwo=D ataFromFieldTwo &Formthree=Data FromFieldThree& Query=Submit"

where "DataFromFieldO ne", 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 1663
ansumansahu
149 New Member
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?Form one=DataFromFie ldOne&Formtwo=D ataFromFieldTwo &Formthree=Data FromFieldThree& Query=Submit"

where "DataFromFieldO ne", 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
jerseysbest
3 New Member
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
2896
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: link. Here is the code i'm trying to use which comes straight from the microsoft site: string target= "http://www.microsoft.com";
2
2527
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
1023
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 on their machine. They are using Win98 and said they had Firefox as their default browser then switched over to IE and it still didn't work. The...
1
2182
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 displayed on-screen as a .PDF stream. I need to have this page launch in it's own window leaving the first browser alone Here's the code I'm using to...
1
1455
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, Mozilla, Netscape, whatever). Right now I am using: System.Diagnostics.Process.Start(http://MyWebSite) Just wondering if this is the best way...
1
1733
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 URL to contain info from the db. So basically I need the URL to launch into the browser like this: ...
1
1616
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 URL. This works, but has a security issue I'd like to avoid. Lets say somebody sends the URL:
2
2329
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 ftp.<my-website>.co.uk"); This of course opens up a browser (not sure if it is always default), but I know this is the wrong way to achieve what I...
1
1294
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 means that my javascript debugging isnt working although I can debug in firebug I want to do it all from the IDE. Many thanks
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6283
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.