473,406 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

can anybody help me how to use MSFlexGrid in VB?

vikas1111
122 100+
Hi All,,,, i am new to MSFlexGrid can anybody teach me how to use it?
how can i connect it to my database which is MS Access? I am creating a company database project in which i have to select the name of the employee from a combo box and the details must be displayed in the MSFlexGrid...
Mar 4 '08 #1
5 2389
debasisdas
8,127 Expert 4TB
This topic has been discussed here several times before. Please use the searchbx with appropriate key words for related discussions.
Mar 4 '08 #2
The usage of msflexgrid is like ,
Place ADODC control to form.
use ADODC control then connect your data base location to this using adodc connectionstring.
Now Place MSFlexGrid control to form.
set MSFlexGrid's datasource property to 'adodc1' .

now run the form .

Now The records from your database will display in that MSFlexGrid.

This over .

Do it now
Mar 4 '08 #3
vikas1111
122 100+
The usage of msflexgrid is like ,
Place ADODC control to form.
use ADODC control then connect your data base location to this using adodc connectionstring.
Now Place MSFlexGrid control to form.
set MSFlexGrid's datasource property to 'adodc1' .

now run the form .

Now The records from your database will display in that MSFlexGrid.

This over .

Do it now

hI
I WANT TO DO IT WITHOUT USING ADODC.. i.e.. BY WRITING CODE...
Mar 4 '08 #4
debasisdas
8,127 Expert 4TB
Use ADODB to fetch data and TextMatrix to fill the grid.
Mar 4 '08 #5
QVeen72
1,445 Expert 1GB
Hi,

Open a new Recordset with Cursor Position=Client side, and set the DataSource of FlexGrid to the Recordset and Refresh..

REgards
Veena
Mar 4 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ed | last post by:
Hi, I am using an MSflexgrid in my c# code. I have a strange problem. My MSflexgrid has only 1 column. Now the data in that column can be long. WIth just 1 column the MSflexgrid does not show...
1
by: PVS | last post by:
Hi, I am new to VC++ 7.0. I want to use MSFlexGrid in my dialog based MFC project in VC++ 7.0 (in VS ..NET IDE). I added the MSFlexGrid control into my resource editor toolbox and I dragged and...
0
by: Martin K | last post by:
Hello all..thanks for everyone's advice regarding my SHBrowseForFolder API problem, I was able to put together a public class that runs great! But I have another migration headache regarding the...
1
by: Mad Scientist Jr | last post by:
can someone explain how to simply populate a grid in .net ? the way i understand it, there is no more msflexgrid, and instead is this new control that has to be tied to a dataset, and it is a real...
1
by: schapopa | last post by:
Hi, I have a MSFlexGrid control on the SSTab and now I am trying to make it editable. I got some example on the net that explains how to achive that. So I have a text box that appears over the...
2
by: Ben | last post by:
after I migrated to dotNet, migration wizard transferred over my vb6.0 Msflexgrid activex com as a dll, it putted it in my bin dir as AxInterop.MSFlexGridLib.dll. however, I can't use this control...
1
by: zoneal | last post by:
Hi, I am involved in the process of migrating vb(6.0) application to vb.net. My application contains only vb controls namely MSFLEXGRID. I want to migrate my application to vb.net completely...
1
by: Steven | last post by:
I develop the application which contains MSFlexGrid to display data. When I try to fill the grid with the text data, I want to adjust the column width so that the width is adjusted to the maximum...
5
by: Ishmael | last post by:
Hi Is Been a 3 Yrs Now (I Still trying to do this) Please help me to do this with Visual Basic 6.0 using Msflexgrid Let say you are the Principal . You have 10 educators and 5 class (Grades)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.