Hi Sreekumar,

check the INI file in correct directory path under your Application
check if you use integer then use "ProfileInt" function.
String, with a maximum length of 4096 characters. Returns the string from 
key within section within filename. If filename is not found, section is not 
found in  filename, or key is not found in section, ProfileString returns 
default. If an error occurs, it returns the empty string (""). If any 
argument's value is NULL, ProfileString returns NULL

may be this can help you.

Raj


>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: PFCSIG Problem with ini file ; Encryption
>Date: Wed, 30 Jun 1999 10:38:23 +0100
>MIME-Version: 1.0
>From [EMAIL PROTECTED] Wed Jun 30 05:15:58 1999
>Received: from [198.3.220.11] by hotmail.com (1.5) with SMTP id 
>MHotMailB9435569002DD82197E3C603DC0BC3950; Wed Jun 30 05:15:58 1999
>Received: (from majordom@localhost) by mango.rssi.com (8.8.4/8.8.2) id 
>FAA04939 for pfcsig-outgoing; Wed, 30 Jun 1999 05:56:59 -0400 (EDT)
>X-Authentication-Warning: mango.rssi.com: majordom set sender to 
>[EMAIL PROTECTED] using -f
>Received: from mail1.dresdnerkb.com (mail1.dresdnerkb.com [193.132.190.11]) 
>by mango.rssi.com (8.8.4/8.8.2) with ESMTP id FAA04935 for 
><[EMAIL PROTECTED]>; Wed, 30 Jun 1999 05:56:50 -0400 (EDT)
>Received: from lonopsnti04.kben.co.uk (lonopsnti04.internal.dresdnerkb.com 
>[10.64.255.221])by mail1.dresdnerkb.com (8.9.3/8.9.3/dER) with ESMTP id 
>KAA04000for <[EMAIL PROTECTED]>; Wed, 30 Jun 1999 10:38:33 +0100 (BST)
>Received: from stamp.dresdnerkb.com (unverified) by lonopsnti04.kben.co.uk 
>(Content Technologies SMTPRS 2.0.15) with ESMTP id 
><[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>; Wed, 30 Jun 
>1999 10:32:20 +0100
>Received: from LDZ00EG3.WWZ0ME.Mail.Dresdner.net (ldz00eg3.dresdnerkb.com 
>[10.130.195.35]) by stamp.dresdnerkb.com (8.8.8/DrKB) with ESMTPid KAA22024 
>for <[EMAIL PROTECTED]>; Wed, 30 Jun 1999 10:39:32 +0100 (BST)
>Received: by LDZ00EG3.WWZ0ME.Mail.Dresdner.net with Internet Mail Service 
>(5.5.2448.0)id <M61G19LF>; Wed, 30 Jun 1999 10:38:28 +0100
>Message-Id: <81D792FDA471D21190DB0008C7A41A061CC764@KBI01EA0>
>X-Mailer: Internet Mail Service (5.5.2448.0)
>Sender: [EMAIL PROTECTED]
>Precedence: bulk
>
>Hi.
>
>1.
>I am trying to set SQLCA parmeters from an ini file.
>SQLCA.of_init(gnv_app.of_GetAppIniFile(), "Database") returns a 1 
>indicating
>success.
>
>However, all the parameters (DBMS, Database, ServerName) are seen to be
>null,
>probably because ProfileString(inifile, "database", DBMS , '') take the
>default value of  ''.
>
>I tried explicitly doing a ProfileString instead of depending on
>SQLCA.of_init
>e.g
>SQLCA.DBMS = ProfileString(gnv_app.of_GetAppIniFile(), "Database", "DBMS",
>'')
>which also returns a ''
>
>My ini file is
>[Database]
>DBMS="SYC"
>Database=drift
>ServerName=drkbbancbwv9x
>AutoCommit=False
>DBParm=Release='11',CursorScroll='Forward',CursorLock='OptVal'
>
>I tried setting the values within and without quotes
>e.g DBMS="SYC" and DBMS=SYC.
>Neither works.
>
>Could somebody point out what I am doing wrong?
>
>2.
>I need to encrypt user password and store them in a database.
>Is there anyway of specifying in PB that a field has to be encrypted while
>being saved in the database?
>
>Thanx
>Sreekumar
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, 
>ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help 
>pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to