473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

URGENT: Accessing registry key???

Dear all,

How can I access in VB.NET to a registry key on a local
and remote computer.

Does the previous Profile string function can be safelly
used on is there anything else ?

thnaks for your answer
regards
serge
Jul 21 '05 #1
4 1471
serge calderara <se*************@maillefer.net> wrote:
How can I access in VB.NET to a registry key on a local
and remote computer.
See the Microsoft.Win32.RegistryKey class.
Does the previous Profile string function can be safelly
used on is there anything else ?


I'm afraid I don't know about that.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #2
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!
Jul 21 '05 #3
calderara serge <se*************@maillefer.net> wrote:
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?


As I said, I don't know about GetProfileString - I don't know what it
does in VB.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #4
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!

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Daniel Pope | last post by:
Hello Everybody, I'm preparing for doing a daunting task: to access Out look Microsoft Outlook Express(regardles the operating system and Outlook version) from a Java applet (after the client...
2
by: Joao Santa Barbara | last post by:
Hi all i have this error reading one registry key , can anyone assist me .. please very urgent i try in one computer, and work fine, but in other computer it didn´t work and throws this error...
6
by: Alex5222 | last post by:
I am making a program in C++ and was wondering how to make a program access and change the registry. Any help would be greatly appreciated. Thanks.
9
by: Swami | last post by:
I was wondering how I can programmatically find out the path of an installed program. I have an application that needs access to a config file that resides in the folder of another application. ...
4
by: serge calderara | last post by:
Dear all, How can I access in VB.NET to a registry key on a local and remote computer. Does the previous Profile string function can be safelly used on is there anything else ? thnaks for...
2
by: Mostafa Salama | last post by:
i have a problem in accessing registry from web service i made a web service that call a function to access registry The web service contain the following code Dim RegKey As...
3
by: mark.jerrom | last post by:
I'm fairly new to this Web Service game so please feel free to suggest something different if it looks like i'm completely off track! I'm trying to write an application that runs on a Pocket PC...
2
by: shivakumars | last post by:
hi guys can any one send me the python code to create registry and set values to that registry. please its very urgent...
1
by: David Schrader | last post by:
Hello all, Let me start by saying that I'm not certain whether this belongs here, in this notes group, or another more developmentally oriented one. I'll try starting here then go elsewhere if...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.