Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap COM instantiation
Message
De
31/07/2003 13:45:49
 
 
À
31/07/2003 13:12:00
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00815490
Message ID:
00815520
Vues:
8
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?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform