Search results for query: *

  1. P

    Strange problem with VB.Net - If statement

    Not true - The code reads each record into the ImageRec structure. Then the ImageRec.FileName value is assigned to riImageFile.Name using the Trim function. riImageFile.Name = ImageRec.FileName.Trim If the filename field in the record contained all spaces the value in riImageFile.Name will...
  2. P

    Strange problem with VB.Net - If statement

    I'm experiencing a strange problem with a VB.Net - If statement: If Not riImageFile.Name = "" Then The code in the 'IF block' still executes when riImageFile.Name = "" In fact the If statement is executed when riImageFile.Name contains a valid path string (as it should) and when...
Back
Top