`
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"
Printed October 25, 2026, 12:33 am This article has been viewed/printed 36252 times. Google search has resulted in 5 hits on this article since January 25, 2004. |