473,480 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problems with my timesheet program - please help

I am writing a timesheet program for my office and I am trying to keep a
portion of my code synchronous during shutdown (so that it registers the time
a user shuts down the computer) , but
webBrowser1.Navigate("www.webpage.com"); starts, then the app shuts down
before the navigation is completed.

I've tried:
while (this.webBrowser1.IsBusy.Equals(true)) { }
and
while
(!this.webBrowser1.ReadyState.Equals(System.Window s.Forms.WebBrowserReadyState.Complete)) { }

but neither seem to work correctly.

Any help would be appreciated, thank you,
Michael

I'm using C# EE beta2 at the moment

Nov 17 '05 #1
1 1907
Hi,

Just do a "ping" using either UDP or TCP IMO a webrequest is more complex
and takes longer.
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"mikelostcause" <mi***********@discussions.microsoft.com> wrote in message
news:2F**********************************@microsof t.com...
I am writing a timesheet program for my office and I am trying to keep a
portion of my code synchronous during shutdown (so that it registers the
time
a user shuts down the computer) , but
webBrowser1.Navigate("www.webpage.com"); starts, then the app shuts down
before the navigation is completed.

I've tried:
while (this.webBrowser1.IsBusy.Equals(true)) { }
and
while
(!this.webBrowser1.ReadyState.Equals(System.Window s.Forms.WebBrowserReadyState.Complete))
{ }

but neither seem to work correctly.

Any help would be appreciated, thank you,
Michael

I'm using C# EE beta2 at the moment

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6305
by: harsha mogaligundla | last post by:
Dear All , I am trying to develop a web based electronic Timesheet system for the payroll department using ASP and SQL server, the front end has fields like ssn,time -in , tim-out,regular...
2
7374
by: christian | last post by:
I'm creating a Timesheet Database for the employees of my Department. One of my tables is called Fiscalpayperiod and contains: Paysunday, payweek, Date, Day. Pay Sunday Pay week Date Day...
3
12290
by: christian | last post by:
HI, I'm creating a TimeSheet Database for the Employees of my Deparment. One of the Tables is called FiscalPayPeriod and contains the folllowing elements: PaySunday,PayWeek, Date, Day. Pay...
0
1711
by: Sher | last post by:
I am trying to create a timesheet in access that have mutliple fields. Bi-weekly starting Sun - Sat Regular Regular + N/D Comp Time Earned Overtime Sunday Sunday + N/D Annual Leave Sick Leave
0
1523
by: Redz | last post by:
About SocketTimesheet™ SocketTimeSheet is one of the most practical, affordable and user friendly web-based time tracking software and expenses management system in the market today - it's cheap,...
5
2714
by: Ordovicium | last post by:
I am trying to getting run the software timesheet php. -> http://www.timesheetphp.com/ The installation works fine, but I can't logon. It is impossible to verify the password. Maybe some one can...
1
4219
by: LiveTecs | last post by:
http://www.livetecs.com TimeLive Web Collaboration Suite is an integrated suite that allows you to manage project life cycle including tasks, issues, bugs, timesheet, expense, attendance. ...
8
6374
by: Serenityquinn15 | last post by:
Hi! I just want to know, how to calculate the employee timesheet it's a part of payroll system. and it is my first time to create a system like this. I need to determine the Overtime, Late and...
1
1661
by: architrave | last post by:
I am building a timesheet for my work. Instead of record by record timesheet, I wanted to have a form with 15 unbound fields (pay period) distributed by dates along columns and different projects...
0
7041
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6737
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6921
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5336
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4776
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4481
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.