VS 2005 Different Versions Of Dll's?

Dec 22, 2010

I am developing a plugin into a third party control. They ship a SDK dll with their application to allow you to do this. However I am writing the plugin using version 1.1.0.0 of their SDK, but when trying to run the application on a clients machine that has a new version of the software the SDK version is 1.4.0.0 and my app throws the following error:

System.IO.FileLoadException: Could not load file or assembly 'MyDll.dll, Version=1.1.0.0, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

When the dll is referenced into Visual Studio I have changed the Specific Version property to false, however this has not made any difference. The dll is not reference from GAC.Is there a way that I can tell my application to just use the version of dll that is on the users machine? I have checked with the 3rd party vendor and the functionality that I am using has not changed in any of the versions as they use a back-ward compatibility approach to their software.

View 1 Replies


ADVERTISEMENT

Getting Runtime Error 3447 - Jet VBA File (VBAJET.dll For 16-bit Versions Or VBAJET32 For 32-bit Versions) Failed To Initialize When Called

Aug 19, 2010

To the board: Lately I've been getting Runtime error 3447 ("The Jet VBA file (VBAJET.dll for 16-bit versions, or VBAJET32 for 32-bit versions) failed to initialize when called. Try reinstalling the application that returned the error") when attempting to open a certain program (not one that I designed, just downloaded and installed). I installed this program in January 2009, but this error began happening only this past July. someone else to information about the files vbajet32.dll and expsrv.dll. One site said that the problem was probably caused by the file expsrv.dll being absent, but I checked my System32 folder, and it's there. As far as I can tell, it has always been there (the computer was made in 2008, and as I said the program had always worked before). Vbajet32.dll is also there. I tried uninstalling and reinstalling the program, but error 3447 still occurs. I also tried uninstalling the program and installing an older version, but 3447 is still there.

I tried replacing expsrv.dll, thinking it might have been corrupt, but that didn't help, and I cannot register that dll anyway. I can't figure this thing out. Both of the files are there, and I didn't change any settings or anything anywhere between last January and this July. By the way, I am on Vista.

View 1 Replies

Crystal Report Versions For VS 2005 Or 2010

Feb 17, 2012

I decided to learn reporting in visual basic .net 2005 but I didn't know what version of crystal report to be used. I've heard that we must use appropriate version for different Visual Studio. Can you please give me the exact version for VS 2005 and 2010?

View 1 Replies

Converting Between Versions Of .Net?

Nov 13, 2009

I unfortunately downloaded and installed Visual Studio 2010 and upgraded all my programs to .Net 4. I am really unhappy with the way 2010 runs. My computer keeps locking up for hours, programs take a long time to compile... Those are a couple of major issues.

View 3 Replies

Have Multiple Versions Of VS On PC

Mar 2, 2009

I thought would be a simple google search but apparently I am not searching correctly - or something...

Does anyone know if I can do this? I would like to start working with 3.5 however all the projects I am doing are still in 2.0

View 8 Replies

Work With Different Versions Of Excel From VB?

Jun 10, 2009

I have a dataset that I export to xml (using ds.WriteXml) and then use an instance of Microsoft.Office.Interop.Excel.Application to open and manipulate the xml data, then save it as an .XLS file.I have office 2007 (why don't they have help/about in an easy to find place... man I hate those stupid office ribbons and the person who developed them...)Anyway, this code works fine for me. But when I put this on a machine that has office 2003 installed, it crashes.So, what do I need to install, reference, buy, etc. so that I can do the same thing on machines that have 2003 (or before) installed? No, I can't install office 2003 (my first thought).

View 8 Replies

Accommodating Multiple DLL Versions?

Jun 22, 2009

I have an application that uses a Microsoft DLL (Microsoft.ComponentStudio.ComponentPlatformImplementation.dll) which is used for OS deployment and accessing the catalog files. Version 6.0.0.0 is specific to the Windows Server 2008 catalog files. The newer version 6.1.0.0 is specific to Windows Server 2008 R2 catalog files. Attempting to access a catalog file with the incorrect version results in an exception.

My application (VB.NET using VS2005) needs to be able to access either version of these catalogs - I'd be happy with two executables (one for each catalog version) but obviously I don't want to maintain two sets of source code for each. Specifying both sets of DLLs in the project reference is not possible as the DLL names are identical. I'd rather not have to manually add and remove the DLL references each time I want to a build. As far as I know the interfaces etc are effectively identical between the two.

View 2 Replies

Application For All Versions Of Excel

May 10, 2012

Is there possible to built application which is automating something with some cain of interejs that provide to switch any version of excel? I just want to built universal code for any cain of excel 2000/2003/2007/2012 and just could switch in code if u know what I mean..

View 5 Replies

Different Versions Of Base Class

Sep 7, 2011

Any best practices on how to deal with different versions of base classes.We have made significant changes to the base class but still have lots of code inheriting from the old base class. Could you recommend how we introduce new base class.We'd like all new code to use the new base class. But, we would like the option to have old code still inherit from old base class so we have time to switch and test old classes with new base class.

View 11 Replies

Get A List Of The Differences Between Versions?

Nov 17, 2010

know where I can get a list of the differences between VB.Net versions? For example, in which version were generics first introduced, and when did the "Using" keyword come into being?

I've tried googling it and all I seem to get are the differences between VB6 and VB.Net, which isn't what I'm after.

View 2 Replies

Later Versions Of Excel With Application

Mar 2, 2009

The application was developed with Excel 2000 but doesn't work with 2003 or 2007. The save isn't working. Everything I have googled shows this to be a common problem. I just haven't found a solution that works. [code] We the willing, led by the unknowing, are trying to do the impossible for the ungrateful.We have done so much for so long with so little we are now qualified to do anything with nothing.

View 10 Replies

Saving And Retrieving Old Versions

Feb 1, 2012

I work for an FDA regulated company, and they are obviously very particular about keeping track of any software changes. If I build a Windows application and then later wish to make a change to that application, does Visual Studio provide a way to save the source code for the old version of the app and the new version in separate locations?

[Code]...

View 1 Replies

Vb6 - Differences Between And Previous Versions Of VB?

Sep 1, 2009

I'm reasonably familiar with the various forms of VB that existed prior to .NET (VB6, VBA, VBScript...), but have yet to delve into The Sweet New Flavor that is VB.NET.

View 6 Replies

.net - Serial COM-connections 64bit Versions?

Jan 4, 2010

I have a .net Application that writes text to a serial COM port, a POS reciept printer to be more exact. i am using the Rs232 class library to write and read to a serial device.My problem is now with some clients that have updated their operatingsystem to WIN7 64bit version, have trouble to create a connection to the COM-port. the com-port seemes to get occupied with some other process and that blocks my application to opening a new connection. so for my question, does anyone know how i can close all connections to a com port? or see whats blocking it? once again this seems to only to affect win7 and 64bit users.

View 1 Replies

Accommodate 2 Different Assembly Versions Of A Reference DLL?

Aug 13, 2009

I have a pretty complicated project with lots of class files, code modules, etc. There was a changed to one of my referenced DLLs that requires an isolated change in a single Sub within my solution. Unfortunately, this new Sub is not compatible with most of my clients' configuration but is required by some of my other clients. So now I must keep two versions in Source Safe of my solution - which I do not want to do. What I would like to do is to be able to determine which DLL is running and flip a switch to use the either the old Sub or the new Sub. Currently the sub is in a class, but I could break it out. Is it possible to determine which assembly version DLL is running? Also, if I reference the new DLL, the old Sub will not build. If I reference the old DLL, the new Sub will not build. So is there a way to keep both Subs in the same project?

Can I use reflection to know what is the assembly version of a loaded DLL?

View 3 Replies

C# - ASP.NET: Multiple Assembly Versions, Same Web Application?

May 28, 2009

ASP.NET pros out there can answer this question. I have a single web application that contains a website and a web service - both have several assembly references in common (data access layer, utilities, etc) - however, recent changes made to the web service will require different versions of the common assemblies, versions that the website won't work with (in case you're wondering, the website is some legacy 1.x .NET code that explodes when using the newer version assemblies.)

allow my web service to reference one version and have my website reference another? I can obviously have only one version with the same name within the bin folder.(P.S. - It just dawned on me that I could probably compile and reference the common assemblies with a different name, and place those in the web app's bin folder - but that sounds really fugly...)

View 4 Replies

Checking Dependency To Older Dot Net Versions?

Jan 19, 2010

I have some project that written in .net 3.5 environment. But there still some dependency to .net 2.0 .How I can find this dependence parts of the code that use the old API ? I just want to update all code to 3.5 version.Project written in vb.net.

View 4 Replies

Code For 2008 And 2010 Versions Of .Net?

Sep 3, 2009

<edit> On 27th January, 2011.If you are using VB.Net 2005 or earlier then please see my 14th post in this thread.</edit>I saw a post earlier on which reminded me about Extension Methods.This led me to create the following code which acts on the base class

[Code]...

View 1 Replies

Compatibility Between The 32-bit And 64-bit Versions Software Of .net2010?

Oct 25, 2011

Compatibility Between the 32-bit and 64-bit Versions software of .net2010

View 2 Replies

Deployment On Older Windows Versions

Dec 20, 2005

The software I design is for Win XP and older versions such as Win 98, ME, 2000 etc. I currently use VB6 and Win XP for development and packaging, the problem I encounter is that if I use the deployment wizard in XP, the setup will only work on an XP machine and I need to copy all my source to an older machine and use the wizard again to create another setup file which will only work on the older operating systems. Is there a way to rectify this in VB6? If not, does the new VB account for this and be able to make a setup file for older operating systems as well as XP?

View 2 Replies

Developing An Application For Use Over Different Versions Of The .NET Framework

Jan 4, 2011

I am developing an application using VB.Net which is a simple executable which is to be run from a network drive of our company servers. Most users can access this executable without issue - others however can open the executable but have no connection to our database (even though when running the executable off a local drive such as C:, the database works no problem).

From some posts I have seen this might be a CAS issue - however our IT department suggest the issue might be down to different version of the .NET Framework being to blame. Firstly, is this the issue? Secondly, how can I develop my application to work with different versions of the .NET Framework? Surely this doesn't mean developing many different executables?

View 15 Replies

Get CD TOC - Found Some Links But All Is Described With Older Versions?

Jul 25, 2009

how is it possible to get the CD TOC with Visual Basic 2008? Is there anywhere a tutorial about this?I have found some links but all is described with older Versions (VB 6).

View 1 Replies

Obtain The Declaration Statement Of Which There Are A Few Different Versions?

Oct 11, 2009

I am having problems using the GetWindowRect statement I've searched many forums and used the API text viewer to obtain the declaration statement of which there are a few different versions, a couple being :

View 3 Replies

One Project That Targets 2 Versions Of The Framework

Oct 4, 2011

I don't think this is possible but thought I'd just double check...

I have a class library project (i.e building this project results in a DLL being created) and I add a reference to this DLL in several of my other applications. This DLL project targets .NET Framework v2.0.

However, some of these apps that use the DLL target .NET 2.0 (or 3.5) and some target .NET 4.0. But because .NET 4.0 does not include 2.0 and 3.5 in it, its possible for someone to have .NET 4.0 installed but not .NET 2.0, therefore meaning that they won't be able to run my app because of the reference to a DLL that requires .NET 2.0.

So the solutions as far as I can see are: 1. Include .NET 2.0/3.5 as an additional prereq for my .NET 4.0 apps... ewww. 2. Create a copy of this DLL project and make it target .NET 4.0 then in my .NET 4.0 apps add a reference to that rather than the .NET 2.0 version.

So far I've been using the second option, which is working fine but its just very annoying having to remember to copy and paste any changes I make in one version of the DLL project into the other one.

So is there any way I can have a single DLL project but have it build 2 versions of the DLL, one targeting .NET 2.0/3.5 and one targeting .NET 4.0? As I've written this down I've just realised I could always build the solution, copy the DLL out to another folder, then change the target framework and build it again to get the new DLL but that's still not ideal.

Using VS 2010 Ultimate by the way in case that makes any difference to the options I've got available

View 6 Replies

VB 2008: Publish Two Versions Of The Same Program?

Jun 15, 2009

I have two slightly different versions of my VB applications that I would like to publish simultaneously. The differences are minimal and mostly include GUI and some internal logic. Incorporating changes into a single application is not an option right now.

I tried publishing and installing them separately but the latest installer always overwrites whatever has already been installed. For example, if I install App v1, then App v2, only App v2 will be visible. If App v1 is installed after App v2, only App v1 will be visible. What I want to have is to have them both installed. I am using Visual Studio 2008.

View 1 Replies

VB2010 Sequential Program Versions?

Oct 7, 2011

I am new to the Forum and I hope this is the best location for this thread.I SEARCHed a few threads, but did not see quite what I was after.I am interested in how to make VB 2010 create a NEW COPY of my current project, with a NEW project Folder, New Name, but a copy of all of my forms and modules.

I see that VB 2010 puts my new projects in their own folder in Libraries/Documents/Visual Studio 2010 /Projects.As an example, I am working on a project, and have it a partially completed, partially working mode, and want to save this version before I go on making further additions and modifications to it.

I want the New Version to be the same as the current version, but I don't want any changes made to effect the older version.I could manually copy the current project's folder, but I am not sure what all of the sub folders and files do, or point to, or would otherwise have to be changed.

I'm NOT looking to track each change made in the project. I just want to occassionally have a backup version I can fall back on.I have several VB 2010 texts, but they don't seem to address this question.

View 2 Replies

VS 2008 Conflicting Assembly Versions?

Apr 20, 2010

I have a COM application (X) that references various .NET assemblies. All the .NET assemblies, with the exception of one (Y), were created a while ago and reference an earlier version of a 3rd party component, say version 1. The other .NET assembly (Y) uses a later version of the 3rd party component, say version 2.When I install the COM application (X) on the target pc, version 1 of the 3rd party component is installed in the installation directory of the COM application. The .NET assembly (Y) is installed into its own directory on the target pc and has version 2 of the 3rd party component installed in its installation directory.

When I run the COM application (X) and try to launch (Y), I get an error because I guess the COM application is forcing (Y) to use the version installed in its app.dir, in this case version 1 as opposed to version 2. Is there any way around this? It seems a bit much to have to rebuild all the projects that reference this assembly just to sync versions.

View 6 Replies

VS 2010 Multiple Versions Of Project?

Jun 23, 2011

I want to update the project with some new functionality but I want to keep the original intact.What's the best way to go about creating a new project with copies of all the files and resources from the original, but with paths that all point to the new copy?

View 5 Replies

Accommodate 2 Diff Assembly Versions Of A Reference DLL?

Aug 13, 2009

I have a pretty complicated project with lots of class files, code modules, etc. There was a changed to one of my referenced DLLs that requires an isolated change in a single Sub within my solution. Unfortunately, this new Sub is not compatible with most of my clients' configuration but is required by some of my other clients. So now I must keep two versions in Source Safe of my solution - which I do not want to do. What I would like to do is to be able to determine which DLL is running and flip a switch to use the either the old Sub or the new Sub. Currently the sub is in a class, but I could break it out. Is it possible to determine which assembly version DLL is running? Also, if I reference the new DLL, the old Sub will not build. If I reference the old DLL, the new Sub will not build. So is there a way to keep both Subs in the same project?

View 1 Replies

Add Older Versions Compatibility Of Framework To Project?

Aug 16, 2010

I made a small program which i have sent to all users in my network. Unfortunately i forgot about older versions of framework.

Is there a quick and easy way to add older versions compatibility of framework to my project?

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved