Serge,
In addition to Jon's comments:
GetProfileString as in the Win32 API?
Yes you can continue to use Win32 APIs in VB.NET, the trick is getting the
correct declare statement. You may want to search these newsgroups
I don't have a sample of GetProfileString as I use the
System.Configuration.ConfigurationSettings class and "app.config" files.
If you need to read & write your settings file, you may want to check out
the Configuration Management Application Block.
http://msdn.microsoft.com/library/de.../html/cmab.asp
Hope this helps
Jay
"calderara serge" <se*************@maillefer.net> wrote in message
news:un**************@TK2MSFTNGP10.phx.gbl...
Yes the Registry class access to th registry.
But I fogot to mentionned that I need to read section of an ini file
local or remote, does the GetProfileString previous function is still
safe in VB.NET or is there an other way?
ragards
serge
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!