Click here to Skip to main content
15,899,937 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Multithreading web browser Pin
Dave Kreskowiak9-Nov-06 3:14
mveDave Kreskowiak9-Nov-06 3:14 
QuestionConverting Excel file to CSV Pin
Steven J Jowett8-Nov-06 5:56
Steven J Jowett8-Nov-06 5:56 
AnswerRe: Converting Excel file to CSV Pin
Tim Carmichael8-Nov-06 7:02
Tim Carmichael8-Nov-06 7:02 
GeneralRe: Converting Excel file to CSV Pin
Steven J Jowett10-Nov-06 13:52
Steven J Jowett10-Nov-06 13:52 
QuestionHow can I use a Timer control to test how long it takes for a form to load????? Pin
Joey Picerno8-Nov-06 4:58
Joey Picerno8-Nov-06 4:58 
AnswerRe: How can I use a Timer control to test how long it takes for a form to load????? [modified] Pin
nlarson118-Nov-06 5:11
nlarson118-Nov-06 5:11 
GeneralRe: How can I use a Timer control to test how long it takes for a form to load????? Pin
Joey Picerno8-Nov-06 5:50
Joey Picerno8-Nov-06 5:50 
GeneralRe: How can I use a Timer control to test how long it takes for a form to load????? Pin
nlarson118-Nov-06 6:04
nlarson118-Nov-06 6:04 
Try this instead

1) put a dummy label on your form.
2) dim a variable at the form level

Private dt As Date
3) code activate with the result

Private Sub Form2_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Activated
Label1.Text = (Now.Subtract(dt).TotalMilliseconds / 1000).ToString
End Sub

4) code the handlecreated event with the start of the "timer"

Private Sub Form2_HandleCreated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.HandleCreated
dt = Now
End Sub

GeneralRe: How can I use a Timer control to test how long it takes for a form to load????? Pin
Joey Picerno8-Nov-06 9:12
Joey Picerno8-Nov-06 9:12 
GeneralRe: How can I use a Timer control to test how long it takes for a form to load????? Pin
Joey Picerno8-Nov-06 9:14
Joey Picerno8-Nov-06 9:14 
GeneralRe: How can I use a Timer control to test how long it takes for a form to load????? Pin
nlarson118-Nov-06 9:17
nlarson118-Nov-06 9:17 
GeneralRe: How can I use a Timer control to test how long it takes for a form to load????? Pin
Joey Picerno8-Nov-06 9:48
Joey Picerno8-Nov-06 9:48 
QuestionRemove rows from datagridview Pin
cstrader2328-Nov-06 3:53
cstrader2328-Nov-06 3:53 
AnswerRe: Remove rows from datagridview Pin
nlarson118-Nov-06 4:53
nlarson118-Nov-06 4:53 
QuestionAppend IPAddess Pin
MrMacc8-Nov-06 3:28
MrMacc8-Nov-06 3:28 
AnswerRe: Append IPAddess Pin
nlarson118-Nov-06 5:00
nlarson118-Nov-06 5:00 
GeneralRe: Append IPAddess Pin
MrMacc8-Nov-06 5:10
MrMacc8-Nov-06 5:10 
GeneralRe: Append IPAddess Pin
nlarson118-Nov-06 5:29
nlarson118-Nov-06 5:29 
QuestionHow to send fax through internet Pin
balamurugan828-Nov-06 3:19
balamurugan828-Nov-06 3:19 
AnswerRe: How to send fax through internet Pin
Guffa8-Nov-06 12:43
Guffa8-Nov-06 12:43 
GeneralRe: How to send fax through internet Pin
Steven J Jowett12-Nov-06 23:41
Steven J Jowett12-Nov-06 23:41 
Question[Message Deleted] Pin
PREMSONBABY8-Nov-06 1:12
PREMSONBABY8-Nov-06 1:12 
AnswerRe: An application is changing my wallpaper Pin
Steven J Jowett8-Nov-06 4:54
Steven J Jowett8-Nov-06 4:54 
QuestionPrint Queue Pin
kRites8-Nov-06 0:59
kRites8-Nov-06 0:59 
AnswerRe: Print Queue Pin
Tim Carmichael8-Nov-06 7:13
Tim Carmichael8-Nov-06 7:13 

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.