Question about Microsoft Visual Basic 6.0 for PC

1 Answer

Time Difference in MS Flexgrid 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 any 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
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
MSFG.TextMatrix(MSFG.Row, 2) = MSFG.TextMatrix(MSFG.Row, 1) - MSFG.TextMatrix(MSFG.Row, 0)
















Posted by on

  • Anonymous Dec 16, 2008

    Sir,
    I Use Visual Basic 6.0 version, on Windows-XP
    E.Jithender

  • Anonymous Dec 16, 2008

    My Problem is Not Yet Solved.
    E.Jithender


×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 3 Answers

What operating do you use?

Posted on Dec 16, 2008

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:

4 Answers

What you like any Best Novell Groupwise to Exchange tool?


A third party tool to convert GroupWise to Exchange server quickly in single click. Software support migration of different mailboxes to Exchange server which converts it into single PST file. Software provide two option to convert/migrate single or multiple mailboxes.

Download:- Stellar Phoenix GroupWise To Exchange

May 15, 2014 | Microsoft Database Software A5K-02817 SQL...

4 Answers

How to Repair Corrupted MS SQL Database (MDF) File?


To choose a reliable and 100% safe and secure, a Microsoft SQL server database recovery program guarantee the zero loss of quality. You can see this page: http://www.en.repairsqlserver.net
See demo: http://www.youtube.com/watch?v=Q0aW1vT5nxA

May 12, 2014 | Microsoft Database Software A5K-02817 SQL...

1 Answer

Send data from flexgrid to crystal report


Clearly specify the problem? What exactly are you trying to do?
Either one way of sending data would be
You can transfer the data from the flexgrid to a database table.
Then while calling the report you can call the data from the database.

Oct 15, 2009 | Compilers & Programming Tools

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

Write into excel format


Your code does not save in access format it just makes a copy of existing file. You need to open table by table and export data using csv format.
It can be done using access OLE to export, or
write some VB code to access the database tables via ODBC and save row data to csv file

Feb 17, 2009 | Microsoft Visual Basic Professional...

1 Answer

Type mismatch in MSFlexGrid Control


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.

Dec 19, 2008 | Microsoft Visual Basic 6.0 for PC

1 Answer

How to lock cell, column or row?


Lock (Colume / Row)
  1. Select colume or row that you want to lock (by default . it is locked)
  2. Right click and select menu 'Format cell'
  3. Click tab "Protection" and then check on "Lock" option.
  4. Click ok and close this dialog.
  5. Go to ribbon 'Review' and select "Protect sheet"
  6. Typing you password
  7. Saving and close your workbook and reopen again.

Nov 19, 2008 | Microsoft Compilers & Programming Tools

1 Answer

Difference


You can use this link to see the comparison. Having used the TOAD before in my line of work, it's very deep in it's abilities. It's more of a hard-core tool. Where the other is more for average to beginner levels. Remember, these two tools came from two different companies and Quest bought them. TOAD has been around for a really long time, and has a lot of testing and integrations behind it. TOAD would be my choice. I've read other opinions, which I agree with, is it can be a matter of taste and you'll have to "try-before-you-buy". See which one meets your needs.

The main difference being that TOAD can integrate with many programming capabilities and utilities for speed of tasks (including reverse-engineering) which I love, it has always been able to help me get the job done.

Nov 14, 2007 | Quest Software SQL Navigator Professional...

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

Related Topics:

215 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Compilers & Programming Tools Experts

Fred Block
Fred Block

Level 2 Expert

289 Answers

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Compiler and Programming Tool Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...