Click here to Skip to main content
15,913,278 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Hangman Game Pin
Christian Graus22-Apr-09 17:05
protectorChristian Graus22-Apr-09 17:05 
GeneralRe: Hangman Game Pin
elindel22-Apr-09 17:23
elindel22-Apr-09 17:23 
GeneralRe: Hangman Game Pin
Christian Graus22-Apr-09 18:07
protectorChristian Graus22-Apr-09 18:07 
GeneralRe: Hangman Game Pin
elindel22-Apr-09 18:22
elindel22-Apr-09 18:22 
GeneralRe: Hangman Game Pin
ChandraRam23-Apr-09 0:17
ChandraRam23-Apr-09 0:17 
GeneralRe: Hangman Game Pin
Christian Graus23-Apr-09 0:44
protectorChristian Graus23-Apr-09 0:44 
GeneralRe: Hangman Game Pin
Tiyani Miyambo23-Apr-09 22:02
Tiyani Miyambo23-Apr-09 22:02 
QuestionHow to get the diffrence in time. VB.net #8 *** Thanks for all your help *** Pin
Laser Steve22-Apr-09 8:18
Laser Steve22-Apr-09 8:18 
The error I get is "Timespan can not be converted to a string".
I did a lot of reading and experimenting on this problem.
My weakness is not understanding the methodology of timespan and parse-ing.

--------------------------------
Public Class Form1
Dim NowIs As Date
Dim NowWas As Date = Now

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
NowIs = Now
TextBox1.Text = NowIs - NowWas
NowWas = NowIs
End Sub
End Class
--------------------------------------

The idea is for the text box to indicate the amount of time passed, in minutes.
Hours could elapse between events.

Thanks in advance to all those who help.
Steve B.

modified on Thursday, April 23, 2009 5:00 PM

AnswerRe: How to get the diffrence in time. VB.net #8 Pin
0x3c022-Apr-09 8:30
0x3c022-Apr-09 8:30 
AnswerRe: How to get the diffrence in time. VB.net #8 Pin
SayreCC22-Apr-09 21:34
SayreCC22-Apr-09 21:34 
AnswerRe: How to get the diffrence in time. VB.net #8 Pin
Lyndon Schroeder23-Apr-09 9:49
Lyndon Schroeder23-Apr-09 9:49 
AnswerRe: How to get the diffrence in time. VB.net #8 *** Thanks for all your help *** Pin
ormonds23-Apr-09 12:31
ormonds23-Apr-09 12:31 
Questioncombobox last item to first item Pin
johnny196322-Apr-09 1:53
johnny196322-Apr-09 1:53 
AnswerRe: combobox last item to first item Pin
Jay Royall22-Apr-09 2:31
Jay Royall22-Apr-09 2:31 
GeneralRe: combobox last item to first item Pin
johnny196322-Apr-09 4:50
johnny196322-Apr-09 4:50 
GeneralRe: combobox last item to first item Pin
Jay Royall22-Apr-09 5:06
Jay Royall22-Apr-09 5:06 
GeneralRe: combobox last item to first item Pin
johnny196322-Apr-09 5:55
johnny196322-Apr-09 5:55 
GeneralRe: combobox last item to first item [modified] Pin
Jay Royall22-Apr-09 6:21
Jay Royall22-Apr-09 6:21 
GeneralRe: combobox last item to first item Pin
johnny196322-Apr-09 10:16
johnny196322-Apr-09 10:16 
GeneralRe: combobox last item to first item Pin
johnny196322-Apr-09 10:32
johnny196322-Apr-09 10:32 
GeneralRe: combobox last item to first item [modified] Pin
Johan Hakkesteegt22-Apr-09 21:01
Johan Hakkesteegt22-Apr-09 21:01 
GeneralRe: combobox last item to first item Pin
johnny196322-Apr-09 21:37
johnny196322-Apr-09 21:37 
GeneralRe: combobox last item to first item Pin
Johan Hakkesteegt22-Apr-09 21:39
Johan Hakkesteegt22-Apr-09 21:39 
GeneralRe: combobox last item to first item Pin
johnny196322-Apr-09 23:32
johnny196322-Apr-09 23:32 
AnswerRe: combobox last item to first item [modified] Pin
Alan N22-Apr-09 12:18
Alan N22-Apr-09 12:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.