Solved

Beginner to VB

Posted on 2006-11-30
4
198 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
  • 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now