?
Solved

Component re-Building Problem

Posted on 2002-06-24
6
Medium Priority
?
172 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 100 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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 …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Suggested Courses
Course of the Month13 days, 2 hours left to enroll

777 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