Hi everybody,
I have got a conceptual issue. I have created a class
application (.dll) with VB.Net and give reference to
another windows application.The dll file got copied to my
windows application file and all went fine and I am able
to execute the methods on the base dll after instantiating
the class application.
But after that I modified base class application (added
some new methods to it) and compile so as to make the next
version of the dll.Then without removng the reference to
the previous version when I tried to execute the windows
application it first gave me the warning that "There are
some errors.Do you want to continue?" After choosing no,
when I tried to see the methods of my objects , to my
surprise, it got automatically changed to the newly buit
version of dll
I had not changed any of the propery (it is supposed to
take the local copy of the assmbly for execution in the
client application).Bu t still I am not able to understand
why the windows application is taking reference of the
physical dll file though the local copy is existing on the
file.
Is there any setting in order to use the previous version
of the dll?
If the physical file is always referenced, then what is
the use of bringing it down to the client's worksapce?
Thanks in advance,
Regards,
Sherin George 2 1886
Hi there,
If I understand you correctly, you do not want the project to
automatically update to the latest version of the DLL?
In this case,
1. Open the solution explorer
2. Open the references node
3. Click on your referenced assembly in the list
4. Press F4 to display the properties panel
5. Change the property "Copy Local" to false
Now as long as you already have a copy of the DLL in the applications
path it will work with the current DLL. If you want to update it yourself
change copy local to true again, compile and then change it to false again.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Hi there,
If I understand you correctly, you do not want the project to
automatically update to the latest version of the DLL?
In this case,
1. Open the solution explorer
2. Open the references node
3. Click on your referenced assembly in the list
4. Press F4 to display the properties panel
5. Change the property "Copy Local" to false
Now as long as you already have a copy of the DLL in the applications
path it will work with the current DLL. If you want to update it yourself
change copy local to true again, compile and then change it to false again.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Russell Stevens |
last post by:
Should be trivial - I want to detect the program version so that I can
take steps to update things to the current version. Pretty simple - just use
Application.ProductVersion
So I install the app on a file server. Various workstations then load the
app and run it. Some workstations are Win98, some are XP. To enable users to
access the...
|
by: Steven T. Hatton |
last post by:
I believe the answer is that the language doesn't support the ability to
retain a reference to a std::indirect_array<>, and would be illadvised to
try, but I figure I'll ask just to be sure. What I mean by retaining a
handle is that I would like to have a class that has a member field
functioning as a reference into a valarray initialized by...
|
by: John |
last post by:
Hi
I have an old access 97 application which I need to upgrade to one of the
newer versions. Which of the access versions xp or 2003 should I choose?
Which one is more stable?
Thanks
Regards
|
by: Nick Wain |
last post by:
Hello All,
I'm relatively new to PYTHON, using PYTHON 2.4 on Windows XP. I'm having a
problem as below. I've asked some other people in my office who are more
experienced in PYTHON, but they can't help.
I have a number of files created in UNIX that have the UNIX end of line
(EOL) character.
I want to read these files in python, modify...
|
by: Andrew |
last post by:
In ASP.NET 1.1 I used to retreive the version of my code-behind assembly
using following syntax:
Assembly.GetExecutingAssembly().GetName().Version
The version was defined in AssemblyInfo.cs using
After migrating to ASP.NET 2.0 this line of code always return 0.0.0.0. How
do I retreive the assembly version of ASP.NET application?
Thanks
| |
by: Felix |
last post by:
Ok, I've had this issues since yesterday and I cannot figure out what's
causing it.
Basically, I have a Visual Studio 2005 Web Service. The service runs
completely find on my local development environment (running WinXP, with .NET
1.1 & .NET 2.0 installed).
I would normally Publish the website to another machine using the built in...
|
by: Markus Stoeger |
last post by:
Hi,
I have a problem with Application.Run() when Windows is shutting down.
Please have a look at the copy&paste example program below.
The application has no forms. It has only got a notify icon in the
system tray and it uses Application.Run() to keep the message loop
running. When the user clicks the icon, the application should shut...
|
by: David Cartwright |
last post by:
Hi all,
I'm using a DataGrid to present a tabulated list (actually a list of users
logged in to my phone system) - it seemed the most appropriate control. As
stuff happens on the phone system, my program changes the colours of various
lines - so if someone's on the phone their line would turn red, when they
hang up it turns green, and so...
|
by: schaf |
last post by:
Hi Ng!
My application (version 1 a1) communicates with a service (version 1
s1). Now I would like to update the service and create a service
version 2 (s2). The new function calls within s2 are implemented in a
new interface, which derive from the old one to ensure that an old
version of my application (a1) still works with s2.
If i run my...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |