Posts

Showing posts from May, 2011

Author

Ahmed Samir

Evry1falls is my online name

DAO + VB .NET + ACCESS

الله الرحمن الرحيم
حل مشكلة توصيل قاعدة بيانات من نوع (اكسس) عن طريق (داو) فى بيئة (دوت نت) !! How to connect Access Database Through DAO In VB .Net
Design :
- Create new visual basic Project
- Create new MS-Access 2003 Database

New form
Name :form1 DataBase 
Name : ahmed.mdb Add Reference :
COM => DAO 3.61
Code :

Imports DAO              form1_Load                     Dim DB As DAO.Database                 Dim DBE As New DAO.DBEngineDB = DBE.OpenDatabase("ahmed.mdb", Nothing, False, "dbase iv;")

And you have just connected your database *.mdb in vb.Net Using DAO 3.61

Good Luck

Visual Basic .Net - Free POS System Project Source Code

VB 2010 Create Controls at Run-Time with events

Image
How to Create Controls at Run-Time in  VB 2010
Logic
The example will show you how to create a control (TextBox) at the Application Run-Time. This TextBox will allow only Numbers. We will create a new TextBox control with event  Text Changed when the form is clicked
Project Design

Create new VB 2010 Windows Application Project (MyPro), don't forget to always Save your project
How does it work
You RUN your project and then click on the Form (Form1) and then you will notice that a TextBox control was created with the same properties that we provided in our example in the code below.

TextBox Properties

Location : The cursor location when click on the Form1
Size : 120,300
Parent : Form1 (Me)
TextAlign : HorizontalAlignment.Left
ForeColor : Color.White
Name : MyNewText
Font : Times New Roman, 10, Regular, Point

Code
Thank you for reading ....
♥ Here are some online Visual Basic lessons and courses :
Visual Basic .Net - How to check for the internet connectionVisual Basic .Net - POP3 and Receiving E…

Comment Via facebook