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
ADVERTISEMENT
Aug 11, 2011
I have a vb.net application . I have added references of Ms Excel into the application.In my machine both vs and ms office are installed
Now I move my code to another machine where only vs was installed and not ms office . When I run the code from vs it works perfactly.
Now I make installer. I install it on my machine and it works
I also install it on another machine where ms office not installed and it does not work .
my question is why it is working when I am running from code and not when I am running from Installed shortcut ?
and should I need to install ms office also on the machine to run the application from Installation. ?
View 6 Replies
May 11, 2011
Coding Platform: ASP.NET WebForms4.0 VB..Installed Facebook and FacebookWeb and when I run the application.[code]
View 1 Replies
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
Sep 3, 2009
I found on msdn samples and modified (add Thread.GetDomaind.UnhandledException)
<SecurityPermission(SecurityAction.Demand, Flags:=SecurityPermissionFlag.ControlAppDomain)> _
Public Sub Main()
' Add the event handler for handling UI thread exceptions to the event.[code].....
View 1 Replies
Jul 20, 2010
I have installed a DLL in GAC it is isnstalled properly but it is not refelcted in reference.
View 4 Replies
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
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
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
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
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
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
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
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
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
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
Mar 18, 2012
Are there any disadvantages working in a 64-bit environment?
View 4 Replies
Jun 18, 2009
It appears that my favorite thing in the world is tackling projects that are beyond my current knowledge and abilities. I have a little project that I am working on which is a simple image viewer stocked with (upon completion) your standard Load..., Next/Previous, Zoom In/Out, Actual Size, and Full Screen capabilities. However, I am running into a few snags:
(1) I've been able to get my "Load..." button to display a file dialog box, but I cannot seem to get a working filter (with which only image file types are allowed to be selected) in working order.
(2) I have a PictureBox object (entitled PictureBox1) that displays the image selected via the file dialog box, but it loads images in their full size (1:1/100% zoomed) state without scrollbars, etc. to allow me to navigate the loaded image. I would like to have it load the image, initially, to fit within the dimensions of PictureBox1 and from there be able to zoom in/out via my "Zoom In/Out" and "Actual Size" buttons and be able to scroll if the zoom level is beyond the dimensions of PictureBox1.
(3) It dawned on me that I haven't the faintest idea how to get my "Next/Previous" buttons to allow the user (me) to navigate, in succession, the images contained in the folder in which the currently loaded image is stored. [code]
If it is deemed that this thread is inappropriately requesting help, I ask that it be locked/deleted quickly as I recognize that this is a large community with many discussions going without need of unwelcome posts.
View 9 Replies
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
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
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
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
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
Dec 10, 2009
Somebody have code VB.Net for Block all installation software
View 1 Replies
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
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
May 22, 2009
how can I create an instalation form?
View 6 Replies
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
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
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