App Can't Find DB After Installation

Mar 11, 2012

my app cant see my access db after installation.i traced the location of the db on the computer after installation

C:\Users\Timosoft\AppData\Local\Apps\2.0\QY65PWX9.W3T\QECRQCWW.P3T\wwtb...exe_e6ecfcd40db94ae4_0001.0000_none_93fcea95705260c6\bin\Debug

didnt get it.am using below code in the program to locate the db.

'declare provider and location
strPath = Path.GetDirectoryName(Application.ExecutablePath) & "\bin\Debug"
dbProvider = "PROVIDER=Microsoft.ACE.OLEDB.12.0;"
dbSource = "Data Source=" & strPath & "\wwtbamDB.mdb;Persist Security Info=False;Jet OLEDB:Database Password=kkkkkkkvvf??"

View 1 Replies


ADVERTISEMENT

Can't Find The Installation Directory?

Mar 21, 2012

I've written an application [Visual Studio 2005 / VB) that works fine when I build it on my Win 7 PC.But when I try to install it XP as a test it falls over imediately on a 'file.exists' call made to establish if the data file exists or not (and if not then create it).

But it raises an exception because it can't find the directory that the file is supposed to be in. For the files location I was using Application.ExecutablePath but on the XP machine it is some weird directory like
Code:

[Code]...

View 6 Replies

Find Installation Directory Of Other Application Installed?

Mar 16, 2011

I have started working on the module based application (plugin based architecture) and client want setup of module that can be run later and added automatically in main application. So, what I am thinking to apply in module setup project is to find the installation directory of main application and then paste dll of module in specific sub-directory.

Is it possible? Is there any other way to add feature in main application later using setup?

View 10 Replies

Find Microsoft.net Framework Installation Path?

Jul 18, 2009

can anyone has idea how to get Microsoft.net framework installation path using window application in c#/vb.net.

View 2 Replies

Publishing A Project - Can't Find The Installation Directory

Mar 18, 2009

I am trying to publish a project. Via the publish wizard I have published the project. So I have:Project.applicationSetup.exeand a directory application files in which:Project.applicationProject.exe.deployProject.exe.manifest. When I start the setup it does it's thing (only one question: do you want to install ...etc) and 2 seconds later its done.

Problem:
1. I can't find the installation directory... (I can find the app in the 'add/remove programs' but not anywhere in program files or ..)

2. there are a few xml and mdb files I want to include in de project (or else the project does not work).

But because of (1) I don't know where to do so. Or beter yet, I would like to include these files in the installer.3. Why doesn't the installer ask me where I want to install?

View 5 Replies

Can't Find The Microsoft.SQLServer.ManagedDTS.dll In Vs2010 Installation?

Dec 7, 2010

I am using vb.net in vs2010.I can't find the Microsoft.SQLServer.ManagedDTS.dll. How do I add that dll to the reference?

Imports
Microsoft.SqlServer.Dts.Runtime

View 3 Replies

Deployment :: Combine WAMP And Application Installation Into One Packet Installation?

May 24, 2009

I just made an application using MySQL for the database. I use WAMP.Can I combine WAMP and my application installation into one packet installation ?

View 2 Replies

C# - Regarding DLL Installation In GAC?

Jul 20, 2010

I have installed a DLL in GAC it is isnstalled properly but it is not refelcted in reference.

View 4 Replies

Application For Installation Via CD Or DVD?

Apr 11, 2009

I've published my application for installation via CD or DVD. I installed it on my machine and it worked fine. I have a couple of questions, I couldn't find the answer to in the GUI. First, when the application is installed, it immediately launches. Can I make something in the installation where a user can click a checkbox saying launch after install? If not, how can I disable the application from launching after the install. And secondly, the application is installed, a desktop shortcut is created, and the application is added to the programs on the start menu. How would I add an uninstall link in the program menu along with the icon to launch the application? Currently I have to go to the control panel add remove programs to remove the application.

View 1 Replies

Error After Ri Installation

Jul 3, 2010

I recently formatted my PC, re installed Windows 7 64 bit and Visual Basic 2010 Express.When trying to connect to a database I am getting the following error "he Microsoft.ace.oleb.12..0 provider is not registered on the local machine"..After Googling the error most point to suggesting compiling to 32 Bit.I cannot see how to tell VB 2010 to compile to 32 bit.

View 12 Replies

Get The MSI Installation Status?

Mar 14, 2011

I am writing a installation program that will copy embedded MSI's to the local disk, install each one then delete the MSI's and I don't know how to get the MSI installation status so that my application knows when the installation is completed for each one.

View 2 Replies

Installation Of A Vb Project?

May 13, 2009

i've just completed a vb application and i 'm asked to write installation notes + system requirments to install and the requirments needed to run this application.

View 1 Replies

Installation With .Net Framework 3.5 SP1?

Sep 10, 2009

I downloaded Vb express 2008 from Microsoft site. I am using WindowsXP The download was completed and when the setup starts the progressbar of .Net Framework 3.5 SP1 stops in half way and it is just stuck up with no further movement ahead even after 30 or 40 minutes time. I tried it several times but it just stucks up in half way.Because there are 5 or 6 components of vb express 2008 download and it installs only first component and when it reaches the second component of .Net Framework SP1 the progressbar just helds up in the half way.

View 3 Replies

Run An Installation Automatically?

Dec 13, 2011

Using the code below, I am determining if the computer has service pack 1 installed for office and windows. How do I then execute the SP1 .exe if it is not installed?

[Code]....

View 2 Replies

Run Application Without Installation?

Jul 1, 2010

I am creating a small VB.Net (Framework 3.5, Visual Studio 2008) application, requirement is small.

I want to make an EXE and that should run without installation.

I am Ok if all the dependencies, like dlls, are present in ApplicationStartupPath().

The Application should be standalone without installation. Bcoz, I don't want to create a big scene to install a huge .Net Framework in client PC for just a small application, as I said the requirement is small.[code]...

View 8 Replies

Screenshots Appear During An Installation?

Sep 4, 2011

How do i insert the images during an customize installation?

For example, when i was installing Skype, screenshots of Skype appeared during the installation. How would i make that during my installation, with images appeared and disappeared just like skype. I know i could use code to bring back and front, but that is not how i wanted it to be. I tried that code before, but doesnt look good enough.

View 9 Replies

Unique Key For Each Installation?

Mar 5, 2009

I code on the side for a little extra cash. Up to now it has always been one off conversion programs. The problem is that I am being asked to generate a report program and there is a dealer acting as the go-between for the end user. I want to maintain control of this program. I don't want this dealer to be able to distribute it to all his customers (or worse sell it), but have no idea of the best way to do it. Since I do this on the side, I obviously cannot afford to purchase a third party utility.When I try to search, all I get are links to people asking what to do when an installation fails. Can anyone point me to a tutorial or article on how to do this without resorting to buying a utility?

View 4 Replies

VB Installation Is Not Working?

Jun 27, 2009

I have finished my VB program and have been publishing it. I included all the necessary prerequisites and published it, and it worked fine. But then i tested it on some other computers, and while installing the prerequisite SQL server express, it will fail the installation.

When i installed it on computers with Windows 7, SQL did not require do restart and it worked fine. When i installed it on computers with Windows Vista and XP, SQL did require to restart and the installation will always fail.

I think i know whats causing it as well, while publishing it comes up with the warnings

"Item 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'C:Program Files (x86)Microsoft SDKsWindowsv6.0ABootstrapper'. "

and also

'SQL Server 2008 Express Edition' could not find dependent item 'Microsoft.Net.Framework.3.5.SP1'.

[code]...

View 4 Replies

VS 2010 Installation On X86 Or X64?

Mar 18, 2012

Are there any disadvantages working in a 64-bit environment?

View 4 Replies

Delete File On Installation?

Mar 13, 2012

I am trying to figure out where to place a code that would cause an application to always delete a database file ONLY when being installed. However, it should not delete this file after installation I.e. when being used. I know you can use: If File.exists() Then File.delete(). But where do you place this code sothat it does not Delele the file when being run? I have tried this but it copies a new file everytime I run the application and data is lost.

View 7 Replies

.net - Attaching DB To SQL Server Just After Installation?

Jan 27, 2012

Just after installing my application, I need to attach my DB to SQL server. I am using following code for it.

Dim cmd As New SqlCommand()
Dim vrMyConString As String = "Data Source=.SQLExpress; INITIAL CATALOG=master; uid=sa; pwd=sa;"
Dim conn As System.Data.SqlClient.SqlConnection = New SqlConnection(vrMyConString)
cmd.CommandText = "sp_attach_db 'e:dbTest.mdf', 'e:dbTest.ldf'"
' conn.ConnectionString = "Data Source=.SQLExpress; INITIAL CATALOG=master; uid=sa; pwd=sa;"
conn.Open()

[Code]...

It returns an error:"Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection."

View 1 Replies

.NET: Bundling All Files In One Installation

Apr 9, 2010

i have a vb.net application

i published it

it made an app files diretory, setup.exe, and some other file

i need everything to be in one file because the users are not very computer savy

is there a way to bundle everything in one installation file?

View 2 Replies

App Installation - Publisher Not Verified

Apr 1, 2010

When I install my application on my computer I get a warning that the publisher is not verified. How can I change that? or do I need to worry about that when I distribute my application? The application is written in Visual Studio 2008 with VB.NET

View 2 Replies

Attaching DB To SQL Server Just After Installation

Jan 27, 2012

Just after installing my application, I need to attach my DB to SQL server. I am using following code for it.[code]It returns an error: "Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection."

View 11 Replies

Block All Installation Software?

Dec 10, 2009

Somebody have code VB.Net for Block all installation software

View 1 Replies

C# - How To Disable EXE File After First Installation

Sep 3, 2010

I create an exe file of my software. After first installation I have to disable the exe, so it cannot be run again because when someone purchases the software from me they can install it only once.

View 3 Replies

Create An Installation Form?

May 22, 2009

how can I create an instalation form?

View 6 Replies

DLL That Is Accessed During The Installation Of The Program?

Dec 4, 2009

Computer.FileSystem.FileExists(Environment.GetFolderPath(ProgramFiles) to get the Program Files directory in my application. The problem is that when running on a 64 bit version of Windows 7, I am getting the Program Files (x86) directory, not the 64 bit directory. As far as I can tell, everything is compiled as 64 bit.This code is actually in a DLL that is accessed during the installation of the program.

Is there any way to get the 64 bit path?

View 2 Replies

How To Include WAV File In Installation

Aug 15, 2009

I have a call to the mediaPlayer in my project (to play a wav file). While publishing the project, vb.net does not include this wav file to the applications file and while intalling this wav file is missing. Hence I need to copy it manually. How can I make vb.net include this wav file in the installation?

View 13 Replies

IDE :: Click Once Installation Folder?

Aug 17, 2011

I'm trying to public a VB program and I want to install the program from the same directory I am publishing it to which is a file path of the form P:DirDir. This doesn't seem to be working... In the publishing folder text box I have a file path but it won't allow me to put that same file path in the installation folder text box... and it has brackets (if different than above) over the installation folder text box so that should mean it is not a required text box.. but when I go to publish now it asks for me to put a path in there.

View 6 Replies







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