I created my project with ms access database and it worked well in the visual studio environment. When I created an installation file/set up and installed it, the system is no longer saving data into the database. How can i overcome this problem?
First of all, check if database is working and linked properly?
2nd, If your User Interface is developed in .Net?
3rd, Use InstallShield to compress your Application data to install it.
Related
Bit newbie to this but, I am trying to develop an application with vb.net and sqlexpress. My application works perfect it connects to database and shows data on datagrids and all. Now, i wanted to install this application on another computer..... so i added .net freamework and sql express 2012 in prerequisites and have added set up project to main project as well. when i built setup and used on another computer, installing process works with no errors but it does not install sql express at all. thus application does not work. I have seen lots of pages related to one click install with prerequisites and applied solutions but it seems it just does not work.
Any help is greatly appreciated.
I created a vb.net project and I used SQL Server Compact Edition as my database. Now I want to create an installer for it, for installing on different PCs.
Does it require to install Visual Studio on the client PC? How should I create installer which will include that database file?
Sorry for my bad English.
Please help.
Thank you in advance.
This msdn link shows how to do it:
https://msdn.microsoft.com/en-us/library/aa983326.aspx
There are 2 parts to it:
Deploy the database file. This can be done by setting the file to copy local always and updating your connection string to point to this.
Deploy the sqlserverce dll's. Follow the instructions in the msdn link which will copy the 7 dll's locally. This means you don't have to install sqlserverce on the individual pcs.
im developing a project where i have to read a single database file (.db) from the directory "personal" in a PDA, im using smart device vb.net and i dont know if there's a way to read that single database file, i would post here what i've tried but unfortunately i haven't found anything, if there's a way i would be very happy, thanks!
-Visual Studio 2008
- VIsual Basic SmartDevice
- Target: Windows Mobile 2003 Pocket PC.
In the case that it cant be done, is there a way to read a single database file, i mean, if it can't be done with .db, is there another kind of database file that the program can read just that one, in the directory "\personal\mydatabase.db"
System.data.SQLite included a compact framework version
http://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki
You will need to instal SQL CE 3.5 on the device and the sdk on the Computer.
(When you install the sdk, this will create a folder with all the cab files you will need)
You Can Download it Here http://www.microsoft.com/en-us/download/details.aspx?id=12264
I am on windows 7 enterprise
I have infopath 2010 installed my pc and have used it before
But due to my requirements I have to use object model to write code and it requires I add a reference to SharePoint
I read some article but it does not have any solutions for my need (it was on web part and remote debugging, they talked about export the registry and import it to local box)
My question is what do I need to install (bare mininum of SP Foundation or whatever it is) on my local pc so I can develop code and add sharepoint reference in visual studio.
Well the bare minimum is to add the Microsoft.SharePoint.dll (located in the 14 hives folder) to your project - but you are not going to be happy with it. You might be able to write code and the compiler will not complain about missing references but you will not be able to debug or get any information from the SharePoint objects because all information is stored in the specific databases (config db, content db).
The best solution is to install SP Foundation (preferably in a VM) - if you want to code against features which are only available in the Standard/Enterprise version (for example InfoPath Froms Service) you will have to install the correspondig version.
Is it possible to make a setup and deployment project in VB.net 2008, every site i have looked at on google says to just select it from the project list. It isnt in the project list for me to select.
Are these types of projects not available in the express version?
How can I make an installer, other than using one of the setup and deployment projects? (I know there is a publish button, but that doesn't make a proper installer and installs to the appdata folder which is not what i want it to do)
Any help is appreciated
You would need to use another program, such as innosetup (http://www.jrsoftware.org/isinfo.php), to create a setup.exe. Microsoft has to give you some reason to purchase their software.
Express editions do not have these project types. They support ClickOnce only, per this chart:
http://msdn.microsoft.com/en-us/library/zcbsd3cz(VS.80).aspx
This carries over to the 2008 versions as well.
Edit - Added
See here for using ClickOnce from an Express edition:
http://blogs.msdn.com/vbteam/archive/2008/10/02/looking-for-setup-and-deployment-project-templates.aspx
You could use Inno Setup
It pretty much will do what you need to create an installer package. Oh yeah, and it's free.