| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 3:19 am Post subject: Favorites question |
|
|
hello all
question about Favorites ( what i.e has) i have been trying to think of a way to make a favorites fuction like i.e has but this is not so easy has anyone does this before? any tips you can give me?
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Thu Mar 04, 2004 11:55 am Post subject: |
|
|
not sure if this will help...what about making a link containing the url that you want to save and save the link in a folder?
serge _________________
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 4:38 pm Post subject: hummm |
|
|
I think i know what ya mean...not for sure tho but if i recall I.E favorites show the name of the web page you save. then when you click on it it will go to the url...i thought about using a "list" to do this but the problem is i'an not sure how to save the name of the page and the url for that page..
if ya follow what i mean _________________ Have a nice day  |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Mar 04, 2004 5:22 pm Post subject: |
|
|
Why not just use IE Favorites files (.url). They are merely text based
files like an ini file.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 6:12 pm Post subject: |
|
|
ok but i'am trying to firgure out how to have vds function like I.E does for favorites...I know what you are saying read the url that i have saved now BUT how do i have it list it and function like I.E does...
if ya follow what i mean
note: if i was to save this page now under favorites in I.E it would save it as "forum.vdsworld.com Edit post" but the url is
http://forum.vdsworld.com/posting.php?mode=editpost&p=18786
in which case how would you have vds show it like i.e meaning if i have a "menu" called Favorites in vds i don't want to show the url of the page just the name of the page. however when you click on the name it would GO to that url....i don't know how to make it that way i think i know how to make it work using JUST url BUT that don't help cuase if you like me you will forget what that url is....heheheheh _________________ Have a nice day  |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Thu Mar 04, 2004 7:06 pm Post subject: |
|
|
Ok, I think I follow ya. To have your app open URL files or another file with an extension that you choose is a matter of a registry entry. For this example we'll say .WLK (Web Link). In the ROOT of the registry create a key called .WLK and for the (defaut) set it to "WebLinkFile". Create another key in the ROOT called WebLinkFile and add a subkey Shell\Open\Command and set default to C:\YourProgramPath\Browser.exe %1.
When a file with the extension .WLK is double clicked (or opened with the SHELL command if you list the files in a popup menu) it will open your app and pass the filename and path is the %1 variable. You will then be able to open the file and read and open the URL.
To save your on URL in that file type, just read the URL and save it to a file with the title of the site as the name of the file. I'm not completely sure how to do that offhand, but it should give you a start.
I hope I understood right and hope this helps. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 8:44 pm Post subject: |
|
|
hummm
i think i follow you but i'am not sure yet if you follow what i'am...hehheehe
ok we all know what I.E favorites look like, that is how i want to have vds do...hard to explain
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Thu Mar 04, 2004 8:52 pm Post subject: |
|
|
Do you mean the pulldown menu or the favorites window next to the browser? _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 8:54 pm Post subject: |
|
|
maybe a better way to explain is like when you make a web page you have a link you can have it so the link tells you what the page is...but when you click on the link it takes you to that page...
| Code: |
<A "http://forums.techguy.org/t148944/s8624198d6643aa6f79cb465f05f01ec3.html">Regular Wireless Connection Loss In XP - Tech Support Guy Forums</A>
|
something like that ya know what i mean _________________ Have a nice day  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 8:55 pm Post subject: |
|
|
i mean just like how I.E favorites show it....meaning how to have vds fuction the same way so if i bookmark a web page it would be just like I.E does it.....and how i.e shows the pages you bookmark... _________________ Have a nice day  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 9:00 pm Post subject: |
|
|
LiquidCode - pulldown menu AND have it function the same way I.E favorites does..... _________________ Have a nice day  |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Thu Mar 04, 2004 9:07 pm Post subject: |
|
|
Ok, Let's try this again. You want your program to use IE favorites the way IE does.... Let's try this:
Get the favorites folder using the registry or the @windir() command from VDS 5. List all the URL files in that folder and show them in a menu, then when the user clicks on a menu item open that URL file, read the URL and go to that website. Is that it? I know this is hard to get people to understand, but, we'll get it.  _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 9:34 pm Post subject: |
|
|
ok i see what ya mean however i think I.E just stores the url... ( i would have to look..i can't now on work pc) if i just have it be url the problem is after awhile you will have alot of url's and without having the name of the page you will forget what url is what....
p.s once i get home i will check out the registry to see what it has... _________________ Have a nice day  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Mar 04, 2004 9:36 pm Post subject: |
|
|
also i was thinking have vds make it store the favorites a diff way then i.e does BUT have the same fuction as i.e has... _________________ Have a nice day  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Mar 04, 2004 9:37 pm Post subject: |
|
|
I'm not sure if you understand how IE's favorites work - they are stored
in files with the extension .URL - this extension is never shown.
This is the way the .URL (favorites files) are laid out:
| Code: | [DEFAULT]
BASEURL=<Base_Url>
[InternetShortcut]
URL=<URL> |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|