• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

winAPI to handle URL files ?

Hi, are they any win api functions
that let me handle url files ?
I know it's a text file, but it's just to know.
any help about that ?
For example (hello mike)

[DEFAULT]
BASEURL=http://www.lischke-online.de/
[InternetShortcut]
URL=http://www.lischke-online.de/
Modified=F0D53807695CBF0189
IconFile=http://www.lischke-online.de/favicon.ico
IconIndex=1

How can I handle the Modified value ? is that a datetime
or something ?

Thanks.
0
jeurk
Asked:
jeurk
  • 7
  • 5
  • 3
  • +2
1 Solution
 
seredaCommented:
Can you please specify what do you mean by 'url files' ?
0
 
jeurkAuthor Commented:
Edited text of question.
0
 
jeurkAuthor Commented:
yes, it's an www shortcut... You can
find them in your favorites folder.
Usualy c:\winnt\favorites

I'm building My own bookmark editor.
I hate the ie one...
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
MadshiCommented:
Hi John...   :-)

Well, in url.dll there is a COM object implemented that can deal with these url files. The problem is that this dll is not included in the standard Windows installation. It comes only with the Internet Explorer. So if your programs run under win95 or winNT4, this dll is not available...

Regards, Madshi.
0
 
MadshiCommented:
I mean win95 or winNT4 WITHOUT IE being installed of course...   :-)
0
 
jeurkAuthor Commented:
Hello Madshi,
It's not a problem because anyway I'm
usinf the EmbeddedWB Component that does
require ie5+
Do you have a link for some help, or even the link in MSDN ? I never know
wher to find something there...
0
 
LischkeCommented:
Hi jeurk :-))

I have no idea how to handle those files other than with the interface Madshi mentioned. There's also only very few information in MSDN...

Ciao, Mike
0
 
jeurkAuthor Commented:
ok, here is what I found.
http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/psdk/shellcc/shell/internet_shortcuts.htm
This is the msdn help page.
But like always, it's full of shell com stuff.
And I still don't understand something
at this. If you get your paws on something
fine, let me know please.
Thanks.
0
 
MadshiCommented:
Here is something better:

http://msdn.microsoft.com/workshop/misc/shortcuts/default.asp

Regards, Madshi.
0
 
intheCommented:
hi john,
did you know about:
http://www.euromind.com/iedelphi/Favorites.htm
well it might help in showing how to work with the favorites items..
Regards Barry
0
 
jeurkAuthor Commented:
In fact I saw it that weekend. You are
right Barry.
On euromind you can look in the section
favorites. they have the interface for
url.dll
And have two compos, one that puts all
the favorites related function in your
main menu, and another that creates a
treeview that shows all your favorites.

your link is also nice madshi...
so I'm gonna use the solution pointed
out by barry's link. He will get the
points if you agree Madshi ?

Mike ? do you want some points because
I used a link to your site ;)

thanks guys.
0
 
MadshiCommented:
Okay... No problem for me...
0
 
jeurkAuthor Commented:
If you are interessed, I let you know
when my tools is ready.
thanks again.
Regards.
john.
0
 
LischkeCommented:
:-)) Points for a link which has to do nothing with the question? No no, thanks. I answer questions for you to get points. :-)

Madshi, seit gerade eben (20:37) kann ich mich wieder in E-E einloggen. Endlich wieder hier.....

Ciao, Mike
0
 
jeurkAuthor Commented:
It was just a copyright joke...

Und es freut uns dich vieder zu zehen...
0
 
LischkeCommented:
:-))
0
 
MadshiCommented:
Jo!   :-)
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

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