Solved

Beginner to VB

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

717 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