VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

PrintGrid

Adam Abas  (2 Submissions)   DDE   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

To Print DataBase Grid Control as a quick report
without buying an expensive tools.

Inputs
Data Base Control, Data Base Grid Control

Assumes
How he,she use a data & dbgrid control in VB application.

Returns
DBGrid Record source as a Text File with adjusted Columns Width.

Side Effects
No Idea, only when you increase number of columns the processing is be slower.

API Declarations
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

Rate PrintGrid (5(5 Vote))
PrintGrid.bas

PrintGrid Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters