[08] Multi-task Time Tracker

Mar 19, 2009

I find it hard to manage tracking my time on multiple taks..esp when it comes time to charge How would i track time? ie if i click on a start button, then click on a stop button...how would i work out diff in hour mm secs....

View 3 Replies


ADVERTISEMENT

VB 2010 - Update Unable To Find TableMapping['Tracker'] Or DataTable 'Tracker'?

Dec 15, 2011

I have a bound datagrid which I fill from various search options that are available to the end user.Currently I have one of the columns (status) set as a DataGridViewComboBoxColumn with a collection of two items. 'Open' and 'Closed'When the I select for example 'Closed' and hit the 'Update' button an exception is passed with the caption'Update unable to find TableMapping['Tracker'] or DataTable 'Tracker''I have been looking at hope the mapping works for the last 3 hours but getting nowhere fast and I really need to get this project completed by the end of the week.The bound controls are:

Binding Source = BS
Data Member = Tracker
Data Source = TrackerDataSet
[code]...

View 4 Replies

Multi-threaded Task Under Windows

Nov 11, 2010

I've just completed my first multi-threaded task under windows. Historically I am a VMS Engineer. You could multithread in drivers in VMS but VMS never had formalized threads. Which means it never had applications threads. Threads will become increasing important in the future. I thought this maybe a good time to discuss them. Not having access to sources hurts in terms of the amount of depth one can achieve in Windows. Some of the topics for this thread might be...compute resource regulation, how to do multi-threading and of course things to watch out for.

View 1 Replies

Create A Cancel Form / Multi Task?

Feb 27, 2009

i have a function to export data with some loops now the problem is that when he is exporting the data the program stop responding and only respond when the job is done, and i need a option to cancel the job when it is running but the problem simple block all forms that is opened how can i creat some multi task for fix that problem?

View 1 Replies

Create A Cancel Form / Multi-task?

Feb 27, 2009

i have a function to export data with some loops now the problem is that when he is exporting the data the program stop responding and only respond when the job is done, and i need a option to cancel the job when it is running but the problem simple block all forms that is opened how can i creat some multi task for fix that problem?

View 1 Replies

How To Create A Cancel Form / Multi Task

Feb 27, 2009

i have a function to export data with some loops now the problem is that when he is exporting the data the program stop responding and onlyrespond when the job is done, and i need a option to cancel the jobwhen it is running but the problem simple block all forms that is openedhow can i creat some multi task for fix that problem?

View 2 Replies

Run Task At A Specific Time Of Day?

Mar 12, 2011

I have an app that relies on a database. Basically, users are checking in and checking out items and the database keeps track of all that.My boss wants a notification system to email us when a item is overdue. I already have most of this figured out.I was able to create a service and have it read registry values that the app sets and then it reads the check outdate from the database. If it's overdue, an email is sent out.

But, I've only done testing for 10 seconds at a time. I'm currently using a System.Threading.Timer to run every 10 seconds. That was only a test, it won't actually be that way.Instead, I want the task to run once every day. I was thinking to just have it run every hour, but if it runs every hour, then we'll be constantly bombarded by emails when an item is overdue. And sending it every "x" hours brings it's own issues and isn't ideal.Normally, I'd run a task via the Windows Task Scheduler, but the app has to read the database. I guess I could create a separate app and launch it via the task scheduler, have it complete the tasks and then close when done.

View 2 Replies

How To Make .exe Run At Specific Time Besides Using Task Scheduler

Jun 8, 2011

I'm wanting to create a small application that will allow me to schedule a machine to shutdown at a specific time. Any suggestions on how I can make this .exe run at a specific time besides using the Task Scheduler?

View 2 Replies

VS 2005 Keystroke Watch - Create A Program That Runs In The Task Bar Next To The Time

Apr 10, 2009

what I would like to do is create a program that runs in the task bar next to the time. What I want this to do is listen for the key stroke combo of CTRL-ALT-T no matter what program they are in. When they hit this key stroke I want the program to do is hide the task bar on the bottom of the screen. you know how you can change the hight to two rows one row and so on but you can also drag it down so it has no rows and can't see it. Then when they hit CTRL-ALT-T it will then display the task bar with what ever the hight wa set to. Just don't know what direction to go to do this.

View 3 Replies

Make Application To Be At Tray Icon Just Next To Time Displayed On Right Bottom Corner Of Task Bar?

May 31, 2009

I found some great code on capturing webcam images but the problem is the client PC will need to initiate the communication to this server (click Connect to server IP). This is like 2 way communication.How can i do something like this (door Kiosk system):when a visitor press a button on the LCD that come along a web cam (this will be the server), it will send the signal the client PC that is installed with the application i've created (window form) and pop up the images to the client PC (more like a 1 way communication). This image is captured through the web cam on the server to capture the visotor's image waiting outside of the door. How to do this?I'm really stuck as i'm not familiar with window API programming yet.

1) how to do the mentioned 1 way communication? possible in .NET?

2) how to make my application to be at the tray icon just next to the time displayed on the right bottom corner of the task bar? When a visitor press a button o the server, it will pop up a window form on the client PC showing the image captured via the server's webcam outside of the door.

View 5 Replies

Make Multi-selection Each Time?

Jul 7, 2011

[code]...

now I wanna know how to make multi selection each time

View 2 Replies

One Selection At A Time From Multi List Boxes?

Aug 8, 2011

ok.. just as it sounds.. I'm kinda making a document portal app for work.. has 4 list boxes going to 4 different drive locations.. for cosmetic reasons I want only the last box you clicked in to show a selected item.. so if you selected box 1 item and it was hilighted and then you went to box 2 and selected something I wanted box 1 to then dissapear.

I have some code written to handle this.. but its not working so well.. since I use the SelectedIndexChanged trigger to fire off another piece of code to unselect all the other windows.. those listboxes fire their triggers also because I have to call lstWord. SelectedIndex = -1 to make it not have something selected anymore.. and when you do that.. it calls its SelectedIndexChanged and ends up deselecting everything.. so wasnt sure if anyone had done something like this before.. seems like something that would have been done before.. but as you can imagine searching the web for "multi list box select only one at a time" or something similar..gives you some strange results..

View 8 Replies

VS 2008 Game Network Tracker?

Aug 25, 2009

I want to create for a game an external program that can give advice about what to do but I have no idea where to start.First off all I am not an unexpericend programmer but simply never did something like this before.Its about the game called PoxNora, this is some kind of advanced chess with so called 'runes' that can level, you can upgrade and collect.

The game send data to the client while you are playing. This data(is what i expect) contains information about what you are playing and what your opponent is playing. I know there are programs(forgot the names and cant find them that fast anymore ) that can listen to proccesses and detect network packages(wich is usually done for cheating in a lot of games). I want to do the same for this game and then let the program give advice.

Example of advice even when you dont know the game.I have 2 so called 'runes' and the enemy has 1. I want my program to calculate if it is better to attack firstly with one unit, maybe it causes debuffs, and then with the other one to maximize the damage output.

However it will take some time to create a program like this I really want to make it. I can create all those calculations myself but have no idea where to start with the network part.

View 3 Replies

Application Tracker - Passing Form Name During Transition

May 6, 2008

Suppose I have 4 different forms form1-4. If I open form1 from form 2 and close form2 how can I know that form2 opened form1 and not other form. Is there any function that does this or we need to pass the form_name during the transition and which one would be efficient.

View 6 Replies

Multi-Threading - Collect Data Simultaneously From 4-6 Sites At A Time?

May 4, 2011

I have just written an app in VB 2010 with .NET 4.0 that contacts our field loggers to collect data via modem or IP. Originally it was written without threading, but now the requirements have changed and I need to collect data simultaneously from 4-6 sites at a time. I have never used threading, TPL, etc. Can anybody tell me where to begin so that I can concurrently run multiple collections?

View 6 Replies

VS 2008 - Multi-thread Two Loops So That This Process Is Running At The Same Time?

Jun 28, 2009

It is my previous problem in vb6, its hard to multithread using vb6 so I migrate my codes to vb.Net.How can I multithread this two loops so that this process is running at the same time.Because when I start my second Loop, my first loop stop in executing. It will start again when my 2nd loop finished.

[code]...

I have 2 connected GSM Modem in usb port.That codes will send SMS in all contacts in my ListBox.

View 27 Replies

180 Day Tracker - Count The Number Of Days A Person Is On Hold

Feb 2, 2010

I need to be able to count the number of days a person is on hold. easy enough! However i need to be able to stop the expression when I enter a stop date so it would look like this "start date 1 to today= x amount of days" but i need to be able to add a stop date to end the counter. and if they go down again start date 2 to today and add number of days from start date 1.

View 1 Replies

Make Program To Show My Torrent Tracker Account Info?

May 24, 2011

i'am a newguy here but i have a one qustion how to make program to show my torrent tracker account info like ratio an something like that

View 2 Replies

Office Automation :: Multi-threaded Real-time Data Handling In Excel With COM

Jun 22, 2010

I have an Excel based algo-trading app that needs to take in lots of real-time data, and make trading decisions based on the calculations driven by the data. It is not one of those "read-only" stock ticker kinda spreadsheets.I created a COM object with VB.NET that runs in its own thread space which collects data from a socket, and when the data is read it raises an Event with data attached. In Excel VBA, the event handler parses the data, puts them to the right places on the spreadsheet to feed calculations (so far it sounds like a stock ticker app), and then, based on the results of the various calculations it does something.The problem is that when the user starts to click around the spreadsheet while there is large amount of data coming, the event handler's cell updating breaks apart. If the app is left alone without user action, it stands well. My frustration comes from not understanding what happens to the main thread when a user clicks around. Either the event handler blocks the user action, or the user action blocks the event handler (under which case I will put in some queuing facility). But I just don't see how user action can break the code (like causing VBA to stop executing)

View 9 Replies

Is It Guaranteed That Task A Started Before TaskB Will Be Completed Before Task B

Nov 24, 2010

is it guaranted that a task A started before TaskB will be completed before task B assuming the task do the same level of operatons?or in other words is there a chance that a task B will finish before tast A in the assumption that the task calls the same procedure?

View 4 Replies

Simple Name And Address Tracker File That Can Enter Data And Save It As A File

Dec 14, 2010

I am new to using visual basic 2005. I have a tutorial book and I have followed it but it does not help me understand. I have a limited understanding of the net framework and the drag and drop features.

What I want to know is this: How do I make a simple name and address tracker file that I can enter data and save it as a file. The book does not cover this proceedure but It is what I want to do.

IE: Start VB2005 start new windows app. Name (whatever) drag 2 label's and 2 textbox's and one button for saving data entry. I want this program to enter name in textbox1 (press enter) then enter address in textbox2 (press enter) then save file (whatever name) when you click the button.

View 2 Replies

VS 2008 Multi-threding - Adding Multi-threading Facilities - Cross-thread Operation Not Valid

Feb 10, 2010

I'm adding multi-threading facilities for the first time. I have a function that is wrapped to be run in a separated thread. This function retrieves data (text) from a combobox and it works for sure without multi-threading.

When I call it as multi-threaded, I get the following error when I try to retrieve the data from the cmobobox: Cross-thread operation not valid: Control 'cmb1stBL' accessed from a thread other than the thread it was created on.

It looks like a restriction of thread-safety... I assume that the child thread cannot read from his parent, to make sure that he doesn't change his parent data. So how can I read the data from the combobox? Should I read the comoboxbox data before calling the child thread?

View 4 Replies

Accessing Multiple Sites Multi-threading Or Multi Browsers?

May 14, 2011

I have a need to build an app that will access about 10 websites and pass data to them, etc.I've read about something called multi-threading when searching Google. I've also seen people say that they use multiple browsers.Which route is better to use? I figure if you have to do some sort of multi-threading that you would access a single browser?

View 2 Replies

Multi Web Services So Multi Singleton

May 14, 2011

i have one project with multiples web services so i created various singleton class thinking in

performance. now i think create one singleton class and that have the instances of my webservices

[code...]

View 1 Replies

Multi-threading Or Multi Browsers?

May 14, 2011

I have a need to build an app that will access about 10 websites and pass data to them, etc.I've read about something called multi-threading when searching Google. I've also seen people say that they use multiple browsers.Which route is better to use? I figure if you have to do some sort of multi-threading that you would access a single browser?Not sure which way I should approach this app.

View 2 Replies

C# - Convert A Date And Time To UTC Time Based On The Time Zone Of The User?

Sep 6, 2009

I have an ASP.NET application with a SQL Server back end. I am storing all my dates in UTC format and doing the appropriate conversions to the local time zone of the browser viewing it. One of the pages asks for a start date and end date (no times).

I am taking the start date and setting the time to 00:00:00 hours (midnight) and I'm taking the End time and adding a time of 23:59:59, so that the date range covers the whole day. Now what I'm trying to do is do a SQL query to do a search for records in this date range. The problem is, the data in SQL is in UTC time and the user is typing their dates and times in their local date and times. My quickest solution was to convert the date and time to UTC, then search the records. However, by doing this, I am to believe ASP.NET converts the given time and date to UTC based on the server time zone. How can I convert a date and time to UTC time based on the time zone of the user?

View 5 Replies

.net - Dispose Of A Task?

May 13, 2011

I am having fun working with System.Threading.Tasks. Many of the code samples I see, however, look something like so:

Dim lcTask = Task.Factory.StartNew(Sub() DoSomeWork())
Dim lcTaskLong = Task.Factory.StartNew(Sub() DoSomeWork(), TaskCreationOptions.LongRunning)
Task.WaitAll(lcTask, lcTaskLong)

That's the extent of the sample.Tasks implement IDisposable, so obviously I'm supposed to dispose of them, but what if I just want to "Fire and Forget"?If I don't dispose, will I leak threads/handles/memory/karma?Am I using tasks "wrong"? (Should just use a delegate and leave tasks alone?)

Can I dispose in a "ContinueWith()"? (That seems like playing Russian Roulette.)[URL]..

View 1 Replies

.Net Application Does Not Comes In The Task Bar - But Can Be Seen While Doing Alt+Tab

May 26, 2011

My application displays a Splash Screen. In the Main form load event , we show another form in which user has to be select something. On the basis of that selection , the main form is loaded.

The scenario in which the main form is not shown in the task bar is :

1. Application runs , Splash screen is displayed.

2. a new window is shown to user to select something. this window comes over the splash screen.

3. Clicks ok on that window.The window is closed . Only splash screen is showing.

4.Now click on the space outside the Splash screen , the splash screen goes in backgound.

5. The main form is loaded. It comes for a moment in task bar but does not stay there. when i do alt+tab , it is there .

View 1 Replies

C# - Run The Same Task Simultaneously?

Apr 20, 2009

I have a MDI WinForms application that can perform several tasks. Each task is running as a backgroundWorker.What is the good approach to control the running threads:check whether the specific thread is running stop specific thread ?For example it shouldn't be possible to run the same task simultaneously.May be I need a separate class where I can store isTaskRunning variable?

View 1 Replies

How To Add A Scheduled Task

Aug 3, 2009

How can you do this? I want to have my program run every once in a while but I don't want to make it a service.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved