p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: Component Problem


Message #1 by "Caesar" <caesar@w...> on Sat, 24 Mar 2001 11:29:11
Hi!



I have written a component in VB. The path to which I saved the component 

looks like this c:\components\logon component\component.dll



I have now registered the component, however when I want to unregister the 

component with the command 

c:\regsvr32 /u c:\components\logon component\component.dll



I get an error that reads:

LoadLibrary("c:\component\logon") failed - The specified module could not 

be found.



I noticed within my directory path I have a white space. however I dont 

thing that should affect this unregistering of the component. 



What could i be doing wrong?



Thanks in advance!



Caesar

Message #2 by Imar Spaanjaars <Imar@S...> on Sat, 24 Mar 2001 14:05:01 +0100
I do think that the space can cause the problem: I think this is caused 

because of the Long File Names that are not correctly supported in the 

command prompt:



You have three solutions:



1. Enclose the path / file name in quotes,

2. Use the old 8.3 naming scheme (look up the properties of the DLL to 

discover the "old" DOS names),

3. Change to the directory where the DLL resides, and omit the path to the 

file when you use regsvr32.





Hope this helps,



Imar





At 11:29 AM 3/24/2001 +0000, you wrote:

>Hi!

>

>I have written a component in VB. The path to which I saved the component

>looks like this c:\components\logon component\component.dll

>

>I have now registered the component, however when I want to unregister the

>component with the command

>c:\regsvr32 /u c:\components\logon component\component.dll

>

>I get an error that reads:

>LoadLibrary("c:\component\logon") failed - The specified module could not

>be found.

>

>I noticed within my directory path I have a white space. however I dont

>thing that should affect this unregistering of the component.

>

>What could i be doing wrong?

>

>Thanks in advance!

>

>Caesar



Message #3 by "Luis Abreu" <luisabreu@n...> on Sat, 24 Mar 2001 14:38:43 -0000
Why don't you go to the directory where the dl lis and call regsrv32

from there?



Luis Abreu



> -----Original Message-----

> From: Imar Spaanjaars [mailto:Imar@S...]

> Sent: s=E1bado, 24 de Mar=E7o de 2001 13:05

> To: ASP components

> Subject: [asp_components] Re: Component Problem

>

> I do think that the space can cause the problem: I think this is

caused

> because of the Long File Names that are not correctly supported in the

> command prompt:

>

> You have three solutions:

>

> 1. Enclose the path / file name in quotes,

> 2. Use the old 8.3 naming scheme (look up the properties of the DLL to

> discover the "old" DOS names),

> 3. Change to the directory where the DLL resides, and omit the path to

the

> file when you use regsvr32.

>

>

> Hope this helps,

>

> Imar

>

>

> At 11:29 AM 3/24/2001 +0000, you wrote:

> >Hi!

> >

> >I have written a component in VB. The path to which I saved the

component

> >looks like this c:\components\logon component\component.dll

> >

> >I have now registered the component, however when I want to

unregister

> the

> >component with the command

> >c:\regsvr32 /u c:\components\logon component\component.dll

> >

> >I get an error that reads:

> >LoadLibrary("c:\component\logon") failed - The specified module could

not

> >be found.

> >

> >I noticed within my directory path I have a white space. however I

dont

> >thing that should affect this unregistering of the component.

> >

> >What could i be doing wrong?

> >

> >Thanks in advance!

> >

> >Caesar

>

>

> 
Message #4 by "Caesar" <caesar@w...> on Sun, 25 Mar 2001 18:15:32
Thanks! I managed to solve the problem!



Caesar

> I do think that the space can cause the problem: I think this is caused 

> because of the Long File Names that are not correctly supported in the 

> command prompt:

> 

> You have three solutions:

> 

> 1. Enclose the path / file name in quotes,

> 2. Use the old 8.3 naming scheme (look up the properties of the DLL to 

> discover the "old" DOS names),

> 3. Change to the directory where the DLL resides, and omit the path to 

the 

> file when you use regsvr32.

> 

> 

> Hope this helps,

> 

> Imar

> 

> 

> At 11:29 AM 3/24/2001 +0000, you wrote:

> >Hi!

> >

> >I have written a component in VB. The path to which I saved the 

component

> >looks like this c:\components\logon component\component.dll

> >

> >I have now registered the component, however when I want to unregister 

the

> >component with the command

> >c:\regsvr32 /u c:\components\logon component\component.dll

> >

> >I get an error that reads:

> >LoadLibrary("c:\component\logon") failed - The specified module could 

not

> >be found.

> >

> >I noticed within my directory path I have a white space. however I dont

> >thing that should affect this unregistering of the component.

> >

> >What could i be doing wrong?

> >

> >Thanks in advance!

> >

> >Caesar

> 

Message #5 by victoria.seltser@p... on Mon, 26 Mar 2001 10:19:31 -0400
Try to include the path to the component in quotes.



Victoria...











"Caesar" <caesar@w...> on 03/24/2001 06:29:11 AM



Please respond to "ASP components" <asp_components@p...>



To:   "ASP components" <asp_components@p...>

cc:

Subject:  [asp_components] Component Problem





Hi!



I have written a component in VB. The path to which I saved the component

looks like this c:\components\logon component\component.dll



I have now registered the component, however when I want to unregister the

component with the command

c:\regsvr32 /u c:\components\logon component\component.dll



I get an error that reads:

LoadLibrary("c:\component\logon") failed - The specified module could not

be found.



I noticed within my directory path I have a white space. however I dont

thing that should affect this unregistering of the component.



What could i be doing wrong?



Thanks in advance!



Caesar


















  Return to Index