Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 14th, 2005, 07:58 PM
ovadoggvo ovadoggvo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 42 ovadoggvo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 38 m 22 sec
Reputation Power: 5
Opening website in explorer

Hello all.. I am trying to open a website in a web browser by calling explorer to open, however, when I set a longer website with other characters such as = and ? I get a can't open. I realized that for those websites I must have it execute in the following format (example):

explorer "http://forums.aspfree.com/newthread...=newthread&f=38" (Notice the quotes)..

however, I do not know how to make that appear like that through the VB code..

I tried "explorer 'http://forums.aspfree.com/newthread.php?do=newthread&f=38' " but it doesn't work .. it must be a " and not a ' ...

How would i get that to execute with a " in VB?

Anyone know?

This is actually for an Access 2003 application.

Thanks,
ovadoggvo

Reply With Quote
  #2  
Old March 15th, 2005, 03:55 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 33 m
Reputation Power: 181
Try

"explorer ""http://forums.aspfree.com/newthread.php?do=newthread&f=38"""
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old March 15th, 2005, 04:52 PM
Snakebite Snakebite is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: The Netherlands
Posts: 32 Snakebite User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 23 m 40 sec
Reputation Power: 5
Thumbs up This is what I use and it works

Dim objIE As Object
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate "www.admirals.nl"
objIE.Visible = True
Set objIE = Nothing

Reply With Quote
  #4  
Old March 15th, 2005, 06:16 PM
ovadoggvo ovadoggvo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 42 ovadoggvo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 38 m 22 sec
Reputation Power: 5
Quote:
Originally Posted by Doug G
Try

"explorer ""http://forums.aspfree.com/newthread.php?do=newthread&f=38"""



Doug,
I tried that, I get an error. Any other ideas?

Reply With Quote
  #5  
Old March 16th, 2005, 09:38 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 33 m
Reputation Power: 181
What's the error?

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Opening website in explorer


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT