Sql Server - .NET - Direct Database Access?

Feb 26, 2010

I'm making a VB.NET application with an SQL Server 2005 in the background. Naturally the user can not edit the database directly but will use a number of UI features to be able to add and modify the data.However, there are a few tables that should be easily accessible from the admin interface such as specific information about a vendor. What's the easiest way to let the user edit this data freely? One way would be to use a DataGridView but this could appear complicated to the user, plus I'm not sure exactly when to save the edited data back to the database.

The best way that I can think of is to create custom dialog boxes for adding, deleting and changing the information, but this seems like too much work for such a small feature.

View 1 Replies


ADVERTISEMENT

Prevent Direct Access To The Back-end Ms Access Database?

Nov 5, 2010

I have this problem, I can create a setup for my app/database but everyone can open the backend file which is an MS Access database. I want it so we can only access the database using the frontend app.

View 2 Replies

Protect Some Pages From Direct Access ASP.NET

May 24, 2010

I have a ASP.NET page called admin.aspx that needs to be protected from direct access. I want it to be accessed only when the user enter his name & password in another page called login.aspx I'm working in ASP.NET with Visual Basic .NET 2008, and I have no idea how to do it.

View 4 Replies

VB 2005 Direct Memory Access

Jun 10, 2012

I want to know if I can directly read or write values in the current process in a Visual Basic 2005 Windows application. Like *(DWORD*)(0x123456) = 1; in C++ will write the value 1 at the address 0x123456. So anyway to do the same in VB using only built in functions and not using ReadProcessMemory and WriteProcessMemory?

View 1 Replies

Database (access Database) Should Be Stored On A Web Based Server?

Aug 10, 2010

I have developed some software(vb.net) that records fees paid by the students. The purpose is that the database should be stored in a server, which can be accessed from any stations linked with it.This is working fine with a network of 10 computers. I need to publish it over the net so people could do this job logging in over internet. Database (access database) should be stored on a web based server.

View 1 Replies

Direct Access To Full String Representation Of Object

Jan 23, 2012

I am trying to log the contents of an object to a text file. If I do a debug.print of the object itself in the immediate window, it prints all of the values of the object's properties:

?mDb.DatabaseOptions
{Microsoft.SqlServer.Management.Smo.DatabaseOptions}
AnsiNullDefault: False
...
UserData: Nothing


However, I can't seem to access this as a string in code due to a type mismatch. I assumed I could get this information using the .ToString method, but all that returns is the object description with none of the properties or values:

?mDb.DatabaseOptions.ToString
"Microsoft.SqlServer.Management.Smo.DatabaseOptions"

View 2 Replies

Migrate From Access Database To SQL Server Database?

Nov 10, 2010

I am trying to migrate from Access Database to SQL server database. Do I need to make changes (for saving, reading, deleting etc. data) to my code as well?

I understand I need to change connection but what about code?

View 1 Replies

DB/Reporting :: How To Direct Put (without Someone Key In) The Data Into The Database With VB?

Dec 29, 2008

How to direct put (without someone key in) the data into the database with VB? The data will automatically generated by the program..

View 5 Replies

Access Access To My SQL Server Database?

May 21, 2010

Is there a way to include in my solution a copy of my dataset in my solution , so I can use it in another environment without access access to my SQL server database?

View 3 Replies

How To Access Sql Server Database Through LAN

Aug 8, 2010

How to access sql server database through LAN? I ask this for my client server progrmming because im a beginner.

View 1 Replies

Using Access Database As A Server?

Nov 29, 2010

I just want to ask how many user can access with microsoft access database simultaneously?I am planning to make an application using microsoft access. My client want to connect at least 5 pc/user with this database.

View 2 Replies

Export Sql Server Database To Access

Jun 22, 2010

i want to know how to export sql server 2005 database to access through vb.net coding..no need to select n insert table one by one,just save package...

View 8 Replies

Sql Server - How To Set Password To Database To Access It

Nov 22, 2010

i used V S 2010, and Sql server 2005, now i want to know how i can set passord for access my database in sql server, and how can i make a connection of it.

View 1 Replies

Unable To Access A Database Without The Need Of An Sql Server?

Jun 6, 2009

First off this isn't a homework assignment I am doing, I'm making a customer database program for my husband.The problem I am having is that I need to be able to access a database without the need of an sql server.

[Code]...

it is a GUI application, and the only book i have on the subject deals mostly with console applications. I also added the data source to the project in visual studio. please tell me what I am doing wrong and how to correct it?

View 6 Replies

VB 2010-Access Database Without SQL Server

Nov 5, 2010

I just started learning VB 2010 through a book. I'm learning vb to design a program which can manage customers of a small company as a homework. It'll store data (Company Name, Phone N. and Adress) at an Access Database. (I'm using Access 2007)

I have a little background with programming but none with databases. According to the book there is no way I can delete, add or update a data from an Access Database without installing SQL Server or Express. But this program should work at a computer which may or may not have SQL server or MS Access (Any computer with Windows OS).

After a little digging only thing I could find was Walkthrough: Saving Data to a Database (Multiple Tables) from MSDN and did every step and at the end, I can delete or add rows and change values of the cells but cannot save them (when I click save, close the program and re-open it, changes are gone).

I don't get that how can I view all the data from database without SQL server but can't save changes to the database file without SQL Server.

Is there a way to do this without SQL Server? If so, can you give the right code for the MSDN Walkthrough's Save button? Or point me to a page where can i learn the right code?

View 1 Replies

Application - Direct It To A Database Through A Menu Where You Select The File

Feb 12, 2011

Ive been learning to use visual basic doing this and i know the code needs clearing up but i made an app that is storring values in an mdf mysql datatable. I made the app so you will direct it to a database through a menu where you select the file.. This works allright on my machine but..When i put it on another machine with .net 4.0 installed it still complains about Mysql problems..So im guessing theres a part missing. Is there something i need to install on the other computer using my app?.

If so what?. Maybe theres another way i can connect to a database without haveing to install stuff on other computers to make it work?.

'Imports System.Windows.Forms.DataVisualization.Charting
Imports System.Data.SqlClient
Imports System
Imports System.IO

[CODE]..........................

View 6 Replies

Access Specific Record From An SQL Server Database?

May 4, 2012

I want it to take the text from the text box and use that to search the badge column from the db and tell me if it exists or not.[code]...

View 3 Replies

Connect An Access 2007 Database On FTP Server?

Jul 8, 2010

Every time I try connecting to an access 2007 database on FTP server, I receive the following error "Your network access was interrupted. To continue, close the database, and then open it again". Actually, I try connecting to the database on the FTP server by setting the value of "Data Source=ftp://anonymouslogin" in the connection string.

Note: I'm using Windows Vista Home Premium SP2 - 32 bit edition

View 6 Replies

DB/Reporting :: Restricting Access To SQL Server Database

Dec 8, 2009

I have developed a Windows Forms application using VB.NET and MS SQL Server 2005 Express Edition. My database name is 'AC'. I do not want ANY user, SQL Server or Windows authenticated, to access, read, write to, update, drop or take backups of this database, except this login 'Adel'. So my connection string looks very similar to:[code]What configurations should I make in the MS SQL Server Management Studio 2005 Express Edition to 'Adel' login, 'AC' database, and all other logins to accomplish this?Given the following:I do not own the server; my client owns the server. They have a domain set up (LAN network).They have ASP.NET applications running using other databases on the same server. However, these applications have nothing to do with my database 'AC' or login 'Adel'.Some of their applications do not specify 'User Id' in the connection string; they use 'Integrated Security=True'.

View 2 Replies

Publishing A Project With Sql Server Database Access?

Dec 20, 2011

i am trying to publish a vb.net project that has is connected to a database. the project can be published and installed and runs fine without the data base part. i get following error message: System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

i assume that it simply cant find the database. where do i need to adjust the database file settings to make this work.

View 3 Replies

VS 2008 Client Server To Access A Database?

Dec 10, 2011

I would like to create a server program that accesses an "ms access" database. I will also need a client program that connects to the server. The reason for this is that the server is a mediator for several clients. Since I am using access, I plan on maybe having 20 or 30 clients connect to the server only. The client will have access to a virtual market. So when a person buys or sells something on the market, the server mediates the transaction and etc. At the same time, the access database saves each clients data as well as the overall market data.

View 1 Replies

.net - Use A WinForms Application To Access A Database On A Centralized Server?

Nov 28, 2010

I want to connect a database that is located on centralized server. How can I use a windows form VB.NET application to access it? Is this possible?

How can I maintain a single user entry (e.x== used of INSERT command)?

Are both of the above things possible? If so, how can I go about implementing them?

View 1 Replies

Access Database File Just Sat In A Folder On Employers Server?

Feb 11, 2012

At the moment i have an access database file just sat in a folder on my employers server which every computer can see. We can all run an application i have done which we can add/update/delete records/rows on te access database.I was told that access can be temperamental if too many people are using it at once, and that i should look into changing it to a sql server database ? Can a sql database just sit independently like the access database and is it just similar code except for the connection ?

View 14 Replies

Connect Access Database Via The Web Server - Windows App Error

Sep 23, 2010

My windows application was written in vb.net and i recently added a web service to it so that I could place the access database in it and connect to it via the web server. I've been succesful in receiving data when doing select statements; however, I'm stuck when trying to do a simple insert statement to it.

[Code]....

View 4 Replies

DB/Reporting :: Making Database Be A Ms Access File Instead Of Sql Server

Jan 20, 2010

WIth vb 2010 beta2, is it possible to use a Microsoft access save file instead of sql server (with no reduced functionality)?

View 2 Replies

Change Of Code If Database Is Changed (form Access To SQL Server)

Nov 10, 2010

I am trying to migrate from Access Database to SQL server database. Do I need to make changes (for saving, reading, deleting etc. data) to my code as well?

I understand I need to change connection but what about code?

View 2 Replies

Running VBA Functions In A Server Side Access Database From A WCF Service

Sep 23, 2011

I've been researching for days and I've gotten to the point where my WCF service creates an Access object via com/interop.I've ran the Open Current Database call for the Access object without an error but Application.CurrentDB is still nothing/null. If the CurrentDB is nothing then I surely can't call Application.Run "myFunction" I realize WCF services aren't meant to be user interactive, but it's a long story why I'm trying to go this route. Basically I need to have a proof of concept ready sooner rather than later and the alternative (correct) route involves the complete re-writing of a large complex access VBA application. It's not a permissions issue, I have the IIS user names added to the security tab. What I really need is a way to set Environment.UserInteractive to true so my WCF service can create an instance of Access on my server machine, run the VBA functions, close out, return true.I'm using VS 2010 for the WCF, IIS 7 for my server, Access 2010 for the VBA application.

View 1 Replies

IDE :: Using Server Explorer In VS2010 To Connect To An Access 2007 .accdb Database?

Jan 3, 2011

I am using Server Explorer in VS2010 to connect to an Access 2007 .accdb database. I started getting 'No error message available, result code:E_UNEXPECTED (0x8000FFFF). However, my program runs from Debug and accesses the data.My connection string is Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:MypathDatabase1.accdb. I exited my project and created a new project and tried to add a connection. I could not connect to Access 2007 or Access 2003 databases (.mdb).I had to exit VS2010 and start it again before it started working again.

View 3 Replies

Import MS Access Database Table In Sql Server 2005 In Program Code?

Jan 9, 2010

I am developing a vb.net application in SQL server 2005 ,now i would like to import MS access database tables from a network into sql server 2005 database, using stored procedure or vb.net code without using SQL server 2005 Wizard .

View 1 Replies

DB/Reporting :: Can VB 2005 Front End Running In Win XP Access MySQL Database In Linux Server?

Aug 5, 2008

I am asked to write a front end program in VB 2005 (that will run in client computers which running on Win XP) to access an existing MySQL database running in Linux. It is not my preferred choice, but the user have the database and server working just as he wants it, and do not wish to change, at the same time I do not wish to change programming language. Is that even possible? Can we actually write VB 2005 programs that will run in client computers complete with NET framework 2.0 to access a Linux operating database?

View 4 Replies







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