VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Cool Datagrid Stuff

by Frank Kusluski (19 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (20 Votes)

This sample VB app shows you how to add drop down
lists to columns in a data grid. Other cool
features include drag and drop from a Listbox to
a cell in the grid, sort grid data by clicking
the column header, and how to add a split to the
grid in run-time mode. Please vote!

Inputs
None.
Assumes
The ADO Data Control's (adodc1) ConnectionString property is set to the following: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Program Files\Microsoft Visual Studio\VB98\Biblio.mdb;Persist Security Info=False If the BIBLIO.MDB database resides in a different directory on your machine you will need to change the Data Source location. On most machines this file will exist on the C drive though.
Code Returns
None.
Side Effects
None that I know of.
API Declarations
Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

Rate Cool Datagrid Stuff

Download Cool Datagrid Stuff

Download Cool Datagrid Stuff (7 KB)

Cool Datagrid Stuff Comments

No comments have been posted about Cool Datagrid Stuff. Why not be the first to post a comment about Cool Datagrid Stuff.

Post your comment

Subject:
Message:
0/1000 characters