[dba-VB] VS 2010 C# Referencing Ionic.Zip

Michael Mattys michael at mattysconsulting.com
Tue Feb 7 15:42:51 CST 2012


This message got mixed in with Access-D :)
Even so, I've had to do this before with VS2010.

Michael R Mattys
Mattys Consulting, LLC
www.mattysconsulting.com


-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys
Sent: Tuesday, February 07, 2012 12:20 PM
To: 'Discussion concerning Visual Basic and related programming issues.'
Subject: Re: [dba-VB] VS 2010 C# Referencing Ionic.Zip

Sometimes this works:

Copy all the text from the module to notepad, delete the module, compact and
repair, paste text into a new module, then compile

Michael R Mattys
Mattys Consulting, LLC
www.mattysconsulting.com

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Tuesday, February 07, 2012 11:54 AM
To: VBA
Subject: [dba-VB] VS 2010 C# Referencing Ionic.Zip

I use the Ionic.Zip library to zip files up.  We have consistently had
issues making references like this work across all of our projects, to the
point where we created a References directory under the Projects directory
and placed all of the DLLs into that for source control.  This allows us to
"pull" these files and get the latest versions, and then any project
references that same physical file.

I am still having a problem with this Ionic.Zip.Dll file.  I reference it.
The reference does not give the "broken" icon.  Using works just fine.  But
when the line of code hits the call into the function where it would
actually create a variable, it stops and complains that the DLL file cannot
be found.

I am a bit confused for several reasons.  First why is it stopping on the
function call rather than down in the function itself where the zip object
is dimensioned?  Second why is it complaining at all when the rest of the
program apparently thinks things are fine?  No compile errors, no using
complaints no references complaints.

Weird!  I have seen places where the using collection in the project says
the thing (suddenly) cannot be found, and I have to delete and re-reference
the object, but in this case there is just no indication anywhere that there
is a problem until we hit the function call to the function inside of which
I do the compression stuff.

Any ideas?

--
John W. Colby
Colby Consulting

Reality is what refuses to go away
when you do not believe in it

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com




More information about the dba-VB mailing list