Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Dll problem

Dll problem

Scheduled Pinned Locked Moved .NET (Core and Framework)
questionhelpannouncement
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nithya Jayaker
    wrote on last edited by
    #1

    Hello I have created a solution wherein i hv used control components and added my code to it. The dll of these components were prepared and hv already been used in my solution and forms hv been created. But now i hv changed one of the components properties (the font) and thereby the dll has been changed.But now i want to update all the controls in all the forms. How can i solve this problem? Please let me know.... Thanking You Nithya

    S S 2 Replies Last reply
    0
    • N Nithya Jayaker

      Hello I have created a solution wherein i hv used control components and added my code to it. The dll of these components were prepared and hv already been used in my solution and forms hv been created. But now i hv changed one of the components properties (the font) and thereby the dll has been changed.But now i want to update all the controls in all the forms. How can i solve this problem? Please let me know.... Thanking You Nithya

      S Offline
      S Offline
      Sebastian Schneider
      wrote on last edited by
      #2

      hv? Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.

      1 Reply Last reply
      0
      • N Nithya Jayaker

        Hello I have created a solution wherein i hv used control components and added my code to it. The dll of these components were prepared and hv already been used in my solution and forms hv been created. But now i hv changed one of the components properties (the font) and thereby the dll has been changed.But now i want to update all the controls in all the forms. How can i solve this problem? Please let me know.... Thanking You Nithya

        S Offline
        S Offline
        sathish s
        wrote on last edited by
        #3

        You dint mention whether it is an Web or windows application? If this is a winform appllication, Just change the reference. Remove reference of the old dll and add referece to the new dll. I suppose this should work for webapplicaiton as well..

        N 1 Reply Last reply
        0
        • S sathish s

          You dint mention whether it is an Web or windows application? If this is a winform appllication, Just change the reference. Remove reference of the old dll and add referece to the new dll. I suppose this should work for webapplicaiton as well..

          N Offline
          N Offline
          Nithya Jayaker
          wrote on last edited by
          #4

          Thnx for ur reply. Yes it is a windows application. The solution you suggested allows new controls that can be added in the new format. But the old ones that have been created does not change their font. My basic requirement is that all of them change their fonts. Working on it, but if you have any ideas pls mail. Thanks Nithya

          R S 2 Replies Last reply
          0
          • N Nithya Jayaker

            Thnx for ur reply. Yes it is a windows application. The solution you suggested allows new controls that can be added in the new format. But the old ones that have been created does not change their font. My basic requirement is that all of them change their fonts. Working on it, but if you have any ideas pls mail. Thanks Nithya

            R Offline
            R Offline
            Robert Rohde
            wrote on last edited by
            #5

            Most probably the designer already generated the code for the Font property. Thus no matter what you change in the control the designer will overwrite it with its generated code. If you really want that all your control have a fixed Font which cannot be changed than you'll have to override the Font property in your control and leave the setter empty.

            1 Reply Last reply
            0
            • N Nithya Jayaker

              Thnx for ur reply. Yes it is a windows application. The solution you suggested allows new controls that can be added in the new format. But the old ones that have been created does not change their font. My basic requirement is that all of them change their fonts. Working on it, but if you have any ideas pls mail. Thanks Nithya

              S Offline
              S Offline
              sathish s
              wrote on last edited by
              #6

              You might be dealing with two different versions of a dll. Say, You create a windows custom control, add it to the toolbox using add/remove component and designed all your forms. And now, you have updated the custom control and a new dll will be created. To solve this you have to find the path where you old dll resides and replace it with the new one and build the application. *check* The refrence path to dll and one which is in the toolbox points to the same location.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups