Where do Start...well .NET is a framework that consists of a few things CLR (Common Language Rutime), Class Library, Assemblies, JIT, MSIL and Application Domains to mention a few. The Common Language Rutime allows for managed code execution which is valuable for a number of reason which i want...
U can do this with automation...Set a reference to Access 9.0 or Access 8.0 object library...then do the following
add a command button call command1
Private sub command1_click()
Dim a As New Access.Application
a.OpenCurrentDatabase "c:\db1.mdb"
a.DoCmd.TransferSpreadsheet...
ur better off using an ADO Data Control 6.0 from the components menu (ctrl T) and using that as a DataSource for the data grid.
use the following after u have bound the ADO Control to the data grid.
Private Sub Command1_Click()
sql = "SELECT * FROM tb1 WHERE PartNo = '" & text1...
This can happen for a number of reasons...actually anything that causes ur dll to crash will show this error ive found.
The only way to get rid of it is to debug ur dll...if u dont know how to do it ill leave a few pointers.
- in project properties, select the debugging tab and select (wait...
I tried this in a number of ways and was always able to hide Form1 regardless of it being modal or not...anyway try this.
'in the event that opens form2 eg. command1_click on form1
Private Sub Command1_Click()
Form1.Hide ' hide form1 first
Form2.Show vbModal ' then open the modal form...
create a batch file and put the command in it then shell the batch file or set a reference to Microsoft scripting runtime then dimension an object as FileSystemObject and obtain file properties that way
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.