Prepare A Rota Application Which Changes Shift?
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
ADVERTISEMENT
Dec 7, 2010
i am creating a shift rota system for a small number of staff basically there is a 3 week rota
week 1 - late
week 2 - early
week 3 - off
i am getting confused on how to calculate which week the member of staff is currently on eg week 1 / 2 / 3 i think i need a datediff with a mod to calculate it but thats where im getting confused (if im even right on that part)
View 3 Replies
Jul 21, 2010
I am getting an error: OleDbCommand.Prepare method requires all parameters to have an explicitly set type.
on the last line of the code below.I have seen things saying you have to set the datatype of each parameter but how can i do that when it being generated by the command builder?
[Code]...
View 1 Replies
Mar 2, 2009
currently have a VB.Net application using.NET frameworks 2 written in VS 2005 for management of Contacts & Address. What I Want is that user should enter all the details and Information in English & should get the Labels prepared in Hindi Language automatically1)
View 1 Replies
Jul 2, 2009
My motive to prepre a application which can calculate free time of the team which handle. I have written a code which updates the username and current time in an access database. How can i run the code on windows lock event.
View 7 Replies
Oct 2, 2011
Can any one advise me about a book to purchase to prepare for the MCTS:Microsoft Net Framwork 3.5 windows Forms Application exam?
View 5 Replies
Jan 10, 2010
How to hold shift and then click button a and b (while holding shift)?
View 7 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
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
Jul 31, 2009
i have prepared a visual basic project which is completely ready. I need to deliver it to the client in the form of an exe. , since this is my first project i do not have any idea how to prepare a standard exe.if i started to publish it says signers certificate not valid. how to rectify this problem.Im using Visual studio 2008.
View 1 Replies
Oct 30, 2008
How do you prepare a service solution in VS2005 to use with installutil.exe?I receive the message,Quote:No public installers with the Run Installer Attribute.Yes attribute could be found..This is the first time I have ever attempted to create a service.
View 2 Replies
Dec 27, 2011
I would like to prepare all nodes for my treeview in backgroundworker process. This seems to be fine, but adding those to my treeview1 on backgroundworker completed event seems to be wrong (I get exception there).
the code:
Code:
Imports System.ComponentModel
Public Class Form1
Private Sub BackgroundWorker1_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs) Handles BackgroundWorker1.DoWork
[code]....
View 1 Replies
May 16, 2012
I am working on a GUI for a simulation program. The simulation program is a single .exe which is driven by an input file (File.inp placed in the same directory). The Original.inp file functions as a template from which the form reads all the values into an array. Then it changes these values reflecting the changes done by the user in the form. After that it writes all the new values to File.inp. By pushing the "Run" button the Simulation.exe file is executed. The folder structure looks like this:
[Code]..
Ideally I would supply only the GUI, the user would select the working directory and then the GUI.exe would create an input folder and extract the Original.inp and Simulation.exe in the appropriate locations. So far I have only managed to include Original.inp and Simulation.exe as "EmbeddedResources" in my VB project and I have let my code create an input folder in the working directory chosen by the user.
how I can extract the .inp and .exe file into the correct directories? I've searched on google, tried File.WriteAllBytes and Filestream.WriteByte but did not get the desired results. The problem with File.WriteAllBytes was that I could not point to the embedded resource ("Simulation.exe is not a member of Resources" and with Filestream.WriteByte I got a 0 kb file.
View 1 Replies
Nov 12, 2010
I have a flow document table with text in it. The text some timess just on one line , often on many lines, that means it could include a return and a tab spacing (all in the same cell).I want to put the data from the table to the clipboard in such a way that i
View 7 Replies
Nov 2, 2009
when I search for a customer, it can search but the problem is that when I search for customer and I wanted to update or delete, It has an error which says "OleDbCommand.Prepare method requires all parameters to have an explicitly set type." What does that mean? Here is the code that I am using:
Public Class EditingCust
Dim cmd As OleDbCommand
Dim myAdapter As New OleDbDataAdapter[code].....
View 5 Replies
Feb 9, 2011
I don't know how to get shift modifier key as when I pressed shift and another key, it show message box "Modifier shift key"
View 1 Replies
Mar 24, 2010
Can VB.NET Form keyDown event determine whether left or right shift (alt, control) key was pressed? I always receive the same keycode (16) for both left and shift key!
View 3 Replies
Dec 6, 2011
I have been able to toggle CAPS, NUM AND SCROLL lock using the method below but using the code below that although no error occours when I click the button nothing happens?The code which works for caps, num and scroll
[Code]...
View 1 Replies
Nov 16, 2011
I just found an interesting problem between translating some data:
VB.NET: CByte(4) << 8 Returns 4
But C#: (byte)4 << 8 Returns 1024
[code].....
View 3 Replies
May 15, 2011
When I run this command in PHP, I get:
[Code]...
The interesting thing is, that when I try to shift any number greater than int32 in .net, it yields bad results.. Every number under int32 (2147483647) yields the same results from php and c#.net or vb.net Is there a workaround for this in .net?
View 2 Replies
Feb 7, 2012
I am running out of function keys and it will be nice if I can double up on some of them with the Shift Alt or Ctrl keys.I am using
if e.keydown = keys.F3 then{it does what it is supposed to}end if I tried e.keydown = keys.F3 AND e.keydown = keys.Shift but it gets ignored. Am I seeking the impossible or am I just missing something?Can some one tell me what I am missing or point me to an example?
View 2 Replies
Jun 10, 2010
Trying to develop a text editor, I've got two textboxes, and a button below each one.When the button below textbox1 is pressed, it is supposed to convert the Unicode text (intended to be Japanese) to Shift-JIS.The reason why I am doing this is because the software VOCALOID2 only allows ANSI and Shift-JIS encoding text to be pasted into the lyrics system. Users of the application normally have their keyboard set to change to Japanese already, but it types in Unicode.How can I convert Unicode text to Shift-JIS when SJIS isn't available in the System.Text.Encoding types?
View 1 Replies
Sep 5, 2011
In vb6 when you wanted to alter the effect of a mouse click, you could use the mouse down event and alternate the action depending on the value of the shift, control and alternate key. (and also detecting if the right or left mouse button was clicked)
When trying these in my project, I couldn't find the right codes to do this. I can't imagine this feature isn't available so I'm sure I am just messing up somehow.
View 2 Replies
May 11, 2010
I am trying to rotate a select number of bits to right with click of a button. ( bit 7 to bit 0 and rotate.) The patterns should not matter. It could be any combination of set or reset bits. The bit patterns are selected by checkbox0 to checkbox7. I like to rotate without a carry bit. Is there any way(s) to do this?
View 6 Replies
Nov 19, 2011
I have been working on a visual Basic 2010 program to writw a Telnet script in VB Script. I have exerything working fine but need a way to send Shift+CNTL+6 to exit the telnet session.
View 7 Replies
Sep 13, 2009
How do I bitwise shift right/left in VB.NET? Does it even have operators for this, or do I have to use some utility method?
View 4 Replies
Oct 3, 2008
Is there a pre-existing method in vb.net to shift elements? Like the following.
Code:
testArray elements:
0: ""
1: ""
[Code].....
View 3 Replies
Dec 12, 2009
I know how to sendkeys, SendKeys.Send("Hello") I know how to hit other keys, Sendkeys.Send("{ENTER}")
But how do I HOLD DOWN the Shift key, I want to be able to highlight text, I know, I need to press the Arrow keys while the shift key is held down...
So... How is it possible to Hold down the Shift key
Oh yeah, and I even know how to simimulate a mouse click, drag, let go, ect. ect...
how to hold down the shift key in VB.NET?
View 4 Replies
Feb 27, 2009
I am trying to simulate holding down the shift key in code while I open an Access database to bypass the Autoexec macro using the following code.
1
Imports Microsoft.Office.Interop
2
Imports System.IO
[Code].....
View 1 Replies