Make A Random Shift Scheduling Application For A Rotating Workforce?
Apr 16, 2011
I am trying to make a random shift scheduling application for a rotating workforce that must satisfy the following basic requirements: 3 shifts (8 hours each) per day (Morning, Afternoon, Night), 2 workers per shift work a maximum of 7 consecutive days and rest a minimum 1 day. 9 Total workers separate in 5 supervisors and 4 operators, and 2 part time workers (1 supervisor and 1 operator) for covering the possible absences of 9 standard workers. Total days off are 8 days per month (normal sequence 2,2,4) and the vacation days are 22 per year. A basic rule is that the shift must cover from 2 supervisors, or 1 supervisor and 1 operator. 2 operators are forbidden.
View 4 Replies
ADVERTISEMENT
Jun 8, 2011
I want to make a small logo in the upper corner of a Form rotate.
I've seen on some forums that they have small avatars dancing and such, so I imagine it would be posible to make a tiny image rotate by it self up in the corner in a Form.
Does anyone know how to do this? Link to tutorial, codesnippets etc..
Ps. The goal is to make it smooth. Not turn 4 x 90 degrees.
View 6 Replies
Jun 8, 2011
How to make a small image rotating
View 1 Replies
Mar 20, 2012
I'm wondering if there is any scheduler control in Vb.Net -MS VS 2005- and if not I hope I can find a one - free - that I could use on my application...
how to implement scheduling tasks requirement in my application..
View 1 Replies
Jun 18, 2010
I would like to display a rotating logo animation in my application. I want it to be blend with the background.
View 9 Replies
Jan 10, 2010
How to hold shift and then click button a and b (while holding shift)?
View 7 Replies
Mar 15, 2011
I'm trying to make an application where when the user clicks a button, it generates a series of 100 random numbers between 1 and 1000, and then saves those numbers in a text file. All I could come up with is generating ONE random number, but I can't figure out how to make it 100. Here is what I have:
[Code]...
View 4 Replies
Apr 14, 2012
i have a menu strip that i docked on the left and i set the layout style to table so the dub menu items open below the selected menu item but i am wondering if i can make all my other menu items vertically shift so that i still can see them all. sort of like a sliding menu
View 3 Replies
Aug 24, 2011
How can we prepare a rota application which changes the shift so that all the employees get to work in different shifts and in the month end the number of shifts done by all the employees should be the same..
View 1 Replies
Feb 19, 2011
I opened firefox from my VB program. the browser launched and loaded the page correctly.
When I click back into my VB application, the browser goes to the back. When I click the button that activates the browser, the browser still stays in the back.
I want the browser to move to the front or in front of my VB application window so that the user sees it instead of the application. How do I do this in my program?
View 2 Replies
Dec 15, 2009
In my keydown event handler, when Keys.Numpad4 is pressed with Shift, I get the same keycode code as for Keys.Right. Is this by design? How can I distinguish between the two?
View 5 Replies
May 29, 2011
I am trying to make a texas hold em game and it is of the utmost importance that my code generate a random number. But using a random number function that I always end up with a lot of the same numbers over and over again. Any ideas on how to make it "TRULY" random? [code]
View 3 Replies
Oct 25, 2010
I am having an issue where I need to implement a type of thread scheduling... I'm looking to implement a list of tasks, each with a set time that they need to execute, and after the time is up they will execute the respective code that goes with that task. I would use a timer based solution, however, I don't think that it would be very efficient. There will be a very large list of tasks, some of which need to be executed within seconds of being placed in the list.
View 1 Replies
Jan 27, 2010
Add a scheduling app in my project..were can i get the source code for this?or were do i start in making one.
View 5 Replies
Jun 5, 2011
at - arrival time
bt - burst time
I - idle
for example the user input 3 process
process 1 - at = 5
bt - 5
process 2 - at - 2
[code].....
this is the logic : smallest time + burst time = sum1 if the next arrival time is less than the sum1 then add the next burst time but if the next arrival time is greater than the sum1 then subtract the sum1 to the arrival time so you will get the difference1. after that the difference1 must be added to the sum1 then add the burst time. that is the cycle.
View 4 Replies
Mar 15, 2012
How to create a program of CPU Scheduling, particularly, Preemptive one, like SRT, Round Robin etc. How can I make them using VB.NET.
View 3 Replies
Jun 18, 2009
I am trying to write a vb.net code which would run evry moth and perform the following task:
it would retrieve three existing excel files from a folder ,perform excel based reporing modification on them and send them as emails to alist of users ids of whom are available in a fourth excel sheet(another folder)
i am not looking for thhe full code. but i donot know the syntax for
how to access excel files from within a vb code and morover perform operations on them.
secondly is it possible to scedule such a email sending application ??
View 1 Replies
Mar 6, 2010
What is the best way to schedule task on VB.Net application? I have searched this forum and google but I still need some more comments.There are two ways that I've found so far:
Command Prompt By using AT or SCHTASKS command. My Windows 7 seems to recogonise both Command. May I know is there any significant different between this two command?
Timer By using Timer function, but I'm not sure whether is this a good method as it might slow down my program by constantly checking. May I know by using the above method, can I retrieve the scheduled task and display back in my program with ease?
View 6 Replies
Apr 23, 2009
I am trying to allow the user to rotate a jpeg and I know that you can do it pixel by pixel but WIA 2.0 is supposed to have that functionality built into it... When I try to set the filter, exactly like they do in the example.
[Code]...
View 4 Replies
Oct 13, 2011
How can i do a random numbers?.i'm using 3 listbox when i click button generate the result will show into the 3 listbox??
View 10 Replies
Nov 30, 2010
I know how to make a random number, but how would i go about making the random() cheat
if the player rolls two 6's its automatically game over..
i was wandering if there was a way to increase that just by a hair.
View 2 Replies
Dec 8, 2011
I would like to know how to make a random whole number between 0-10 to multiply by 20.[code]...
View 2 Replies
Oct 16, 2010
348,325,734,12,97,457,264,390,909and so on... now im looking for some way to make random gruops with this numbers in....this is for a racing game... it is to make random races with differnt racers in.. so it makes a set of "heats" and then winners go into a final...
View 14 Replies
May 23, 2012
I have a program that checks for the date and minute part of my job object. If these match then it triggers a particular job.
If jb.ScheduledStartTime.Value.ToString("MM/dd/yyyy mm") =
Now().ToString("MM/dd/yyyy mm") Then
'Do some work here.
End If
Issue:If I schedule different jobs during the day at different time interval then they just work fine. I mean they are triggered and in the above code they enter the loop when it matches the current format.
However, it doesn't work when the date changes at 12:00. Even though I have scheduled start time set to trigger at 9:00 AM in the morning it enters the loop exactly at 12:00 AM which is invalidating my logic leaving me confused.
View 2 Replies
Sep 28, 2011
I have 5 separate class libraries where each one of thses are consuming separate web services (the web services connects to a server, runs stored procedures and return data tables to the .dll).
My task is to sequentually run these 5 jobs unattended through a job scheduler. I am not really sure how to do this and what my options are.I was planning on creating a driver (a console application) that would call each .dll. If this is a acceptable way then I am not sure how to reference and call each .dll, could I use import, add a reference to the .dlls and instantiate a new class, make a setup project with dependancies etc.
View 1 Replies
Mar 18, 2009
I need references to how to schedule emails to notifiy users on a specific date in the month (each month).All the references I stumbled upon were in C#.I'm not that advanced to convert them properly to VB dot net.
View 1 Replies
May 15, 2011
I have two methods in a class for placing and rotating an array of objects(Pieces) on a Board.pieces have a bounding rectangle and a property called center that is the center point of the rectangle(piece).what i want is to rotate all the pieces in clockwise or counterclockwise direction ,depending on the mouse direction,when the mousebutton is down on any of the pieces other than the center piece and the mouse moves.can anyone modify my code below to achieve this or post some new code that does this. using the rotatepiece() method below in a timerevent with a buttondown event to start the timerrotates all the pieces in clockwise or counterclockwise direction.
Shared PosArray(18) As PointF
Shared Increment As Double
'place pieces in rows [order 3-4-5-4-3]
[code]....
View 4 Replies
Apr 8, 2010
i am going to create one system which is related to test skill and it is in VB.Net and access database it has a question and four answer. both are coming from database,my problem is how do i change answer sequence everytime.whenever user tried for the test, answer sequence should be different.
View 14 Replies
May 23, 2010
So far:
PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone)
but this only turns at 90, 180, and 270 degree angles, also allowing flipping, but isn't exactly what I am after. I am trying to make the picture spin randomly at a variety of angles, but even if I can only get 45 degrees is better than just having 90 degree ones.
However I have only been able to find the above example in my searches.
I am trying to solve the issue that I posted about in the game programming forum about the animated dice. It seems that this is a very difficult thing to achieve, so I am going at this in an obscure way. My idea behind this is to have a timer set the images in a picture box according to random counters (which I have working). Then I plan on making the image rotate along with the timer (which is where I am at now). Then I plan on having the picture box move across the screen along with the timer (bouncing off the sides)...I think that this might be a bit better when trying to achieve an "authentic rolling dice" without actually having to do everything in 3d.
View 1 Replies
May 9, 2011
I'd like to rotate only one of the shapes in an animation, but the rotatetransform method applies this rotation to the whole view. I have several shapes which I want to remain stationary, and just one that should be rotated. I've been trying to use containers but so far this hasn't helped. This is visual basic on XP, using .net gdi+, system.drawing. I'm using translatetransform to establish a rotation center.
Private Sub ellipse()
myBuffer.Graphics.Clear(Color.White)
myBuffer.Graphics.TranslateTransform(200, 400)
If plus_clicked Then
[code]....
View 1 Replies