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:

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

9 Answers

No watch instructions


- CHARACTERISTICS
1. Stopwatch: Measures up to 9 hours, 59 minutes,
59 seconds and 99 with 1 ¤ 100 second readout.
• Lap time measurement: Up to 9 lap times
can be measured. The lap time difference and
the fastest lap time are calculated and displayed
during the measurement.
2. Time/calendar display: Hour, minutes, seconds,
month, date and day of the week.
• Automatic calendar adjustment: Calendar
adjusts automatically for odd and even months
including February of leap years, but not for
February of common years.
• Time indication: Changeover between 12-
and 24-hour indications is possible.
3. Daily alarm: The alarm can be set to ring on a
24-hour basis.
4. Dual time: Time of a different time zone can be
set and displayed.
5. Stroke function: The watch can be set to beep
at a selected rate to serve as a pacemaker in
jogging, etc.
6. Countdown timer: Up to 9 hours 59 minutes
and 59 seconds can be set in seconds.
Lap time measurement
• “Lap time” refers to an elapsed time required to
cover a given section of the whole distance.
1. At the start of the activity, depress button “D” to
start the stopwatch.
2. At the end of the first lap, depress button “A”.
The first lap time and lap number are displayed,
though the second lap time is being measured
internally.
3. Depress button “A” to release the lap time before
the end of the second lap. The first lap time and
lap number disappear, and the measurement in
progress and “0” are displayed in place of the lap
time and lap number, respectively.
4. At the end of the second lap, depress button “A”.
The second lap time and lap number are displayed,
though the third lap time is being measured
internally.
5. Measurement and release of the lap time can be
repeated by depressing button “A”.
6. At the end of the activity, follow either of the two
methods below.
a. To display the final lap time, depress button
“A”. Then, depress button “A” to release the
lap time, and depress button “D” to stop the
measurement.
* The time displayed when button “D” is depressed
is not the total elapsed time of the
activity, that is, the time that elapsed from
the start until the end of the activity but the
time that elapsed from the start until the
stop of the measurement.
b. To display the total elapsed time of the activity,
depress button “D” to stop the measurement.
7. Depress button “B” to reset the stopwatch.
Stopwatch operation
Depress button “C” to show the stopwatch display.
Start Stop Restart Stop Reset
Accumulate repeatedly by
depressing button “D”.
Accumulated elapsed time measurement
D D D D B
Notes:
1. When a lap time measured is the fastest among
the lap times previously measured, a short beep
rings to signal that the memory has been updated
with the new fastest lap time.
2. The lap number counts up to “9”. After “9”, the
number returns to “1”.
• While a lap time is being displayed, depress button
“B”. With each depression of the button, the
difference between the displayed lap time and the
previous lap time is displayed in the following
order.
Latest lap time ® Lap time difference
Fastest lap time ¬
9a994e5.jpg
The selection of the display can be made in the
following order with each depression of button “C”.
98ac913.jpg
* A flashing display mark indicates that the corresponding
function is in use.

- HOW TO USE THE STOPWATCH
• The stopwatch can measure up to 9 hours, 59
minutes, 59 seconds and 99 in 1¤ 100 seconds.
* Even if the stopwatch display is changed to another
while the measurement is in progress, it continues
counting properly. After the stopwatch is used,
however, be sure to reset it as the battery energy
is consumed enormously to shorten the battery
life.

Stopwatch display mark
709c23a.jpg
Stopwatch operation
Depress button “C” to show the stopwatch display.
22f4188.jpg

53db813.jpg
• “Lap time” refers to an elapsed time required to
cover a given section of the whole distance.
1. At the start of the activity, depress button “D” to
start the stopwatch.
2. At the end of the first lap, depress button “A”.
The first lap time and lap number are displayed,
though the second lap time is being measured
internally.
3. Depress button “A” to release the lap time before
the end of the second lap. The first lap time and
lap number disappear, and the measurement in
progress and “0” are displayed in place of the lap
time and lap number, respectively.
4. At the end of the second lap, depress button “A”.
The second lap time and lap number are displayed,
though the third lap time is being measured
internally.
5. Measurement and release of the lap time can be
repeated by depressing button “A”.
6. At the end of the activity, follow either of the two
methods below.
a. To display the final lap time, depress button
“A”. Then, depress button “A” to release the
lap time, and depress button “D” to stop the
measurement.
* The time displayed when button “D” is depressed
is not the total elapsed time of the
activity, that is, the time that elapsed from
the start until the end of the activity but the
time that elapsed from the start until the
stop of the measurement.
b. To display the total elapsed time of the activity,
depress button “D” to stop the measurement.
7. Depress button “B” to reset the stopwatch.

Notes:
1. When a lap time measured is the fastest among
the lap times previously measured, a short beep
rings to signal that the memory has been updated
with the new fastest lap time.
2. The lap number counts up to “9”. After “9”, the
number returns to “1”.

Lap time difference and the fastest lap time
• While a lap time is being displayed, depress button
“B”. With each depression of the button, the
difference between the displayed lap time and the
previous lap time is displayed in the following
order.
87b59c3.jpg

• The lap time difference is displayed without a plus
or minus sign. Instead, the lap number of the
faster lap time is always displayed at the right of
the “–” mark.
Ex.)
a189e20.jpg
Notes: 1. While the measurement in progress is shown
on the display, the lap time difference
and the fastest lap time cannot be shown
by depressing button“B”.
2. While the latest lap time, lap time difference
or the fastest lap time is shown on
the display, the display cannot be changed
to another by depressing button “C”.

5958f90.jpg
* With each depression of button “A”, month and day
are displayed alternately.
* With each depression of button “D”, the display
changes over between the 12- and 24-hour indications.
1. Depress button “C” to show the time/calendar
display.
2. Depress button “B” to show the time/calendar
setting display. The second digits start flashing.
3. Selection of the digits to be adjusted (flashing)
is made in the following order by depressing
button “D”.
1bb3c87.jpg
4. Depress button “A” to set the flashing digits.
One digit is advanced with each depression of
button “A”. Digits except seconds move quickly
by keeping button “A” depressed.
5. After all the adjustments are completed, depress
button “C” to return to the time/calendar display.

Seconds setting
When the seconds digits are flashing, depress button
“A” in accordance with a time signal. The seconds
are reset to “00” and start immediately.

Note: When setting the hour digits in the 12-hour
indication, check that AM/PM is properly
set. Only “PM” is displayed and there is no
indication for the AM setting. In the 24-
hour indication, there is no indication.

Jun 29, 2008 | Sportline 1000 Memory watch

Tip

Watch glossary: E


EBAUCHE
Incomplete (jeweled or non-jeweled) watch movement without regulating organs, mainspring, dial and hands.
ECO-DRIVE
A name for a patented power mechanism found on some Citizen watches. This mechanism uses ordinary light to keep a rechargeable battery powered for watch operation. This technology is very sophisticated allowing some watch models to remain powered for up to 5 years in the dark. Watches with Eco-Drive technology will never need to have the battery replaced.
ELAPSED TIME ROTATING BEZEL
A graduated rotating bezel used to keep track of elapsed time. The bezel can be turned so the wearer can align the zero on the bezel with the watch's seconds or minutes hand. After a period of time passes, you can read the elapsed time off the bezel. This saves you having to perform the subtraction that would be necessary if you used the watch's regular dial.
ELECTROPLATING PROCESS
Process of covering metal articles with a film of other metals. The article is immersed in a chemical solution; electric current (D.C.) flows through the solution from a piece of metal (anode) to the article (cathode), depositing metal thereon by electrolysis.
ENDSTONE
Undrilled jewel, placed on the balance jewel with the tip of the balance-staff pivot resting against its flat surface, to reduce pivot friction. Sometimes used also for pallet staffs and escape wheels.
ENGINE-TURNED, see guilloché.
EQUATION OF TIME
Indication of the difference, expressed in minutes, between conventional mean time and real solar time. This difference varies from -16 to +16 seconds between one day and the other.
EQUINOX
The time when day and night are of equal length, when the sun is on the plane of the equator. Such times occur twice in a year: the vernal equinox on March 21st-22nd and the autumnal equinox on September 22nd-23rd.
ESCAPEMENT
Positioned between the train and the balance wheel and governing the rotation speed of the wheel - train wheels. In today's horology the most widespread escapement type is the lever escapement. In the past, numerous types of escapements were realized, such as: verge, cylinder, pin-pallet, detent and duplex escapements. Recently, George Daniels developed a so-called "coaxial" escapement.
ESCAPE WHEEL
A wheel belonging to the mechanism called escapement

on Jan 11, 2010 | Watches

1 Answer

How do you use the outer ring for underwater timing to how much air is left in air tank. And is there a PDF down load of the Rolex submarier user manual?


The rotating bezel is merely an indicator guide. What you do is rotate until the triangular pointer is aligned with the minute hand. Now, as the minute hand moves forward, it points to the elapsed time indicated on the bezel.

For example, let's say it is 9:23. You align the pointer with the minute hand. At a future time, say 9:31, you look at the watch. The minute hand should now be pointing at roughly 8 ON THE BEZELl. That's the difference between when you started and now.

Recognize that this is a rough guide, without anywhere near the accuracy of a chronograph. Also, you don't want to be operating a chrono underwater (do not press pushers underwater!) It just saves you having to remember when you started, and then doing the math to figure the elapsed time.

Apr 10, 2009 | Rolex Submariner 16618 Wristwatch

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

How to calculate the difference of two dates by year, month and day using the formula in excel?


To calculate the difference in Years use =Year(c,r)-Year(c,r)
To calculate the difference in Months use =Month(c,r)-Month(c,r)
To calculate the difference in Months use =(c,r)-(c,r)

c= column, r= row

You will need to format the source cells as dates

Mar 15, 2009 | Microsoft Office Excel 2003 for PC

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

Pictures are cloudy now.


I tried cleaning the printhead 3 times in a row and it made a huge difference. Don't give up after cleaning it just once if it doesn't make a difference. it wasn't until after the 3rd time that i actually saw a big difference. It's back pretty close to normal now. Hope this helps someone else.
Bill

Dec 17, 2008 | HP Photosmart C5180 All-In-One InkJet...

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

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

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 Computers & Internet Experts

micky dee

Level 3 Expert

2644 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18381 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...