CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Faltering Windows support
  • Internet Explorer 8 Click Clever Click Safe
  • Release Candidate 2 for ASP.NET MVC 2
  • Learn How to Create Dual Mode Windows Services

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Visual Basic 6.0 Programming
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Visual Basic 6.0 Programming Ask questions about VB 6.0 (or earlier versions) or help others by answering their question.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old November 24th, 2009, 05:31 PM
    RSD559 RSD559 is offline
    Junior Member
     
    Join Date: May 2006
    Posts: 17
    RSD559 is an unknown quantity at this point (<10)
    Can't register dlls in Vista/Windows 7 programatically

    Have a large VB6 application, with lots of DLLs written in VB6. We have a program that scans the user machine for files that need updating. It does this before firing up the program. If it finds a DLL file with a newer version available, it will replace the DLL and re-register that DLL. Works great until Vista and Windows 7 come along. They require administrator rights to register DLLs, which our security folks will not allow. How is everyone else migrating new versions of programs and libraries to the user machines?
    Reply With Quote
      #2    
    Old November 25th, 2009, 09:35 AM
    HanneSThEGreaT's Avatar
    HanneSThEGreaT HanneSThEGreaT is online now
    The Moody Mod
    Power Poster
     
    Join Date: Jul 2001
    Location: Vereeniging, South Africa
    Posts: 8,006
    HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+)
    Re: Can't register dlls in Vista/Windows 7 programatically

    It doesn't matter how everyone else is migrating their programs, as this will still happen.

    Run your program as Administrator

    or

    provide a manifest file for your program

    or

    disable the UAC - which you really don't want to do.
    __________________
    My Latest Articles :
    Changing Mouse Settings with VB.NET || Creating Your Own Encryption / Decryption Program Using VB.NET 2005 || Autorun Menu Creator in VB.NET || Creating Your Own Tetris Game With VB.NET Part 1
    Find All My Articles : Here

    FAQs :
    .NET FrameWork FAQs || Visual Basic.NET FAQs || C# FAQs

    Be The Change That You Want To See In The World - Michael Scofield, Prison Break; Season 1 Episode 1

    Read This Before You Post || Acceptable Use Policy
    Reply With Quote
      #3    
    Old November 25th, 2009, 12:04 PM
    dglienna's Avatar
    dglienna dglienna is offline
    ex MVP - Visual Basic
    Power Poster
     
    Join Date: Jan 2006
    Location: Chicago, IL
    Posts: 10,288
    dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+) dglienna has a brilliant future (2000+)
    Re: Can't register dlls in Vista/Windows 7 programatically

    There are tools available to TWEAK any application that has compatibility prooblems. You need the DART Tools for Windows 7, available thru MSDN
    __________________
    David CodeGuru Article: Bound Controls are Evil-VB6
    101 Samples: VB & C# VS2008 Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!
    Reply With Quote
      #4    
    Old November 25th, 2009, 04:51 PM
    RSD559 RSD559 is offline
    Junior Member
     
    Join Date: May 2006
    Posts: 17
    RSD559 is an unknown quantity at this point (<10)
    Re: Can't register dlls in Vista/Windows 7 programatically

    Thanks for the input. I found an MSDN article about registration free COM components. It talks about manifests. A lot of work, but it will work. I'll check out the DART tools. Thanks again.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Visual Basic 6.0 Programming


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 09:56 AM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.