Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ini vs Registry
Message
From
03/06/2002 15:23:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00664057
Message ID:
00664234
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
Mike,

Another way of doing the same thing would be:
nHandle = fCreate (AddBS (gStartDir) + gIniFileName)

          fPutS  (nHandle, "[" + gIniSecName + "]"                                                             )
          fPutS  (nHandle, " "                                                                                 )
          fPutS  (nHandle, "Login         = " + IIf   (           gTipoLogin     = "A", "Automatico", "Manual"))
          fPutS  (nHandle, "CargaArquivos = " + IIf   (           gCargaArquivos = "A", "Automatica", "Manual"))
          fPutS  (nHandle, "ItensNoPedido = " + lTrim (Transform (gItensNoPedido, "999999"))                   )
          fPutS  (nHandle, "AGCOnetDir    = " +                   gAGCOnetDir                                  )
          fPutS  (nHandle, "EnviaDir      = " +                   gEnviaDir                                    )
          fPutS  (nHandle, "RecebeDir     = " +                   gRecebeDir                                   )
          fPutS  (nHandle, "AprovaDir     = " +                   gAprovaDir                                   )
          fPutS  (nHandle, "Comunica      = " +                   gStartDir      + "Comunica.Exe"              )

          fClose (nHandle)
Fernando
Previous
Reply
Map
View

Click here to load this message in the networking platform