473,662 Members | 2,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating and using databases under vb.net

Apologies if this isn't the best group - maybe someone can suggest a
more appropriate one - I can't immediately see anything on ado.net.

I need to store a significant amount of data (say 1-10MB) in a
database that will be created and accessed under vb.net purely on a
local PC from a Windows Forms application.

While I'm happy dealing with data in general, I've just never had the
need to create and use databases before so I'm starting from a low
base on this topic.

Can anyone suggest a suitable book to get me started please? Let me
qualify that a bit. There are seemingly hundreds of books around on
SQL, ado.net and so on, but from an initial perusal these nearly all
seem to focus on getting access to data in a corporate context from
some massive central pre-existing databases. There's a vast and
bewildering amount of information in such texts but much of this will
I suspect be irrelevant to my current project. What I'm looking for
is:

1. An introduction to using simple databases under vb.net purely in
the context of a local PC running a Home version of Windows. I'm not
interested (for now at least) in use across a LAN or across the web.

2. An emphasis on creating the database and adding data to it from
within vb.net as well as getting data out of it once it's been
created. (So many tutorials just take creation of the database for
granted and ignore teaching this aspect)

3. Being able to create a redistributable application that won't
require the enduser to licence or buy any major SQL tool.

Is there anything out there that might fit the bill?

TIA
John Dann
Nov 20 '05 #1
2 1329
Hi John,

On first sight I thought the newsgroup
microsoft.publi c.dotnet.framew ork.aspnet.

However reading more I think that this newsgroup is a more properiate
newsgroup for you because it is not the database itself however how to use
it in your applications.

For that reason I do not point you on books, because they point you on that
what you as you said not intrested in, (When you becomes so far than there
are in this newsgroups are only two names, Sceppa an Vaughn).

Have a start with this resourcekit, it is a hugh amount of data, however
there are so many walkthrougs and samples in it, that is is a very good base
to learn as well to check things up.

VB.net Resource kit
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing the resource kit
http://msdn.microsoft.com/vbasic/vbr...q/#installvdir

I hope this helps?

Cor

Apologies if this isn't the best group - maybe someone can suggest a
more appropriate one - I can't immediately see anything on ado.net.

I need to store a significant amount of data (say 1-10MB) in a
database that will be created and accessed under vb.net purely on a
local PC from a Windows Forms application.

While I'm happy dealing with data in general, I've just never had the
need to create and use databases before so I'm starting from a low
base on this topic.

Can anyone suggest a suitable book to get me started please? Let me
qualify that a bit. There are seemingly hundreds of books around on
SQL, ado.net and so on, but from an initial perusal these nearly all
seem to focus on getting access to data in a corporate context from
some massive central pre-existing databases. There's a vast and
bewildering amount of information in such texts but much of this will
I suspect be irrelevant to my current project. What I'm looking for
is:

1. An introduction to using simple databases under vb.net purely in
the context of a local PC running a Home version of Windows. I'm not
interested (for now at least) in use across a LAN or across the web.

2. An emphasis on creating the database and adding data to it from
within vb.net as well as getting data out of it once it's been
created. (So many tutorials just take creation of the database for
granted and ignore teaching this aspect)

3. Being able to create a redistributable application that won't
require the enduser to licence or buy any major SQL tool.

Is there anything out there that might fit the bill?

TIA
John Dann

Nov 20 '05 #2
You can use Access or MSDE.
Access is the best if you don't know much about databases, and is very
simple to use.
You just need to distribute the Access file with your application, so you
don't have to pay any licences. The other person does not even need to have
Access installed.
Then all you have to do is connect to the Access database instead of those
"massive central pre-existing databases" and use your own tables.
Some training on Access can be found at
http://office.microsoft.com/training...D=CR0618294010
33&CTT=4&Origin =ES790000501033
About suggesting a book, I suggest MasteringT Visual Basic® .NET Database
Programming from Sybex.
http://www.sybex.com/sybexbooks.nsf/...004f50/15c20f7
888ac38ae88256b ca006276fa!Open Document
But it's really up to you. Some people prefer a given method of learning,
some prefer another. See many different books and choose one that fits your
way of learning and objectives.

Andre Nogueira

"John Dann" <ne**@prodata.c o.uk> wrote in message
news:70******** *************** *********@4ax.c om...
Apologies if this isn't the best group - maybe someone can suggest a
more appropriate one - I can't immediately see anything on ado.net.

I need to store a significant amount of data (say 1-10MB) in a
database that will be created and accessed under vb.net purely on a
local PC from a Windows Forms application.

While I'm happy dealing with data in general, I've just never had the
need to create and use databases before so I'm starting from a low
base on this topic.

Can anyone suggest a suitable book to get me started please? Let me
qualify that a bit. There are seemingly hundreds of books around on
SQL, ado.net and so on, but from an initial perusal these nearly all
seem to focus on getting access to data in a corporate context from
some massive central pre-existing databases. There's a vast and
bewildering amount of information in such texts but much of this will
I suspect be irrelevant to my current project. What I'm looking for
is:

1. An introduction to using simple databases under vb.net purely in
the context of a local PC running a Home version of Windows. I'm not
interested (for now at least) in use across a LAN or across the web.

2. An emphasis on creating the database and adding data to it from
within vb.net as well as getting data out of it once it's been
created. (So many tutorials just take creation of the database for
granted and ignore teaching this aspect)

3. Being able to create a redistributable application that won't
require the enduser to licence or buy any major SQL tool.

Is there anything out there that might fit the bill?

TIA
John Dann

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
2183
by: Joshua Beall | last post by:
Hi All, I am working on a registration system, and one of the things I am going to need to be able to do it setup the database tables for each event that I have registration for. Normally I would do this by hand, but I am wondering if there are any code libraries out there that could generate the SQL for me. Basically I would have a list of column names and types. I know I could just foreach() through the list, with a switch to...
6
6859
by: Dim St Thomas | last post by:
I am a developer working on a database client program. I am testing this program on a Windows XP machine (1.5 GHz AMD chip, 480 Mb RAM, 60 Gb disk) This machine has Oracle 9.2.0.1.0 and RedBrick database software installed. I am testing the software by creating small test databases. If I create an Oracle database using the Database Configuration Assistant, it takes forever just to create the database. If I choose to create a new database...
8
5961
by: Nanda | last post by:
hi, I am trying to generate parameters for the updatecommand at runtime. this.oleDbDeleteCommand1.CommandText=cmdtext; this.oleDbDeleteCommand1.Connection =this.oleDbConnection1; this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_ApplicantName", dataset.Tables.Columns.DataType, 50,
6
187
by: Dim St Thomas | last post by:
I am a developer working on a database client program. I am testing this program on a Windows XP machine (1.5 GHz AMD chip, 480 Mb RAM, 60 Gb disk) This machine has Oracle 9.2.0.1.0 and RedBrick database software installed. I am testing the software by creating small test databases. If I create an Oracle database using the Database Configuration Assistant, it takes forever just to create the database. If I choose to create a new database...
0
8435
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8768
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8547
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7368
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.