Question about Microsoft Visual Basic 6.0 for PC

1 Answer

Type mismatch in MSFlexGrid Control

Sir,
When I Click a Row in MS Flexgrid Control, I must get the Time Elapsed.
That is the difference between Timein - Timeout = Elapsed Time
For Ex:
Timein = MSFlexGrid.Textmatrix(MSFlexgrid.Row,0)
Timeout = MSFlexGrid.TextMatrix(MSFG.Row, 1)
Elapsed time = MSFlexGrid.TextMatrix(MSFG.Row, 2)
I want to get Elapsed time, when I click a particular row in MSFlexGrid Control
i.e., Elapsed time = Timeout - Timein

I am getting runtime error message No.13 Which says " Type mismatch "
When I click on debug button,
I am getting MSFlexGrid.TextMatrix(MSFG.Row, 2) = ""

Many a time I tried in all sorts using all of my knowledge, but everytime I am getting the same error message. I am unable to get through the error.

So I request your good self to solve this problem as soon as possible.

My emial id for your correspondence ejithender@gmail.com

Thanking you,

E.Jithender
India

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Sniper:

    An expert who has posted more than 50 answers, of which 90% or more were rated as helpful.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

  • Expert
  • 68 Answers

Type mismatch error occours when there is a mismatch between the value which you are trying to assign to a variable which is dimensioned to store values of another, first you check if the datatypes match each other by applying the break.

Posted on Jan 13, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

HELLOO SIR I HAVE INSTALLED THE SOUND DRIVER OF MY MSI MS-6380E EVERYTHING SEEMS TO BE OK BUT NO SOUND. thanks <a href=http://www.ddl.name/ >backup...


click my computer then control panel click performance and maintenance click system then click hardware click device manager then click sound video and game controller if there no question mark your software is installed so go back to control panel click sound,speech and audio device then click where you want to adjust

Aug 19, 2010 | MSI MS-6380E (MS-6380E-010) Motherboard

2 Answers

I M GETTING A RUN TIME ERROR....... WAT D HELL IT IS???????ND WATS D SOLUTION........


System Configuration Utility ( Msconfig ) is the Solution

click start and in the run box type msconfig go to the tab that says services and down on the left side there is an option that says hide all microsoft services do a check on it and then click on disable all

Nov 05, 2009 | Microsoft Windows Vista Ultimate Edition

1 Answer

Flexgrid with textbox


The arrow key will place you into the cell of your choice. In code you can determine the cell you are in by using the "Col" and "Row" properties. Here's a snippet for you:

Private Sub MSFlexGrid1_RowColChange()
Dim intCol As Integer
Dim intRow As Integer

intCol = MSFlexGrid1.Col
intRow = MSFlexGrid1.Row

Text1.Text = CStr(intCol) & " ; " & CStr(intRow)

End Sub

Mar 29, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

Inserting data into MSFlexGrid control from an excel file


Have you tried implementing an ADO (Active Data Object) control (available from the toolbox)? Properly configured (and run via OLEDB or Microsoft Jet as appropriate for your setup) it works like a champ.

Feb 10, 2009 | Microsoft Visual Basic Enterprise Edition...

1 Answer

Edit unbound msflxgrid rows save changes in database


unbound FlexGrids do not directly accept data entry, but can accept data through the FlexGrid's KeyPress event or via a Textbox

For more detail see

http://www.pbdr.com/vbtips/gen/Article-UsingFlexGrids%282%29.htm

Dec 12, 2008 | Microsoft Windows XP Professional

1 Answer

How can i print datas from MSFlexGrid in VB6


I hear a lot of people are asking that question. I am sure its possible.
Try this:

For i = 0 To Form1.MSFlexGrid1.Col
For j = 0 To Form1.MSFlexGrid1.Row
Print Form1.MSFlexGrid1.TextMatrix(i, j)
Next j
Next i

That should move the data. I think. This isn't my best area; however, It doesn't hurt to try it right?

Hope it helps.

Nov 21, 2008 | Computers & Internet

1 Answer

Printing to 4 x 6 paper


Hello oyam26,
For any paper mismatch issue, first thing you do is try to set the paper type to plain. This will fix the issue in most of the cases.

gud luck

Nov 01, 2008 | HP Photosmart C4280 Aio Printer

2 Answers

Vb.net2005 flexGrid


http://blogger007007.blogspot.com

Here you can get download links for 18 GB of engineering and programming books. Just do a search of "visual basic" or "2005".

Feb 15, 2008 | Computers & Internet

1 Answer

Memory Recognition


The BIOS recognizes the same speed chip. Say, "PNY 512mb 333mhz 12ns". If you mix and mismatch, the BIOS won't see it even though your motherboard will take the differant type chips. They should all be the same.

Jul 10, 2007 | MSI MS-6547 Motherboard

Not finding what you are looking for?
Microsoft Visual Basic 6.0 for PC Logo

416 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2642 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18357 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...