Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

How do I obscure the URL in a hyperlink.add request?

I use a hyperlink.add request to get a URL.  However I would like to obscure the URL address from the user, anyone know how I can do this?

krk
0
krkerwin
Asked:
krkerwin
  • 7
  • 6
  • 2
  • +2
2 Solutions
 
Richie_SimonettiCommented:
In which part of your app?
0
 
TheQuestionCommented:
0
 
Dang123Commented:
Here is an article that may help.

URL, URL, Little Do We Know Thee
http://members.rogers.com/razvan.peteanu/urlurl20010307.html
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
krkerwinAuthor Commented:
I checked out the www.freevbcode.com and the members.rogers.com sites and realised that I didn't give enough info in the question.  

I'm looking to obscure the URL when using the hyperlink(1).follow request.  I window pops up and states "opening http://'URL'".  I would like to rename the real URL address to a string that renames the address with a description such as 'Requesting data from XXX.

When you create a hyperlink through a macro to a worksheet you can use a hyperlink.texttodisplay to rename the address.  There is way to use the texttodisplay with a hyperlink to a URL (hyperlink(1).item.texttodisplay = "obscured name") however it doesn't rename the URL in the pop up window.

krk
0
 
Richie_SimonettiCommented:
What popup window?... IE window?, if so, that's the normal behaviour of the program, if you want to manage those kind of things, maybe better if you use COM Automation.
0
 
Richie_SimonettiCommented:
Also, if url is from Your own web site, you could implement it in your html pages.
0
 
Richie_SimonettiCommented:
but if you are talking about tooltip, just change ScreenTip property of hyperlink to the text waht you want...
0
 
krkerwinAuthor Commented:
The pop up is from the security setting that asks if this is a trusted URL and "do you want to continue with this request".  I need to figure that user probably has the security setting at high so the pop up needs to be addressed.

The url is from an external website.

I tried the screentip property and it didn't change the pop up window properities.

krk
0
 
Richie_SimonettiCommented:
Of Coure, but i must know which pop up you were talking about. I think you can't do it without a bunch of code and API stuff.
0
 
krkerwinAuthor Commented:
Well you're right about knowing which window it is and what triggers it.  The window is labeled 'Microsoft Office' and reminds me in addition that "Some files may contain viruses or otherwise be harmful to your computer.  It's important that you're sure that this file is from a trustworthy source.  Do you still want to continue?".

I've added the URL to my trusted sites and lowered the security level to low and still get the window.  I'm using Office XP.  It looks like Microsoft will not give me the option to control the window.   I may have to call Microsoft to find out where the window originates and how I can control it.

krk
0
 
ashooooCommented:
Thats the whole point of security. You cannot hide the URL. The user needs to know what he's downloading or installing.
0
 
Richie_SimonettiCommented:
The Q is diferent users have diferent security levels setted in their computers, i think you cannot manage all possible variables of those configurations but, if you could stay appart from hyperlink object, you could manage Internet Explorer with Automation/COM in a relative easy way.
Let me know if you wish to do so. I have a little site devoted to several IE stuff automation at:
www.angelfire.com/real/vb-shared/index.html under "IE.." topic
0
 
krkerwinAuthor Commented:
I'm going to split the points.  

Ashoo-your answer makes a lot of sense

Richie-if I can work around it great.  I tried the link but it was broken.  Can you send it again?

Thanks, krk
0
 
krkerwinAuthor Commented:
Richie:  I'm posting 500 pts for you in another question for your help.  I haven't got the split points function down yet.

krk
0
 
Richie_SimonettiCommented:
0
 
ashooooCommented:
Thanks krkerwin for the points! Always glad to help.

-Ashish
0
 
krkerwinAuthor Commented:
Richie:
Found the links.  Look forward to working through the examples.

Your 500 pts is ready for you to accept.

Thank you again,
krk
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 7
  • 6
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now