You are here:

Basic

Recent Answers

2009-11-03 Visual Basic - Printing a file:

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

2009-11-02 Visual Basic - Crystal report printing Problem:

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)

2009-10-31 Visual Basic - Printing Data Report:

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

2009-10-29 Visual Basic - Copying a folder to a location:

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

2009-10-28 Visual Basic - 2 level depth inheritance:

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

Categories

Browse Alphabetically

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