Question about Microsoft Office Standard for PC
i want to find the database size using vb.. for example i have payroll database in that 2 r 3 tables are there.. now i need to find that payroll.mdb size..
The way to get the database size is to point to the directory that the database is do a DIR statement with an output to a file as in DIR payroll.mdb>dbsize.txt and then read from the text file, the first field of the second line being the name (which you really don't need) then the size value of the database.
To import the text files using VB 8 use
'Imports System.Data.OleDb Dim conn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\path\filename.mdb") Dim cmd As New OleDbCommand("SELECT * INTO [import] FROM [Text;Database=d:\path;Hdr=No].[dbsize.txt]", conn) conn.Open() cmd.ExecuteNonQuery() conn.Close()
Posted on Nov 12, 2008
A 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
The service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Posted on Jan 02, 2017
Tips for a great answer:
May 14, 2009 | Microsoft Visual Basic Professional...
May 03, 2009 | Microsoft Visual Basic Enterprise Edition...
Apr 22, 2009 | Microsoft Visual Basic 6.0 for PC
Apr 06, 2009 | Microsoft Visual Basic 6.0 for PC
Mar 09, 2009 | Microsoft Press MS Access 2000 and Visual...
Mar 03, 2009 | Onkyo TX-SR705 Receiver
Feb 17, 2009 | Microsoft Visual Basic Professional...
Nov 10, 2007 | Oracle 10g Database Standard (ODBSEONUPP0)
Oct 09, 2007 | Microsoft Office Standard for PC
333 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: