Access 2002 and the Win32 API

G

George Hester

I have been using some of the code at this place:

This one has been very helpful and I got it to work in VBA:

http://www.mvps.org/vbnet/code/internet/inetfavinfo.htm

Now the issue that I have come up against is this. This function:

GetPrivateProfileString

is not working correctly. What happens is that Ineternet Favorites can show the names of saved web addresses in the encoding that the page is using. For example this page appears like this in Favorites:

RIN.RU - MP3. composition ВенгерÑкий танец N1-Ð‘Ñ€Ð°Ð¼Ñ Ð˜Ð¾Ð³Ð°Ð½Ð½ÐµÑ

If you are not using Outlook Express you may see what I just wrote like this:

RIN.RU - MP3. composition ??????????? ?????? N1-?????? ?????????

and that is not the way it appears. But actually this is the way the code from the page above is showing it. And when that happens the second column in the row for this entry from Favorites dies. It doesn't appear. It's blank. It is because success = 0 in the code there. Is there any way I can fix this so that the function works correctly? I tried GetPrivateProfileStringW but that didn't work and it won't work in Windows 95,98 or ME anyway. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top