Solved

Beginner to VB

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

839 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