VB.net 2008 - PINOYDEN


Go Back   PINOYDEN > PC Zone > Programming

Welcome to PinoyDen Forums.

You are currently browsing our forum as a guest, please consider registering to get full access to all of our forum features, download free games, get help for your pc and cellphone problems and learn new mobile tricks like how to browse the internet using your cellphone for free. All that and more, so what are you waiting for, JOIN us now!!!! Click here to register...
 Topic: VB.net 2008  (Read 222 times)
0 Members and 1 Guest are viewing this topic.
Pages: [1]   Go Down
11-13-12 10:56 AM
  • Jr. Member
  • **
  • Offline
 
Posts: 167
Thank You: 2
Reputation: 0
gibsonslasher22 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Mga ka-PD, help naman po sa vb2008, biglaan lang. Pano po ba magconnect ng access 2010 dun with and without codes.? Salamat po!
Reply #1
01-03-13 10:33 AM
  • Semi-Newbie
  • *
  • Offline
 
Posts: 33
Thank You: 4
Reputation: 1
Lkiramisalight has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
add data source ka lang sir..
Reply #2
01-04-13 07:03 PM
  • Newbie
  • Offline
 
Posts: 2
Thank You: 0
Reputation: 1
godassassin has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Quote:
Mga ka-PD, help naman po sa vb2008, biglaan lang. Pano po ba magconnect ng access 2010 dun with and without codes.? Salamat po!



Code: [Select]

Imports System.Data
Imports System.Data.OleDb
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim con As New OleDb.OleDbConnection
        Dim dbProvider As String
        Dim dbSource As String


        dbProvider = "Provider=Microsoft.ACE.OLEDB.12.0;"
        dbSource = "Data Source =" & Application.StartupPath & "\Dbase.accdb"
        con.ConnectionString = dbProvider & dbSource
        con.Open() 'Open method of the Connection Object

        MsgBox("Database is now open")


        con.Close() 'Close method of the Connection Object
        MsgBox("Database is now Closed")

    End Sub

End Class

Pages: [1]   Go Up
 


Related Topics
Subject Started by Replies Views Last post
PAsKo 2008
Tambay tayo dito!
message 4 1108 Last post 02-24-12 07:42 PM
by japi05

All dates are GMT+8:00. The date now is 05-26-13 01:06 PM
WWW.PINOYDEN.COM.PH does not store any files on it's server, we are just indexing other sites contents!
WWW.PINOYDEN.COM.PH [Ang Tambayan ng pinoy!] © copyright 2008-2009 All Rights Reserved.
Contents published on www.PinoyDen.com.ph requires permission for reprint.

Page created in 0.134 seconds with 22 queries.