| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|
|||||||
| Visual Basic 6.0 Programming Ask questions about VB 6.0 (or earlier versions) or help others by answering their question. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
||||
|
||||
|
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
|
|
#3
|
||||
|
||||
|
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!
|
|
#4
|
|||
|
|||
|
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.
|
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|