Can someone decipher this code for me

Results 1 to 2 of 2

Thread: Can someone decipher this code for me

  1. #1
    Join Date
    Dec 1969

    Default Can someone decipher this code for me

    Hi<BR>I am a Data Warehouse Developer working on an app that was developed in VB.NET. I am trying to figure out what the code is what it does as it was developed by someone who left the company.<BR><BR>This is the code.<BR><BR>#If PROD = True Then<BR> m_CachedConnection.ConnectionString = "Provider=""ORAOLEDB.Oracle"";Database = ""LPPROD"";User ID=ldap;Data Source="""";Password=ldap"<BR># Else<BR> m_CachedConnection.ConnectionString = "Provider=""MSDAORA.1"";Database = ""LPDEVL"";User ID=ldap;Data Source="""";Password=ldap"<B R>#End If<BR><BR><BR>What does that #IF and #ELSE and #ENDIF mean? I know what they mean without the #. And also where is the value TRUE for PROD being set. I did not find it anywhere else in the code.<BR><BR>Thanks for the help<BR><BR>Ken

  2. #2
    Join Date
    Dec 1969

    Default Check this out

    Was looking at it and thought, that&#039;s wierd, did a little searching and found this explination of it which should help you.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts