The barcode or it's picture property does not refresh or doesn't have any dataLink

I get an error stating the picture property is not set and does not contain any data yet.
If you use the picture property in time critical or batch loops, you have to give the windows system enough time to do it's events. E.g. in VBA you use 'DoEvents'. This guarantees that the picture property is correctly set with data. Alternatively you can try to use the 'CreatePictureBySize' method before using the picture property.