Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap COM instantiation
Message
From
31/07/2003 13:45:49
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00815490
Message ID:
00815520
Views:
7
This message has been marked as a message which has helped to the initial question of the thread.
Try/Catch changes the scope, so you did not see the object outside it. Do this way:
XceedZipLib.XceedZipClass loZipper
try
{
    loZipper = new XceedZipLib.XceedZipClass();
}
catch
{
    MessageBox.Show("Please check to make sure you have the Xceed Zip Compression Library installed",
		"Error: Missing Required Files", MessageBoxButtons.OK, MessageBoxIcon.Stop);

    return false;
}

loZipper.PreservePaths = false;
loZipper.FilesToProcess = ...

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform