🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2349

Re: How to read the win2k registry

#2349
From: John McGrath TeamB
Date: Wed, 07 Mar 2001 07:15
23 lines
1649 bytes
On Tue, 6 Mar 2001 14:36:49 -0700, Calvin R. Smith wrote:

> How can I read and write the win2k registry from a java program?

There is nothing in Java that will do this directly, so you will have 
to resort to some sort of native code.  That means either linking to a 
DLL library using the Java Native Interface, or running an external 
program that can handle your registry queries / updates using the 
Runtime exec() method.

I have heard of one library that has done this already, but I suspect 
that there are others:

    http://www.keytech.com.au/registry.html

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.150f946177d59ad398a022@forums.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!newsfeed.wirehub.nl!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail
References: <3aa558a0$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,3add232a089d1cff
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-03-06 23:20:08 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!newsfeed.wirehub.nl!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: How to read the win2k registry
Date: Wed, 7 Mar 2001 02:15:42 -0500
Organization: Another Netscape Collabra Server User
Lines: 23
Message-ID: <MPG.150f946177d59ad398a022@forums.borland.com>
References: <3aa558a0$1_2@dnews>
NNTP-Posting-Host: dslcv1-60.fast.net
X-Newsreader: MicroPlanet Gravity v2.30