By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,469 Members | 1,028 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,469 IT Pros & Developers. It's quick & easy.

Opening files listed in filelistbox

P: 30
Hi There,

This is probably an easy one! i am having trouble opening the files listed in a filelistbox, they are all .url files, all i want them to do is open up in the default browser, i looked around and played with a shell command but all that did is open my home page not the .url i was actually clicking on, any ideas??

any help is much appriciated!

Jay!!
Oct 15 '07 #1
Share this Question
Share on Google+
2 Replies


kadghar
Expert 100+
P: 1,295
Hi There,

This is probably an easy one! i am having trouble opening the files listed in a filelistbox, they are all .url files, all i want them to do is open up in the default browser, i looked around and played with a shell command but all that did is open my home page not the .url i was actually clicking on, any ideas??

any help is much appriciated!

Jay!!
yeap, i dont know why the shell command have some troubles with some browsers, however, you can always create an object with an internet explorer in it and open the page you want. something like this should do:

Expand|Select|Wrap|Line Numbers
  1. dim Obj1 as object
  2. set obj1=createobject("internetexplorer.application")
  3. obj1.navigate("http://www.thescripts.com")
  4. obj1.visible=true
HTH
Oct 15 '07 #2

P: 30
Hi There!

Forgot to say thanks for your reply! it helped me out alot and i got what i needed done!!

Regards

Jay!
Mar 26 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.