Solved

Component re-Building Problem

Posted on 2002-06-24
6
169 Views
Last Modified: 2010-05-02
When I create an ActiveX DLL Project in VB and create a component and then Make it xyz.dll from File Menu, it creates a dll. The problem is that when I change something in project and Re-compile it with same name, a dialog box appear "Permission denied xyz.dll".
what is solution.
I am using VB6 Enterprise Ed.
Windows 2000 prof.
0
Comment
Question by:AhmadKhan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Accepted Solution

by:
fparie earned 50 total points
ID: 7106607
Something is locking your DLL. It could be:

- the web server that has used you DLL (this will keep it locked until you restart the web server service (IISAdmin) ).
- another instance of VB that has your DLL referenced (close it and you're done)

Good luck
francois
0
 
LVL 1

Expert Comment

by:Madmarlin
ID: 7106705
Rather than compile your DLL.
Why done you run it in debug mode through the VB enviroment untill testing has proven to have passed then simply compile then...

Remember to set the Dll running forst and I'd suggest late binding while debugging to make life easier..

Good luck Madmarlin
0
 
LVL 5

Expert Comment

by:rpai
ID: 7107812
There is some process or application that is still holding reference to your object when you try to re-compile it with the changes and hence the error.
- Make sure all you close all the applications that might be referencing you dll.
- Also, if this object is installed in MTS on your machine. Make sure you run MtxStop, before re-compiling.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:bob_online
ID: 7107929
I encounter this sometimes when the only thing referencing it is VB itself.  If this is the case, close the project, close VB, restart VB, reopen the project and you should be good to go.
0
 

Author Comment

by:AhmadKhan
ID: 7109806
Thanks for all
My Problem is solved to stop the IISADMIN
0
 

Author Comment

by:AhmadKhan
ID: 7109810
I've find the solution from MSDN
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question