Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Removing dlls Again!


Message #1 by selman@b... on Sun, 22 Oct 2000 18:12:17 +0100
I've been going through the example

"Insurance Premium Calculator"

in Chapter 2.



I now want to use a different dll.



I typed 



regsvr32 insurance.dll /u



in the MSDOS Prompt to unregister 

the component, and then to delete it.

But it doesn't work.



I get the error message:



C:\Component>regsvr32 insurance.dll /u

Bad command or file name



I'm using Win98SE/PWS. 



Does anyone how to get rid of a dll?

Message #2 by Imar Spaanjaars <Imar@S...> on Sun, 22 Oct 2000 19:34:53 +0200
Is regsvr32 in a directory that is included in the PATH statement?? If not, 

either modify the path, or type the full name:



c:\Component>c:\windows\system\regsvr32 insurance.dll /u





HtH



Imar







At 06:12 PM 10/22/2000 +0100, you wrote:

>I've been going through the example

>"Insurance Premium Calculator"

>in Chapter 2.

>

>I now want to use a different dll.

>

>I typed

>

>regsvr32 insurance.dll /u

>

>in the MSDOS Prompt to unregister

>the component, and then to delete it.

>But it doesn't work.

>

>I get the error message:

>

>C:\Component>regsvr32 insurance.dll /u

>Bad command or file name

>

>I'm using Win98SE/PWS.

>

>Does anyone how to get rid of a dll?

>

Message #3 by "D. Williams" <dl-williams@h...> on Mon, 23 Oct 2000 00:07:12 +0100
Restart the webserver (PWS) or (IIS).  This will free the dll out of

memory.  Then you can delete it or overwrite the dll.  This worked in my

case.



HTH



Demetrius

Message #4 by "Geoff Higgins" <geoff@v...> on Mon, 23 Oct 2000 09:02:59 +0100
>

> Subject: Re: Removing dlls Again!

> From: Imar Spaanjaars <Imar@S...>

> Date: Sun, 22 Oct 2000 19:34:53 +0200

> X-Message-Number: 2

>

> Is regsvr32 in a directory that is included in the PATH statement?? If

not,

> either modify the path, or type the full name:

>

> c:\Component>c:\windows\system\regsvr32 insurance.dll /u

>



I thought the syntax was regsvr32 -u insurance.dll



Message #5 by selman@b... on Mon, 23 Oct 2000 21:03:51 +0100
Thanks. I restarted PWS and it works now.

However the original error message still comes up

whenever I use regsvr32.



How comes there no simple way to unregister a component

within VisualBasic?

Message #6 by Robert Chartier <rchartierh@a...> on Mon, 23 Oct 2000 15:00:38 -0700
while debugging you can create a project group, so no registering is needed



while deployed and needing to re-deploy check into MTC (NT) /Component 

Services (w2k) using MMC.









At 09:03 PM 10/23/2000 +0100, selman@b... wrote:

>Thanks. I restarted PWS and it works now.

>However the original error message still comes up

>whenever I use regsvr32.

>

>How comes there no simple way to unregister a component

>within VisualBasic?

>

Rob Chartier

rchartierh@a...

Pager:  xxx-xxx-xxxx

http://www.aspfree.com/devlinks/

http://www.aspfree.com/authors/robert/

http://www.aspalliance.com/nothingmn/




  Return to Index