Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: How to remove dll reference from "Project >> References" menu in VB


Message #1 by "BlessedSoul" <blessedsoul@s...> on Fri, 22 Nov 2002 15:03:42 +0530
Thanks too

Lets make the world better place...
Peace... Ozanhan



-----Original Message-----
From: BlessedSoul [mailto:blessedsoul@s...]
Sent: Saturday, November 23, 2002 8:32 AM
To: professional vb
Subject: [pro_vb] RE: How to remove dll reference from "Project >> 
References" menu in VB


Hi Ozanhan,

a million thanx to you... that has been a great help
thanx again

Manish


----- Original Message -----
From: "Ozanhan Ana=E7" <oanac@t...>
To: "professional vb" <pro_vb@p...>
Sent: Friday, November 22, 2002 3:28 PM
Subject: [pro_vb] RE: How to remove dll reference from "Project >>
References" menu in VB


Hi
Yes problem is related with version compatiblity. If you have choosen 
binary
compatibility and not deleted old DLL you will not receive this error.
But now the solution is :
select no compatiblity
compile your DLL
then you will see a new registration with same name in the references 
menu.
Unselect old one then select new one (new one will be at lower of the 
list).
and use it. but be sure that to choose "binary compatibility" for next
compiling of DLL, and dont delete old DLL,

to delete the old registration from registry you must search your class
names of DLL on the registry
bu be sure not to the delete new registration

sorry for my bad english, if you cant understand wht i mean pls feel 
free to
ask again


-----Original Message-----
From: BlessedSoul [mailto:blessedsoul@s...]
Sent: Friday, November 22, 2002 11:34 AM
To: professional vb
Subject: [pro_vb] How to remove dll reference from "Project >> 
References"
menu in VB


Hi GuRus... please.. please... have patience to read my query and give 
me
the solution..... thanx :-)

1) i had registered a dll (made by me only.....  When compiling the dll 
i
kept the "Version Compatibility" option to "No Compatibility"

2) I registred it, took the reference in my vb program and used it
successfully

3) Now.... the original dll was deleted (unfortunately)

4) I compiled it again and tried using it again in my vb prog, it gives 
me
error > "ActiveX component can't create object"

Now what could be the reason for this ? (does this problem has any 
relation
with version compatibility?)
Secondly... now when i unregister the dll, it is still showing up there 
in
"Project > References" menu

How do i remove dll reference from "Project >> References" menu ( i 
tried
deleting (nullifying) the registry entries, it did'nt worked, still 
showing
in references !!)

i appriciate you kept patience to read it till the end ... thanx

pls help me out of this...


Lets make the world better place...
Peace... Manish








  Return to Index