Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Linking to a web site...

Posted on 1999-01-11
10
Medium Priority
?
158 Views
Last Modified: 2011-10-03
I want to make it possible for the user of my app to be able to click a button/image to be taken to my home page (via IE of course). Is this easily achievable with VB 6?
0
Comment
Question by:lbowers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 1455458
Easy enough to spawn a copy of IE and pass it a URL.

M

0
 
LVL 1

Expert Comment

by:MAVERICK
ID: 1455459
You could always execute a windows shortcut to the URL...... simply add the URL: to favourites... go to windows/favourites and copy the shortcut out to where u want it....


0
 

Accepted Solution

by:
edunc earned 400 total points
ID: 1455460
use this line of code.  i use it all the time for links.

retVal = shell("start http://www.yourpage.com/)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Expert Comment

by:edunc
ID: 1455461
oops.  it's:

retVal = shell("start http://www.yourpage.com/")

I forgot the " at the end of shell
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1455462
Easy enough, no?

M

0
 
LVL 1

Expert Comment

by:MAVERICK
ID: 1455463
Add a 0 to the code...
retVal = shell("start http://www.yourpage.com/",0)

this will supress the MSDOS window

regards
Jon

0
 

Expert Comment

by:edunc
ID: 1455464
you don't need to add a 0 at the end.  By default, the window will already be minimized, and w/ focus i think.  it doesn't matter if it has the focus anyway becuase the new browser window will take the focus when it opens.
0
 
LVL 1

Expert Comment

by:MAVERICK
ID: 1455465
actually that is not strictly correct.... what happens is that a MSDOS icon apears in the task bar... putting the '0' will suppress that....

But '0' is not the default.....

sorry If this seems like being pedantic... I just noticed it while I was trying it out... and thought it may be useful to lbowers, thats all

Regards
Jon

0
 

Author Comment

by:lbowers
ID: 1455466
Thanks to all for your help and comments.
0
 

Expert Comment

by:edunc
ID: 1455467
maverick - does the 0 make it not in the taskbar?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question