 |
|
 |
I'm using your VB6flexgrid.ocx in VB but it showing error in VB.NET..
Error msg: "Failed to import ActiveX registry"
kindly help me soon..
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
This ActiveX for VB6 not for VB.NET Try to use ActiveX at the following link: http://www.codeproject.com/KB/grid/MK_Flexgrid.aspx which I write it for C#
Thanks, Mostafa Kaisoun
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
sir, could you please send me the source code of the activex controls u have posted as i need to learn how to make such controls with ease. I m a free lancer and a student. It will be of very kind if u send me at earliest on my emai id indcomp07@gmail.com.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Thanks for your ActiveX (VB6Flexgrid) which is very useful to me. I am VB programmer (intermediate not expert). I used (VB6Flexgrid) but I can’t change font size. I changed font, color and backcolor by code. Please tell me how can I change font size Thx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
My ActiveX (VB6Flexgrid) is demonstration then it has not all methods and has not all properties.
M. Kaisoun
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I require my Flexgrid to have first two columns as Read Only and rest of the columns editable with combo boxes. How do I make the first two columns read only?
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi, I am sorry because this ActiveX not support (Read only column). I shall send another one to you to support this option. Thanks, Mostafa Kaisoun
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
I try to add new one to the article for this option but I don't succeed. I can send it to you by Email. Thanks, Mostafa Kaisoun
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
Dear Monjur Ahmed
I make this option as MSDataGrid. I think if the user add new line by himself he takes more time.
Regards, Mostafa Kaisoun
|
| Sign In·View Thread·PermaLink | 1.50/5 (4 votes) |
|
|
|
 |
|
 |
Thanks for your work. When I click on any Combobox in the last row of the grid and select an item from it, it automatically adds a new row. Is there any property or else to prevent it from adding a new row automatically?
|
| Sign In·View Thread·PermaLink | 1.33/5 (3 votes) |
|
|
|
 |
|
 |
To hide my name and email from ActiveX control: Try following: Let your form has PictureBox control, give it the name 'HidePic' Suppose the ActiveX control has the name (VB6Flexgrid1) Put VB6Flexgrid1 control inside the PictureBox (as container). Set Left and Top for VB6Flexgrid1 control. In the 'Form_Load ' procedure write this line: Me.ScaleMode = 1 'this line not important In the 'Form_Paint ' procedure write following lines: HidePic.Align = 1 'this line not important HidePic.Height = VB6Flexgrid1.Height + VB6Flexgrid1.Top - 210 HidePic.BackColor = Me.BackColor
Or try following: Let your form has PictureBox control, give it the name 'HidePic' In the 'Form_Load ' procedure write this line: Me.ScaleMode = 1 In the 'Form_Paint ' procedure write following lines: HidePic.BackColor = Me.BackColor HidePic.Width = VB6Flexgrid1.Width HidePic.Height = 210 HidePic.Left = VB6Flexgrid1.Left HidePic.Top = VB6Flexgrid1.Height - 120 HidePic.ZOrder
Mostafa Kaisoun
modified on Saturday, May 31, 2008 7:22 PM
|
| Sign In·View Thread·PermaLink | 3.50/5 (2 votes) |
|
|
|
 |
|
 |
Above approach is not good. Could you please remove your name and email in the control. YOu can give your details in "About" property/method.
Using Picture Box and placing the control in that is a costly affair in application. Because Picture Box take more memory in the system.
Test Case: I've used this control for testing purpose with around 60,000 records, while scrolling, it takes long time.
Regards.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Ok, I add another one without email and name, I hope the site publish it. You can find it in the folder (TestControl). If the new one not publish send your email to me, then I send the control to you. Thanks, Mostafa kaisoun
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
You can set Column Width but you can't get it because return ColWidth not available for this control. If you want to resize columns i think you can do following lines: Dim r As Integer Dim c As Integer Dim NumCols As Integer
NumCols = flxGrid.Cols - 1 ReDim StrLength(NumCols) ' find maximum text length For c = 1 To flxGrid.Cols - 1 StrLength(c) = Len(flxGrid.TextMatrix(1, c)) For r = 2 To flxGrid.Rows - 1 If StrLength(c) < Len(flxGrid.TextMatrix(r, c)) Then StrLength(c) = Len(flxGrid.TextMatrix(r, c)) End If Next r flxGrid.ColWidth(c) = StrLength(c) * 120 ' if ScaleMode is Twip Next c
Regards, Mostafa Kaisoun
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
thank you so much for sharing this control! i am getting an error on a reference to the ColWidth property:
line: If (Len(Me.gridSummary.TextMatrix(i, j)) > Me.gridSummary.ColWidth(j)) Then
produces error: Run-time error '450': Wrong number of arguments or invalid property assignment
any ideas? thanks again!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Dear Mostafa,
I am quite impressed with your VB6FlexGrid ActiveX control for VB6. This is the exact tool I was searching whole year of 2007 and could not write myself coz of limited VB knowledge.
I use visual basic application for Excel for some automation. Although your tool provided for vb6 works great, it does not support VBA. I have successfully registered the controls file and able to add to my userform but fails to perform the action. It gives control array error and sometimes through me out of memory.
Please help me... I am running out of time to complete my project...
Thanking you in anticipation.
Regards, Ilyas Kazi
|
| Sign In·View Thread·PermaLink | 3.50/5 (2 votes) |
|
|
|
 |
|
 |
Sorry.. But the download does not work...
Where I can download your source code??? Thanks Please replt me here or alessio.r@automaonline.com
|
| Sign In·View Thread·PermaLink | 2.00/5 (3 votes) |
|
|
|
 |
|
 |
Hello, I am using VB6FlexGrid control in one of my projects. I had not got any grid control which had combo boxes. I am happy to find this . I have integrated the control to the MFC project and is working fine. However, I have the following doubts:- 1. After configuring a column to have combo box, can an individual cell be set to have an edit box in that cell ? To be precise, can few cells in a column have combo boxes and the others edit boxes? 2. A new row gets added randomly when a cell is hit . Can that be stopped and added programatically? 3. How to get an arrow on the combobox when it is displayed initially? Because the arrow gets displayed when selected only. Hope to get a response at the earliest ,
Thanks, Vidya
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Dear Vidya Your request enabled, but I create my AdiveX control to help us to edit column and select from items in another column. I am using this control with any data base application. You can fill ComboBox from any field of data base file or by Comb.Items.Add. So, we are not need to edit a column by TextBox and ComboBox at the same time and not need to edit ComboBox. About your question #2 I create this step as DataGrid control.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Dear Mostafa, Thank you for your immediate response . I repeat my doubts again as I might not have clearly explained:- 1. I was able to use the grid function to make an entire column to have comboboxes. This is helpful for me at one place in the project. But in some other screen, I want some of the cells in the column to have simple text(Without comboboxes) and the remaining other cells in the same column to have comboboxes. Is there a way to achieve this? 2. Can a row be added dynamically only through code and not from the button click on the cell? Is there a way to disable the row creation randomly? 3. The cells which have comboboxes donot appear to be comboboxes with arrows initially but will get the arrow only when the control is selected. How to get an arrow on the combobox when it is displayed initially that is when it is not selected? Awaiting your response,
Vidya
Hello,
Mostafa Kaisoun wrote: Dear Vidya Your request enabled, but I create my AdiveX control to help us to edit column and select from items in another column. I am using this control with any data base application. You can fill ComboBox from any field of data base file or by Comb.Items.Add. So, we are not need to edit a column by TextBox and ComboBox at the same time and not need to edit ComboBox. About your question #2 I create this step as DataGrid control.
|
| Sign In·View Thread·PermaLink | 2.00/5 (4 votes) |
|
|
|
 |