How to invoke a URL from an open tool menu item??
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shridhar_N
Posted On:   Sunday, August 12, 2001 09:51 PM

Hello Friends, We are working on open tools. How can i invoke a html/webpage, when i click on a menu item. .. We are able to open a new page in the same project (i.e. the new page can be seen as a tabbed pane).. But when i invoke that i get an Exception "Unable to open location: vfs://host:0/new:///2/Untitled2.c%|yahoo.html", where yahoo.html is a html page in my c drive... But another thing is if i type a valid URL in the Address text filed that is working properly.. If i am not wrong when i invoke the new URL with "project.createFileNode("c:yahoo.html") ( or for that matter any web page for ex: http://www.jguru.com ) the command Encodes the given String and sends it, i think this is why    More>>

Hello Friends,

We are working on open tools. How can i invoke a html/webpage, when i click on a menu item.
..
We are able to open a new page in the same project (i.e. the new page can be seen as a tabbed pane)..
But when i invoke that i get an Exception "Unable to open location: vfs://host:0/new:///2/Untitled2.c%|yahoo.html", where yahoo.html is a html page in my c drive... But another thing is if i type a valid URL in the Address text filed that is working properly..

If i am not wrong when i invoke the new URL with "project.createFileNode("c:yahoo.html") ( or for that matter any web page for ex: http://www.jguru.com ) the command Encodes the given String and sends it, i think this is why it is giving me that Error.. , i dont know to send the url in a proper format so that the appropriate file can be opened in a proper format..

Please help me out, please do reply me with an example..


Thanks in advance..

Shridhar...

   <<Less
About | Sitemap | Contact