You are here:
Hi Enoctis, I cannot provide you the complete code for now. But I can offer some tips. You would need to use the shell command in conjunction with the DOS type command to print the file without opening
if you are using Val function then no need to add ' Try to change the sql part from " where NOC_Master.`HeightofBuilding`='" & Val(txtSearch) & "'or NOC_Master.`TypeOfNOC`='" & Val(cmbTypeOfSearch)
your method has problems: here's a typical code: connect dataenvironment to the table connect it to your database add command command1 properties select * from TableName where ID=? 'change the
Try with the following code : Sub CopyFolder(folderpath As String, destfolderpath As String) Dim fso As Object Dim fld As Object Set fso = CreateObject("Scripting.FileSystemObject") Set
vb6 is not 100% Object Oriented but vb.net is. hereunder is a example of using inheritence (Treeview control) in vb6. Option Explicit Private WithEvents mTV As MSComctlLib.TreeView Private m_bRectangleSelect

©2009 About.com, a part of The New York Times Company. All rights reserved.