Re: Problem with Custom Control in Building it when the same is used in a new windows project solution

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



See Windows Forms Tips and Tricks for an article on how to debug Windows
Forms Controls. You may also be suffering from a known problem vis-a-vis
versioning of your control. To overcome this set the version number in your
AssemblyInfo file to an explicit value. ie.. remove all the asterisks.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.



"Kiran" <someone@xxxxxxxxxxxxx> wrote in message
news:%23nBO4YnLGHA.1536@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have created a custom control. I am using this control in a new windows
solution-Project after adding the dll from custom control project's bin
directory to the toolbox.

this works ok for the first time. when I try to do changes in custom
control and build it, it builds successfully but never overwrites the dll
in bin(and also the changes doesn't gets reflected in the project where I
have used this).

I tried changing the project configuration from debug to relase and then
builded, then I was able to see a dll in relase dir. at present date time.
But when add this dll to toolbox and use this custom control in the new
project after deleteing the old custom control, the custom control doesn't
has the changes.


this was supposed to be simple(I think so :) ). don't know much of this as
I am new to windows and used to work in web.


Note:
the custom cotrol works with changes if I have the custom control project
and new windows project in the same solution. don't understand how this
works?


can someone please help me with this


Thanks
Kiran


.



Relevant Pages

  • Re: MORE Lyle Blake Info......
    ... control that will do what you want to do... ... Why not take all your best stuff, gather it into a DLL and produce your own ... core functionality for Windows? ... >Of course the Parent App will almost certainly not be one of my own ...
    (comp.lang.pascal.delphi.misc)
  • Re: older games dont work
    ... the support of my work have it and will burn a CD to me. ... and any other tips to make this game works will be great. ... Windows 95 including but not limited to: ... to map a pedal as a control ...
    (microsoft.public.windowsxp.games)
  • Re: Listing of XP tools commands
    ... All files with a .cpl extension are normally invoked via the Control ... IP Configuration - ipconfi/all ... Logs You Out Of Windows - logoff... ... System File Checker Utility - sfc /revert ...
    (microsoft.public.windowsxp.general)
  • Re: Listing of XP tools commands
    ... All files with a .cpl extension are normally invoked via the Control ... IP Configuration - ipconfi/all ... Logs You Out Of Windows - logoff... ... System File Checker Utility - sfc /revert ...
    (microsoft.public.windowsxp.general)
  • Re: Listing of XP tools commands
    ... All files with a .cpl extension are normally invoked via the Control ... IP Configuration - ipconfi/all ... Logs You Out Of Windows - logoff... ... System File Checker Utility - sfc /revert ...
    (microsoft.public.windowsxp.general)