sudo apt-get install gambas2
DELL and Baidu launch a new smartphone in China region
How to Edit and customize the Office 2007 Ribbon interface
How to create new virtual machine using virtual machine manager
How to show Access table list using VB.NET
In this tutorial, we will show you how to list all the tables in Microsoft Access using VB.NET. The idea is to list all the tables in listbox. See our example below. When the Show tables button is pressed, the program will add all the tables found on the database and add them into the ListBox. You can modify the code to suit your needs. You can freely use this code for your commercial work as well.
Here is the code:
Sub BtnshowtableClick(sender As Object, e As EventArgs)
Dim daftartabel As Data.DataTable = Nothing
Dim koneksi As System.Data.OleDb.OleDbConnection = New System.Data.OleDb.OleDbConnection()
koneksi.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\\drilling_fe.mdb"
Dim restrictions() As String = New String(3) {}
restrictions(3) = "Table"
koneksi.Open
daftartabel = koneksi.GetSchema("Tables",restrictions)
koneksi.Close
Dim i As Integer
For i = 0 To daftartabel.Rows.Count - 1 Step i + 1
listBox1.Items.Add(daftartabel.Rows(i)(2).ToString)
Next
End Sub
How to Connect to Access using Sharpdevelop
Sharpdevelop is a free programming that uses Basic language similar to VB.NET. This tutorial will show you how to connect to Microsoft Access from SharpDevelop. Here is my screenshot when the program is executed, showing the connection status. This tutorial also applied to Vistual Basic.NET.
Here is my code:
Sub BtnshowtableClick(sender As Object, e As EventArgs)
Dim koneksi As System.Data.OleDb.OleDbConnection = New System.Data.OleDb.OleDbConnection()
koneksi.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\\drilling_fe.mdb" ‘change the directory match with your access database
koneksi.Open ‘open the connection
MsgBox ("Status Koneksi" & " :" & koneksi.State.ToString, MsgBoxStyle.Information,"Status") ‘connection status will be displayed here
koneksi.Close ‘ close the connection
End Sub
CentOS 6.2 is now available for download
How to resize picture on Linux using Gwenview
Flash Player 11.1 for Android 4 is on the way
Windows 8 gets Picture Password feature
Likely designed for touchscreens, users are prompted with a familiar picture of their choice and asked to make a series of finger gestures on the screen to setup password protection. Microsoft recommends that users pick at least three gestures and can choose between a circle, a tap and a line drawn between two points. When a user logs into a Windows 8 machine using Picture Password, they simply have to replicate the correct placement, order and direction of all gestures.
Are you ready for Windows 8?
Are you ready for Apple iPhone 5 and iPad 3 ?
Apple currently offers three versions of the iPad and iPad 2, one Wi-Fi-only version, one for Verizon’s CDMA network and one for GSM networks, like AT&T. Given the dual-mode capabilities in the iPhone 4S, which allows one device to connect to both types of networks, it’s possible that Apple will instead release an one iPad 3 with a 3G connection, and one with 4G capabilities.
Leapfrog LeapPad Explorer vs VTech Innotab - Which one is better for your children
Slightly both devices look similar each other. LeapPad Explorer and Innotab uses the touch screen for its main user input. You can also find a stylus for drawing and select objects when in use. Both are recommended for children aged 4 - 9 years, but a three-year-old wouldn’t find it impossible to use.
Samsung Galaxy Ace - Powerful and beautiful Android smartphone
How to make Mandriva 2011 looks like Mac OS X
Its pretty right? If you like it, you can follow our guide below to make Mandriva 2011 looks like Mac OS X.