Solved

Login form in VB 2010 express

Posted on 2011-03-19
2
868 Views
Last Modified: 2012-08-13
Hello there...
I have been developing in MS Access for the last 10 year and frankly I don't understand VB...
I have an MDF File (MyMDFFile.mdf) and have a login form with two text boxes usernametxt and passwordtxt. I also have a an OKbtn and a Cancelbtn. within the MyMdfFile i have an accounts table, which stores all usernames, passwords and access levels.
What I want is the user to enter its username and password and then click the Okbtn. the OKbtn runs some type of code where it goes and check the username and password in the accounts table. and if ot maches it opens up the Mainform(Mainfrm).
Frankly, I have read a whole bunch of examples but nothing really walks me thru the process. I know how to do it in access but no clue in VBA.
Any help there???
0
Comment
Question by:raleon18
[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 Comments
 
LVL 17

Expert Comment

by:dbaSQL
ID: 35173701
It might be a good idea to change the zone, or at least add the correct development zones (for VB) to your inquiry.  
0
 
LVL 7

Accepted Solution

by:
Alpha Au earned 500 total points
ID: 35186148
As You Mention a MDF file, are you using SQL Server, or Access(MDB)??

if you are using SQL Server, you'll need to attach the MDF file to SQL Server and let the program (VB.net) connect to SQL Server.

and i think the following tutorial can help you
http://www.google.com.hk/search?q=vb.net+login+form+tutorial&hl=zh-TW&client=firefox-a&hs=jvC&rls=org.mozilla:en-US:official&prmd=ivns&source=univ&tbm=vid&tbo=u&sa=X&ei=bAqITZ2OGYyHcfys3bQM&ved=0CG0QqwQ
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

726 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