I get an "Object reference not set to an instance of an object" error when running this code (not compiling), even though I've declared the variable only the line before, and there are no other variables with conflicting names. The ZipEntry class is from the Ionic.Zip library. The constructor doesn't take any arguments either.
ZipEntry iwd = new ZipEntry(); iwd.FileName = txtOut.text + "\\" + iwdname + ".iwd"; // This line gives the error
This post has been edited by paperclipmuffin: 24 June 2012 - 07:45 PM