hi,
you are right, from the local path select your physical folder location and from properties-> documents tab add your default page and set it as first. Now if you type your virtual directory name it automatically loads the first file from your documents
check whether the same database is opened exclusively by other users or check the folder with same database name with .ldb extension, if found just remove it
to view the record
Dim conn As New OleDb.OleDbConnection(strConnect)
dim SelectSQL as String
SelectSQL = "select * from customer"
Dim oAdaptor As New OleDb.OleDbDataAdapter(SelectSQL, conn)
Dim ds As New DataSet()
oAdaptor.Fill(ds)
conn.Close()
''''''' now you can navigate the Dataset
try this
Dim strConn AsString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Documents and Settings\assignment\My Documents\Assignmenttwo.mdb"
Dim MySQL AsString = "INSERT INTO Customer(CustomerName,CustomerAddress,CustomerPost Code,CustomerGender,CustomerContactNo,CustomerDOB...
Hi try this
Imports System.IO
Dim di As New DirectoryInfo("c:\")
Dim diArr As DirectoryInfo() = di.GetDirectories()
Dim dri As DirectoryInfo
Dim i As Integer
For Each dri In diArr
i += 1
Next dri
MessageBox.Show(i)
Hi try this,
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
PictureBox2.AllowDrop = True
End Sub
Private Sub PictureBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown...
Hi try this
assume that your dataset name is ds
lstView1.Clear()
lstView1.View = View.Details
lstView1.Columns.Add("c1", Label23.Width, HorizontalAlignment.Left)
lstView1.Columns.Add("c2", Label24.Width, HorizontalAlignment.Center)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.