Create Setup With Sqlserver Database In Vs2008?
Jun 24, 2011the right direction for creating a setup of my application in which i had used Sql Server 7.0 as a database
View 3 Repliesthe right direction for creating a setup of my application in which i had used Sql Server 7.0 as a database
View 3 RepliesI want to create a setup which requires Microsoft SQL Server 2005 and .NET Framework 3.5. If this software isn't installed, the Setup should offer the user to install them now.
View 2 Replies1. What tools do I need to set up/create a database?
2. How do I set up/create a database?
3. Lets say I have some sort of "text" in my database. How would I get another one of my programs to connect to my database, and download the "text".
4. How would I "host" my database? I want my program to be able to connect to my database without having my computer on 24/7. must be free
i wanted to know the primary output and other types of files listed when u add project output what exactly they are how they r used.Another thing what comes under detected dependencies.?
View 4 Repliesfriends i m a newer for dotnet...and i m a student i m creating a project with a simple database connection
i need to make a setup of that project but whenever i create a set up it wont connect with my database
it'll shows a error how to make a setup in vb.net with a project with a database connection
How can i create the project setup and include the database itself..
View 7 RepliesI have created a Windows Application in Visual Studio 2005(VB .Net) and used Sql Server 2000 as Backend,Now I want to know how to create a Setup of my Project so that I can install it on clients machine.I have tried by Adding a setup and Deploy project in My application but my setup file include SQL Database files(.mdf,.ldf) and my client has Win Xp installed so my Setup file is asking for sql server connection,but on clients machine Sql server 2000 can't be installed as its compatibility.
View 3 RepliesI'm trying to use LINQ to SQL in Visual Basic 2010 Express.
It allows me to create the .dbml file, but in order to drag items from the Database Explorer window to the design surface, I first have to get my database listed in the Database Explorer!(this is a remote SQL Server database - not a local .mdf)
I already have a good, working connection string to the remote SQL Server database, but that doesn't help me when I'm trying to generate the DBML at design time.
Can anyone tell me how to get my remote SQL Server database identified in the Database Explorere window? When I try the "Add Connection", I am limited to Access, SQL Server Compact, or SQL Server Database File. If I try to enter the IP address & port of my DB Host I get a 'database file does not exist' message. Doesn't seem to want to let me point to a remote DB server...
I've created some functions / procedures with VB.NET and want to deploy them to a SQLServer. Within Visual Studio you can click right and select "deploy". An assembly will be created on the server and a lot of functions and procedures. It's really easy.Now I want to script the whole deployment process. What is Visual Studio doing when I make a deployment? Can Visual Studio autoscript all the deployment steps for me? Can I save it to a file and execute it manually?
View 1 Replieshow to establish a connection in vb.net using sqlserver
View 3 Repliesim trying to access sqlserver management studio database using forms in vb.net...m using a button and i want to get access to the database when i click on that button....the code is given below....wen i tried the same code without using forms,this is working fine but it is not working when i use forms....
Imports System.Data.SqlClient
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strcon As String = "Data Source=.\sqlexpress;Initial Catalog=employee;Integrated Security=True"
[code]....
m not getting any output using this code....
how can I restore sqlserver database from VB.net or C# Application?
View 2 RepliesI can connect to VPN and I can access Sql Server using RDP. Now, I want to access the Sql Server programmatically.
I connected to the VPN and then have the following connection string set up[code]...
I have the same table in SQLServer and MSAccess database named "KHang" with fields : ID int identity(1,1) primary keys , MaKH char(4),TenKH varchar(50)
Here is my data :
MSAccess (" KHang" : Id-MaKH-TenKH)
1-KH01-tes
2-KH01-test
3-KH01-testing
SQLServer (" KHang" : Id-MaKH-TenKH)
1-KH02-testing1
2-KH02-testing2
I connect to MsAccess database using oledb in vb.net and fill data to DataSet1. So I want to update it to SQLServer database. I mean, the result will be like this:
SQLServer(table "KHang") :
(Id-MaKH-TenKH)
1-KH02-testing1
2-KH02-testing2
3 -KH01-tes
4 -KH01-test
5 -KH01-testing
How can I do it in vb.net?
i need to upload photo into the database (sqlserver 2005)and also want to print it using crystal report..
View 2 RepliesI'm maintaining a Table in SQLserver, the Table contains Transaction of Cash In (Debit) and Cash Out (Credit) as follows:
Table Name : "BankLedger"
DATE...DETAILS........DEBIT...CREDIT...BALANCE
1/1/11.Opening Balance.................5000
1/1/11.Rent payment...........2500.....
2/1/11.Mobile Bill.............500.....
3/1/11.Monthly Share...5000............
6/1/11.Emp Salary.............3000.....
Now my requirement is how to update the Balance column respectively same as "Running Total" method???
DATE....DETAILS........DEBIT...CREDIT..BALANCE
1/1/11..Opening Balance................5000
1/1/11..Rent payment...........2500....2500
2/1/11..Mobile Bill.............500....2000
3/1/11..Monthly Share...5000...........7000
6/1/11..Emp Salary.............3000....4000
My application in Visual Basic 2010 and Database SQLserver 2008.
i want to save a picture of employee in SQL server Database in my college project payroll system,
View 2 Replies[Code]...
This is my code.whenever i entered the data after click save icon, following error will occur. "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." using BindingNavigator to store the image in sql server 2000.
I seem to have a major problem. when I add a typed dataset to my project and go back to my sql server and click on the databse I use it doesn't open. the tables and stuff just vanish. using the wizard, it creates this connectionstring:
<add name="Schenectady.My.MySettings.SISQL2ConnectionString"
connectionString="Data Source=.SQLEXPRESS;AttachDbFilename="C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataSISQL3.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
It connects fine. but after I try opening it in sql server i get an error. It doesnt let me restore or anything. i tried restarting my pc incase the db was locked but it is still gone. now my app cant connect. Just for clarity, is user instance supposed to be set to true. and what is the purpose of it. also when the wizard asks to make a copy of the file that will be copied accross each time I run my project I select No.
i am doing school software projects in windows application. now i want to install. this project to my client place. i can able to convert my application in to EXE using setup project. The problem for me is the database. i am using sqlserver 2005. i don't how to install my database and table into the client computer. is there any way to copy the database. if anyone have any idea about how to install my database i have create for that application into client computer.
View 1 RepliesThis is my first client server application using vs2008(vb) + sqlserver 2008. how can i hide my database schema,tables from application users through management studio..?
View 5 RepliesIt might be funny , but I'll ask anyway : is it allowed to create a program with VS2008 while at the same time it will use the Microsoft framework 4.0 ? I am asking because I use VS2008 while at the same time I have the impression that framework 4.0 is "lighter" than 3.5 .
View 7 Replieson vista trying to create a reference to a registered DLL which succeeds with VS2008 but not with VS2010 (get system cannot find the reference specified).on vista and win7 using dependency walker the DLL cannot find IESHIMS.DLL which is in the IE folder.
View 5 RepliesI am trying to create a basic windows form on VS2008. I dont see intializecomponent() method in my form. Also, I added a few controls on to the forms and set few properties for those controls on design view. Where is that code getting stored?? it isnt on the code behind file.
I know thr is no html code behind file for window forms?? also, where is intializecomponent method. Please help me out. I have been trying to find this out for such a long time now.
Anyone know of any examples on creating plug in's for VS2008 - preferably with VB.net?
View 1 RepliesI want to save data from web and desktop applications and then provide that info again to fill the forms with the saved data .I am using vs2008 and sql2005
View 3 RepliesI think my problem in my code is the savefiledialog1. I tried running the code without it and it works. There's no error.
I also remove the if condition in the .ShowDialog and it worked. But when I press the cancel button, the code still runs.
vb
Private Sub butBackup_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles butBackup.Click
With SaveFileDialog1
[Code].....
I would like to manually access and update an Access Database without using bound user interface objects
For example:
1) Open the Database (eg: AJAXMAIN.ACCDB)
2) Create a Dataset of one of the tables in the database (eg: Contacts)
3) Loop through all records in that table and edit one of the fields
4) Update the table while completing the edit of each record.
While the code for doing this in VB6 is eazy peazy the code for doing it in VB2008 escapes.
Write code or use tableadaptors, bindingsources, dataset, etc.? I have experience with the older ways i.e. connection strings, ado code, sql, etc. but was hoping the newer tools in vs would make the user interface easier and more flexible. So far i have been disappointed. Am I wrong and I am missing something? Am I alone in this opinion or ? What is your past experience in VB and have you found vb.net to be a step forward in db user interface design? if your answer is yes then what is the easiest way to put a table record count into a text box? should i bypass all the new stuff/objects ( adaptors, binding sources, navigators, designers, etc) and just write code or what?
View 3 RepliesI have a text file data to insert into a database for report
ITEM01,Toy
ITEM02,Card
Let me briefly list down the steps i took to achieve my result.
1) Insert data into Database using text file
2) Display the records from the NEW Database(Item2) using DataGridView
3) Using datagridview, i use to checkboxes to determine the selectedRow
4) Once the selectedRow are selected. I press on Delete Button
Delete Button - Update the Item2 Table field 'Deleted' to 1 - Delete the ItemID by using datagridview selectedrow cell value Which means in 1 loop, i process two database transaction.. Is there something wrong? How do i shorten the process to just delete the item without querying two database.