VS 2005 : Adding Parameters During Install Msi File?
Mar 21, 2010How to add parameters to app.config file while during msi file installation. please look at the attachment.
View 12 RepliesHow to add parameters to app.config file while during msi file installation. please look at the attachment.
View 12 RepliesI descovered that an application within my company at the minute reads a 'license.dat' file which must be generated off-site. If the file is missing or is edited in a text editor (which 90% of the content is not english, more gobuldy gook). then the application shows an error and then closes. I would like to know if that can be done for my application, so i can generate a licence.dat file and then install in on the clients computers.
View 2 RepliesI have a project that i have created in Visual Studio express and SQL server express. i want to create an install file so that i can send to others to install. Currently it is requiring the user to install SQL server Express and 3.5 .net framework.what steps can i take to stop the user having to install these 2 so that it is a simple install for them.
View 2 RepliesIs this software what i need to install to extract data from PDF documents using 2005? If so is this the link i need to get it from? [url] I just got no idea about itextsharp
View 5 RepliesAny Way to add my .net (.exe) file to the startup by adding to registry? I also need to remove it from startup when I need it.
View 4 RepliesI am trying to open an excel file and write to it as data becomes availableI can create an instance of excel and write to the selected worksheet once. But, I can't seem to write back to the existing file. I keep on getting a null reference error when I try to send new data to the file.The function I am using will run once, but when it returns to the main form, I lose the values of xlApp and xlWorksheet. It appears that going in to the function makes the original values null.
View 2 RepliesI am running visual basic 2008 express. When I run the code that I have written it gives me the the following error message
- Incorrect syntax near '?'.
Does anyone know what causes this error. My code is as follows -
Imports System.Data
Imports System.Data.SqlClient
Imports System.Data.OleDb
[Codee].....
I have a form with a listbox. I'm adding items to the listbox through a file that I saved. When I open the file, I want each line/string in the file to go in as a separate item in the listbox. I've gotten it to work so far but only with 1 string. I need to loop the part where the file is being read to be able to add all the strings that are within the file to the listbox. How do I do this? So far, this is the code I have:
VB .net
Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click OpenFileDialog1.Filter =
[code].....
I am in great problem regarding adding new parameter in parametercollection. the code is below [code]but here a erro given that is "Variable osqlParameters is used before it has been assigned a value, a null reference exception could result at run time"..
View 4 RepliesI want to add a parameter to my thread call here is the code. I want to call th.Start(True, sender.Text) and Count(ByVal isRunning As Boolean) will then become Private Sub Count(ByVal isRunning As Boolean, Byval strID As String), but I can't do that. So how can I make this thread accept 2 parameters?
Private Sub btnStart1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart1.Click
th = New System.Threading.Thread(AddressOf Count)
th.Name = "Button1"
th.Start(True)
[Code] .....
Module Code
Imports System.Data.OleDb
Module modConnections
Public myConn As New OleDbConnection
Public myCmd As New OleDbCommand
Public MyDr As OleDbDataReader
[Code]...
Module Code
Imports System.Data.OleDb
Module modConnections
Public myConn As New OleDbConnection
Public myCmd As New OleDbCommand
Public MyDr As OleDbDataReader
[code]....
I have made setup of my application consisting of VB.net Windows Application and SQL Server Express 2005 SP4. I have attached SQLEXPR.EXE with proper arguments into Custom Action with commit option.
Now whenever i want to try to install my program is running properly But SQL Server Express is not running showing error (Another intstallation is running....)
So now i want to know how to install SQL Express 2005 SP4 before my package installed using VB.net Package and Deployment.
I need to write an "Install" script in which it installs an application with it's associated files. It also needs to make sure that the application runs in the background and is executed upon bootup of the PC.
View 1 RepliesSince VB 2005 express does not really install properly in windows 7, here is how to get it to install and make it work right. It's very simple.
1. Right click on the VB 2005 express installer file and click "Properties" in the menu.
2. Now click the "Compatibility" tab.
3. Check the box that says, "Run this program in compatibility mode for:"
4. Click the drop down menu and select "Windows Vista Service Pack 2. (I haven't tried service pack one.)
5. Now check the box that says "Run this program as an administrator" and click "Apply," then "OK"
6. Run the installer.
Wait until VB 2005 express has installed to do these next steps.
7. Make a desktop icon for VB 2005 Express
8. Right click on the VB 2005 express icon and click "Properties" in the menu.
9. Now click the "Compatibility" tab.
10. Check the box that says, "Run this program in compatibility mode for:"
11. Click the drop down menu and select "Windows Vista Service Pack 2. (I haven't tried service pack one.)
12. Now check the box that says "Run this program as an administrator" and click "Apply," then "OK"
VB 2005 Express should now run on you Windows 7 machine! (Yipee) Notice that it is necessary to repeat the same process for the installer file as well as the actual VB program becuase they are two different files and need to run in compatibility mode.
I've an application developed in VS 2005 vb.net I need to install the SQL 2005 express edition thorugh the set up and deployment wizard.I need
1.SQL installation
2.Product installation.
3.Custom form open to set some DB settings in config
I will be googling this but in case I don't find it easily, here is my question - how do you install a windows service that you've developed on your own PC to a server? Is there an option to produce the package (I thought it was an msi file) which you can run on the server?
View 1 RepliesI have created a setup project for my application and was wondering how I include the .net framework 2 install file?
View 8 RepliesI do one project in visual basic 2010.In visual basic 6 project can be make Package and deployment (setup file or install file) file using Package and deployment wizard.But in visual basic 2010 express edition does not have Package and deployment wizard.how to make Package and deployment (setup file or install file) file in visual basic 2010 project?
View 4 RepliesMy System gets restarts When i Install MS SQL SERVER 2005,
View 2 RepliesIs it possible to retrieve the pervious upgradeCode that was used to install the same application?
I have given our application to many or our clients.
They install our application using the MSI.
Everytime I release a new version for bug fixes or minor upgrades. In the setup project properties I increment the version number and change the product code (I always leave the same upgrade code). And I set the 'RemovePreviousVersion' to true.
However, a few weeks ago, I accidently changed the upgradeCode and released a new version to our customers. It was only now that a customer wanted to know why they have other instances of the same application in their 'add remove programs'. It installs ok, but they have to uninstall the previous version.
I am wondering is it possible to get back the original upgrade that was used to install those versions. As I used the same setup project, I no longer have that upgrade code?
I still have all my original setups.exe that were built with the original upgradecode
Im currently working on mendhak ADO.net tutorial and I keep getting this error when trying to add a new customer to the database.Load Event
[code]...
I am using a form which is having a listbox having a column of access table. When I select an item n press deleting it its working fine. But from the next time its showing an error "No value given for one or more required parameters".
Refer the ecode below:
Private Sub load_listbox()
Dim m_DataAdapter As OleDbDataAdapter
Dim m_DataSet As New DataSet()
Dim tbl_name As String = "Fld_detail_" & Datamaker.Application_Datamaker_ListBox.SelectedItem
m_DataAdapter = New OleDbDataAdapter("SELECT Start_loc FROM(" & tbl_name & ");",
[Code] .....
I have just finished a VB2005 Express Edition program that I would like to distribute, but am encountering this error message during the execution of the setup.exe file on the destination computer:
[Code]...
Am a 1st year student of IT Management, i have been trying to install VB 2005 and/or the VB 2008 Express from msdn and also from disc given to me from college but it wouldnt download coming up with an "Error 1935". what does this mean?
View 1 RepliesOne of the applications I've written uses DirectX in order to record the user speaking (basically for making verbal notes about something). It fails to work correctly when the installed version of DirectX isn't recent enough. I'm just using a setup project of the type inbuilt into VS 2005, is there a way to check at install time that DirectX is recent enough?
View 3 RepliesI just installed VS 2005 on a new laptop with Windows 7 and I can't find the option under the Debug menu called 'Exceptions'. It was available in my previous install under WinXP. I know win7 had some incompatabilities with vs2005. Is this one of them? Man, I'd hate to loose the ability to break on thrown exceptions.
View 2 RepliesWhen you download the .msi from our website and try to run it, you are presented with this very unfriendly message (attached). I'm using an Installer deployment project in VB.Net 2005 Pro - is there something I can do to avoid this error?
View 5 RepliesI am trying to returns records based on the last name of a customer in an access db. When I run the query in Access it works fine, the name in the examples returns 3 records with that last name. I use the same basic structure for other queries based on other fields (ID, UnitID etc) and they work fine.
[Code]...
I'm rewriting a small application and I'm working on moving the data access logic from the form to a separate class. All was working will when I had all the code in the form. Lets say I had code similar to this in my form:
[Code]...