` Printed Icetips Article

Icetips Article



Windows API: Reading favourite files
2002-03-19 -- Jim Kane
 
Newsgroups: comp.lang.clarion


Found the code. The problem was it always prompted the user before the
export.
  program
  map
  end

Window WINDOW('Caption'),AT(,,260,100),GRAY
       OLE,AT(47,16,100,82),USE(?Ole)
       END
     END
  code
  open(window)
  display()
  accept
    if event()=event:openwindow then
      ?ole{prop:ReportException}=1
      ?ole{prop:create}='{{64AB4BB7-111E-11d1-8F79-00C04FC2FBE1}'
      ?ole{'ImportExportFavorites(0,"D:\fav.txt")'}
      post(event:closewindow)
    end
  end
  close(window)

"Alejandro Contreras"  wrote in message
news:3c97c090.1363100@news.softvelocity.com...
> I need to read the MS favorites in a users machine... does anybody
> knows the file format of those things? Or is there an API to read
> them?
>
> I've searched the MSDN site and didn't find anything.. I'm sure there
> it is but couldn't find it.
>
> Thanks in advance,
>
>
> Alejandro Contreras
> API/Atrialis
> Guadalajara, Jalisco, México
> Alejandro Contreras
> API, Guadalajara, Mexico
>
> acontrerasn@hotmail.com
> alejandro@api.com.mx



Printed November 21, 2024, 6:39 am
This article has been viewed/printed 35201 times.
Google search has resulted in 5 hits on this article since January 25, 2004.