OK, I got the error again once I wrote code to make the image appear when I clicked the button. I figured out what was wrong. There was something about the file that it did not like. I loaded a different file that had dashes in it, and still got the error. I took the dashes out, and it loaded as I wanted it to.
This:
imgVirw1.Bitmap = LoadBitmap(File.DirAssets, "mypicture.jpg")
Worked.
Thanks again.