Hello ALL...,

>From what I have done:

  -: savesetting (to save) and
  -: getsetting (to read)

these are the result in the root
   -> HKEY_CURRENT_USER\Software\VB and VBA Program Setting\MyDev\Path
      key = "C:\"

My concern is if this application has been compiled and installed in any pc
that has no VB6 - it won't work - since we would likely need to install in
several pc station.

What I need is:

   -> HKEY_LOCAL_MACHINE\Software\MyDev\path
      key = "C:\"
so I do not need to be dependent to the VB6 exixtence and with this command
I will be able to change the key register of an application program that has
been registered in the root - HKEY_LOCAL_MACHINE\Software

How could I save and read the register from VB6?

TIA
Ara Budidarma


-----Original Message-----
From: Emmanuel Par� <[EMAIL PROTECTED]>
To: G E O I N F O <[EMAIL PROTECTED]>
Date: Wednesday, June 09, 1999 7:06 PM
Subject: Re: MI VB6


>Hi,
>
>    Take a look at the Visual Basic Help ... here is a snippet of the help
>Keywords are GetSetting, and SaveSetting
>
>Returns a key setting value from an application's entry in the Windows
>registry.
>
>Syntax
>
>GetSetting(appname, section, key[, default])
>
>The GetSetting function syntax has these named arguments:
>
>Part Description
>appname Required. String expression containing the name of the application
>or project whose key setting is requested.
>section Required. String expression containing the name of the section
where
>the key setting is found.
>key Required. String expression containing the name of the key setting to
>return.
>default Optional. Expression containing the value to return if no value is
>set in the key setting. If omitted, default is assumed to be a zero-length
>string ("").
>Remarks
>
>If any of the items named in the GetSetting arguments do not exist,
>GetSetting returns the value of default.
>
>
>-----Original Message-----
>From: G E O I N F O <[EMAIL PROTECTED]>
>To: Mapinfo-l <[EMAIL PROTECTED]>
>Date: 9 juin, 1999 03:58
>Subject: MI VB6
>
>
>>Hello listers,
>>
>>This is my first time developing map based application using MapX 3.5 and
>>VB6.
>>
>>1. Please do help me how to input a code into windows sysreg from the VB
>>    on my own defined root - for example:
>>
>>     root -> HKEY_LOCAL_MACHINE\Software\MyDev\path
>>     code -> "c:\" type "string"
>>
>>2. How could I read the data that has been entered in the windows sysreg
>>from my
>>    application?
>>
>>Thanking you in advance.
>>
>>Regards,
>>Ara Budidarma - GIS Programmer
>>PT. GEONUSA INFOTAMA (GEOINFO)
>>Tel. 62-21-8200167; Fax. 021-82405373
>>
>>
>>----------------------------------------------------------------------
>>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>>
>


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to