Deployment :: Checking 'Remove Previous Versions' Does NOTHING

Mar 31, 2009

I recently created a deployment project for my windows application in Visual Studio 2008, and have found that changing the "Remove Previous Versions" property to True does absolutely nothing. When clicking the installer, it will say a previous version is installed, then immediately quit.

View 2 Replies


ADVERTISEMENT

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

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

Deployment :: Which Windows Versions Are Supported From .NET 2008

Mar 9, 2010

I have made a Windows Application using the VB.NET 2008. Which are the Windows versions at, my Application can work?For example Windows 98, 2000, NT, XP....

View 1 Replies

Display Previous Shadow Copy Versions Of File Allowing User To Choose One?

Dec 11, 2011

I'm writing an Excel file recovery program with VB.Net that tries to be a convenient place to gather and access Microsoft's recommended methods. If your interested in my probably kludgy, error filled, and lacking enough cleanup code it's here: http:[url]..... The basic functionality seems to work although I haven't tested graph macro table recovery yet.

It occurred to me that Vista and Windows 7 users could benefit from being offered a list of previous versions of the file within my application if the Shadow Copy Service is on and there are previous copies. How do I do this?I looked at a lot of web pages but found no easy to crib code. One possibility I guess would be to use vssadmin via the shell but that is pretty cumbersome. I just want to display a dialogue box like the Previous Versions property sheet and allow users to pick one of the previous versions. I guess I could just display the previous version property sheet via the shell by programmatically invoking the context menu and the "Restore previous versions choice", however I also want to be able to offer the list for Vista Home Basic and Premium Users who don't have access to that tab even though apparently the previous versions still exist. Additionally if it possible I would like to offer XP users the same functionality although I'm pretty sure with XP only the System files are in the shadow copies.

I looked at MSDN on the Shadow Copy Service and went through all the pages, I also looked at AlphaVSS and AlphaFS and all the comments. I'm kind of guessing that I need to use AlphaVss and AlphFS and do the following?Find out the list of snapshots/restore points that exist on the computer.Mount those snapshots.Navigate in the mounted volumes to the Excel file the user wants to recover and make a list of those paths.With the list of paths handy, compare with some kind of diff program, the shadow copies of the files with the original.Pull out the youngest or oldest version (I don't think it matters) of those shadow copies that differ from the recovery target.List those versions of the files that are found to be different.This seems cumbersome and slow, but maybe is the fastest way to do things. I just need some confirmation that is the way to go now.

View 2 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

PInvokeStackImbalance Error In VS2010 Calling Unmanaged C Function With A String (works In Previous VS Versions)

Aug 9, 2010

In VS2010 I'm encountering a PInvokeStackImbalance error when I call an unmanaged C function that takes a string argument. This only happens in VS2010 (works fine in earlier versions of vs). I know the MDA is more strict in VS2010 but I can't seem to figure out what the actual problem is.

[Code]...

View 2 Replies

VS 2010 Class Library / - If Create A DLL Using VB 2010 Express Can It Be Used By Previous Versions Of Of .Net (3.5 - 2.0)

Aug 19, 2011

If I create a DLL using VB 2010 express can it be used by previous versions of of .Net (3.5, 2.0)? Will the DLL use .Net 4.0 components, which is what I want. I don't see a way to force that to be the case.

View 1 Replies

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

Deployment :: Remove [ProgramFilesFolder] From The Setup Program, The Installation Doesn't Work?

Jun 10, 2009

The default installation of my setup project is as follows:

[ProgramFilesFolder][Manufacturer][ProductName]

The problem is PC in Europe don't have a "Program Files" folder, it's in a different language.When I remove [ProgramFilesFolder] from the setup program, the installation doesn't work. I would like to install the application in C:AppFolder,

View 1 Replies

IDE :: In Datagridview, Read Only=True When Add A Row, It Is Copying Previous Row Data To New Row And Blank The Previous Row?

Jul 16, 2011

In Datagridview, Set as DatagridView1.ReadOnly=True,

Dgv1.Rows.Add()

When i tried to add a Row, it is copying previous Row data to new row,and also blank the previous row, why?Like Insert Row, Why...?

View 7 Replies

VS 2010 Remove Previous Data Of Database Then Insert New Data To Database From Textfile

Dec 14, 2011

What I want to happen is that the button from my system will remove the previous data from database and then insert new data to database from text file. Im done with inserting new data. The thing is that I dont how to control or where to put the Delete Command from my code.

[Code]...

View 3 Replies

Deployment :: Deployment Of SQLEXPR32.EXE Using Template.ini File

Feb 24, 2009

I am deploying sql express as a prerequisite. I have created a custom prerquisite using bootstrap manifest generator. The problem I have is replacing the template.ini file which exists in the sqlexpr32.exe cab file. Winrar and winzip allow me to open the sqlexpr32.exe but will not allow me to edit, add or replace the template.ini.I also cannot find the path where the sqlexpr32.exe extracts to as I want to use that path for the settings file eg "template.ini".[code]

View 1 Replies

Deployment :: Setup And Deployment Project With Ms Sql Server?

Nov 3, 2009

i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?

View 1 Replies

VS 2005 - Boolean Checking - Better Performance By Checking For A True Value

Aug 4, 2010

Is there any better performance by checking for a true value like this:

[CODE]..............

Than like this:

[CODE]..............

View 5 Replies

Deployment :: Deployment And MS Power Pack?

Jun 25, 2009

I have a windows app that uses the shape control which is part of the MS power pack and requires Microsoft.VisualBasic.PowerPacks.Vs.dll. I am using Publish to build my app and I have tried to change the dll to Include in the properties page but nothing seems to work.

I need a way to have the file included and I am unable to find a external copy and I understand that I cannot just copy the dll from my PC into the installation folder

View 1 Replies

Deployment :: Setup & Deployment - Copy/import 2 Folders And There Sub-files/folders Into S&d Project?

May 7, 2012

Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?

When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?

View 5 Replies

Deployment :: Windows 7 (64 Bit) Deployment?

Feb 24, 2010

I have compiled my app to x86 so that it will run in a 64 bit processor, the issue I am facing right now is that when I install the app in under application folder I am not able to edit the config file which is in the same folder of the exe. how to give admin previlages to the application ?

PS: the app runs fine when installed in a different folder other than applicaitonfolder

View 3 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

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

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

.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







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