Solved

Beginner to VB

Posted on 2006-11-30
4
203 Views
Last Modified: 2010-04-30
I recently designed an Acess DB, which became quite extensive.  In the data base I found code snipplets that allowed me to interact w/ outlook inorder to things such as generate email, schedule calander events, and set tasks.  THe snipplets I used was in VB.  I now would like to desgin this databse to be a stand alone application inwhich it interacts with SQL as opossed to MSaccess.  I have mirrored the table set up on SQLexpress server on my laptop, to make a backend.  I would like to use VB to desing the front, but I am having trouble figuring out where to begin.  I am assuming I want to create a data project.  I am having difficulty linking the ODBC source I made from the SQL database intstance to forms.  Does any one know any good tutorials that I could use as a guideline to aclomate myself with desgining a frontend app for a SQL backend?

Thanks in advance
0
Comment
Question by:Mark Pavlak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 500 total points
ID: 18050143
you do not need a Data Project - that is a project used to set up the Daabase itself, which you say you have already done.

Just create a Standard Windows project, and use the Servers tab to connect to your database, and then you can create the needed Command and Connection objects using the Wizards in VS 2005

AW
0
 
LVL 6

Author Comment

by:Mark Pavlak
ID: 18070990
Thank you.  What about if I wanted to use "packaging" once I am done writting the front end to the databse and do something with install shield so that it would install sqlexpress, the databse, and create the odbc connection for the front end.  By doing it in the aboove method will it be an easy transistion to packaging?
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 18104313
it should be, but that is a ways down stream.  You need to learn how to work with VB.NET first, then worry about creating an installation project.  Don't put the cart before the horse.

AW
0
 
LVL 6

Author Comment

by:Mark Pavlak
ID: 18104338
Thank you.  I have hit a new roadblock.  I have fiurged out how to bind the sql databse to a windows form, but when I load the form I would like it create a new record.  I am use to using the VB in access in whcih I would use line of code in the loading section of the for like this DoCmd.GoToRecord , , acNewRec , this however doesn't seem to work.  Do you have any suggestions?
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

742 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question