Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assembly Registry

Status
Not open for further replies.

captedgar

Programmer
Dec 4, 2009
20
GB
Hi there

One Section of my script is as follows
if(!strDestFile.search(/.*\.dll$/))
{
if(!strSourceFolder.endsWith("Folder1"))
{
UnregisterVBAssembly(strDestFile);
}
else
{
UnRegisterDotNetAssembly(strDestFile);
}
}

How do i go about editing the above section so that when both .Net and VB assemblies are there in the same folder i.e. Folder1,
the code would Choose the UnregisterVBAssembly function if the assembly is of type "VB" or Choose UnRegisterDotNetAssembly if the assembly is of type ".Net"

please advice
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top