VS 2010 Creating A Shift Rota System For A Small Number

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


ADVERTISEMENT

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

VS 2010 - Create A Small Game In VB2010 - Creating A GIF And Placing It In The Picturebox And Moving It

Aug 9, 2011

I'm trying to create a small game in VB2010. The gameplay is as follows:

civilians would walk/stand in a room/street and suddenly an evil character would pop from the ground/wall. This evil character would suddenly vanishes too. So, the player has to shoot it to kill the character. The evil character, civilians, etc. would be random. Also, there would be sound effects too. That is the popping up of the evil character, it's voice, the civilians voice, etc. I'm trying to make it as simple as possible but without degrading the quality of the game play. I think, I could somewhat create the graphics for the characters, scenes, etc. and can get the sound effects recorded.

So, the difficult part is,[ ] how could I make it a smoother for playing the game ?
[ ] what would be the best way to do animations ?
[ ] Creating a GIF and placing it in the picturebox and moving it ?
[x]how to play the music in background and at the same time play sound effects on certain instance ?

View 2 Replies

VS 2008 Convert All Shift Key To Number And Vice Versa?

Apr 3, 2012

Firstly, sorry about the title, because i dont really know how to express it clearly. But if you see example, you people will understand then.Now what i want to do is I will give in put as:

[Code]...

View 6 Replies

Hold Shift And Then Click Button A And B (while Holding Shift)?

Jan 10, 2010

How to hold shift and then click button a and b (while holding shift)?

View 7 Replies

VS 2008 Creating A Small Application - Loops ?

Mar 24, 2010

I am trying to learn by creating a small application to help my son learn math. It works but I know there are better ways of accomplishing what I need.

For example:

'Declare variables
Dim num1 As Double = CDbl(frmMath.txtNum1.Text)
Dim num2 As Double = CDbl(frmMath.txtNum2.Text)
Dim answer1 As Double = CDbl(frmMath.txtAnswer.Text)

[CODE]...

I imagine I would need something like a do while loop?

View 1 Replies

Distinguish Between Numpad 4 + Shift And Right + Shift?

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

Finding The Small Integer Number

Aug 14, 2009

i'm dave mark.. im new to vb 2008.. i just have to have some question.. the problem is i have to input 10 integer number then after inputting the 10 number .. it will compute the sum, average and the smallest.. i have no problem with sum and average but in smallest number only... how to get the smallest number>>?

View 1 Replies

Creating A Small Admin Reporting Tool That Gathers Certain Information On Some PCs

Nov 25, 2009

I am creating a small admin reporting tool that gathers certain information on some PCs. Unfortuantly the user that is running the tool doesnt have access and I cant give access to those particular machines. What I have done is created a user on these machines that can get this information.I would like to then have the reporting tool run certain parts of the code as this user so the information can be obtained, without any intervention from the user running the tool. Can I hardcode this user into the code so that it runs the code as the user?

View 4 Replies

Structure Hold Small Number Of Reference Types?

Jun 10, 2009

Is it okay for a structure variable to hold a small number of reference types? I thinks it's fine because the pointers themselves are not that big, regardless of what they're pointing to. But I never did fully figure out the whole heap/stack thing, so I'd like to make sure.

View 6 Replies

Create A Small Application That Will Force User To Enter An Even Number?

Oct 5, 2011

I need to create a small application that will force a user to enter an even number but i MUST use a loop. Here's what i've come up with:

Quote:

Dim bynombrepair As Byte
bynombrepair = InputBox("Entrez un nombre pair")
If bynombrepair Mod 2 = 0 Then

[Code]....

View 1 Replies

SQLDataReader - Creating A Small Program To Read From An SQL Server, Loading Result Into An Array

Nov 15, 2011

I'm creating a small program to read from an SQL server, loading result into an array, pivoting the array to my liking and mailing it out to selected members of a group. It's going to be run once a day with Windows schedule. I have the connection, query and mail sorted, but not the datareader to array bit.

(line 26)?
Imports System.Data
Imports System.Data.SqlClient
Imports System.Net.Mail

[CODE]...

View 1 Replies

Create A Small Payroll System Using Windows Form Applications

Feb 12, 2012

Im trying create a small payroll system using VB.Net windows form applications. The problem im currently facing is when im updating the datagridview. But my update doesnt work. IM using dataset and databinding source. I want to udpate the datagrid view and automatically update the database. [code]

View 1 Replies

VS 2010 - Approach To Highlight Days Of The Week In Accordance To The Shift Schedule

May 18, 2010

My day job is a firefighter and we work shifts. I'm trying to figure out the best approach to highlight days of the week in accordance to the shift schedule.

Where can I find a complete reference to the Monthly Calendar form?

I figure that is the best place place to start... unless you have another idea...

View 3 Replies

ATM System - Check Card Number Matches Up To The Users PIN Number

Mar 13, 2009

I am trying to make a basic ATM system, iv got all the interface done and I have made the link to my SQL database etc. the part i'm stuck on is how I can run a check to see if a bank card number matches up to the users PIN number. To simulate the user putting a card into the machine I've used a combo box, and that lists all the cards, that haven't been flagged as confiscated (there's a column in my ATMCards table that I can set to true or false) then after the user has selected a relevant card there's another text box where they can enter in their PIN number.

Now what I want to do is, if they chose the card number 1234567890123456 in the combo box and they enter in the PIN 1234 into the text box, then, after clicking the check PIN Button if the pin is correct they need to be taken to another from where they can check their balance etc., and if its wrong they got three attempts after which point i want to flag that card as confiscated.

View 4 Replies

Make A Small Program For Ticketing On A Parking For A Small Hotel?

Aug 27, 2010

I need to make a small programm for ticketing on a parking for a small hotel.So i have 2 Printers pariking In (for delivery of the tickets) and 2 Readers PArking Out.Both Printers and REaders are working Serial.So i need to poll the serial ports of the printers and readers every second.The data is stored on a SQL database so i need to read and write in the database.Can i do this with 1 PC and 1 programm or 1 PC and 4 programms that are runnning at the same time ?

View 2 Replies

Create A Small Application That Can Make Small Calculations?

Feb 1, 2010

On form 1 , i have a number of buttons that open up different websites.What i want to do is when i click a button on form 1 , i want forum 2 to show ( Form2.show() ) , Form 2 will have a list (Buttons) of internet browsers.

View 4 Replies

VS 2010 Detect Shift + Arrow Key In Form Keydown Event In BLANK Form

Mar 27, 2011

I need to detect shift + arrow key in blank form. But it's not working. I also tried overriding IsInputKey method but it only detects single key press (like arrow key) but when multiple key are pressed it simply doesn't work.

View 5 Replies

Vs 2010 To Vs2008 Small Error?

Feb 21, 2011

At the line i left a few empty lines around im getting expression expected ? not quite sure why tho ?

Private Sub xParse(ByVal text As String)
Dim sFind1 As String = "<a href="""
Dim sFind2 As String = "<span class=""smalltext"">"

[code].....

View 3 Replies

Make A Small Application To Print From .net 2010

Sep 16, 2011

I am trying to learn and make a small application to print from VB.net 2010 to my usb label printer.

View 3 Replies

VS 2010 Small Doubts While Reading Other Posts?

Sep 21, 2010

While I was reading some posts, I got stuck at certain lines.

Public Class IP_ADAPTER_INFO Public [Next] As IntPtr Why the square brackets ?

Dim Count As Integer = RichTextBox.Text.Split(","c).Length What's the use of character c in above code?

View 9 Replies

VB 2010 Underscore And Small Rectangles In String Outputs?

Dec 1, 2010

I've made some good progress with my first attempt at a program, but have hit another road block. I'm taking standard output (as a string) froma console CMD window (results of dsquery piped to dsget) and have found small rectangles in the output. I tried using Regex to clean the little bastards but it seems they are related to the _ (underscore), which I need to keep (to return 2000/NT logins). Odd thing is - when I copy the caharcter and paste it into VS2K10 Express it acts like a carrige return?Going to try using /U or /A CMD switch next..

View 2 Replies

VS 2010 - How To Create Small App To Store Music Collection

Jun 17, 2012

I am a beginner on Visual Basic but was able to create the 'skeleton' of the application I need to build. Basically, it is an application dedicated to keeping a check on the vinyl I have. When I buy a new record, I want to effectively 'Add New Record' on Visual Basic and be greeted with a page consisting of various forms such as 'Artist' and Title'. Once these are filled in, I want to click 'Enter' and for all that information to be converted to one of the pages within my application.

Here's an easier look at it...
There are LPs that have 10" and 12" sections.
There are singles that have 7" and 12" sections.

In the 'Add New Record' page I want to also have a drop down list with the above elements in, once 12" LP is selected and all the other forms are filled in and I click 'Enter' - I want the application to send it to the 12" LP section of the application.

View 11 Replies

VS 2010 - Make Small Pause Before Form Submission

Jun 13, 2011

I have a little project but ive come to an error. What it does: It goes to a site, fills a form and then submits it. But the submit is too fast. I want it to fill in info, then wait 3 seconds and then submit it.

Here is the
WebBrowser1.Document.All("user[screen_name]").SetAttribute("value", TextBox4.Text & intcount)
For Each element As HtmlElement In WebBrowser1.Document.All
If element.GetAttribute("className") = "submit button promotional" Then
element.InvokeMember("click")
End If
Next
I want it to have a little pause of 3 seconds after the intcount).

View 6 Replies

VS 2010 Form A Code For A Small Arrays Manipulation?

Dec 25, 2011

I need help to form a code for a small arrays manipulation. The input data are known: they are two integers "N" and "s". An integer "N" is always divisible by 4.I need to create an array of "N" members, by repeating (N/4 times) this sub-array: 1,2,2,1 (always is the same). In the picture, this is shown in blue. Then I need to add the same array to the existing array, but shifted for "s" places (red array). The result is "yes" if each sum in new columns is always the same (3). Otherwise the result is "no." note there is no need to draw or display something (DGV, table ...). The required result is only "yes" or "no".

View 8 Replies

Get Number Of Pages And Number Of Pages Printed (System.Printing)

Jul 13, 2011

i have this program which records the every printing made on a local computer.I am to record the number of pages of the document to be printed and the number of printed pages. i have this code but i don't know the number of pages and number printed pages always return 0 [Code].

View 1 Replies

Creating A Number Base Converter?

Nov 3, 2009

Module Module1
Dim Bf, Bt, Lgt, Total, Pwr, Valu, Val2 As Integer
Dim InNum, Temp, OutNum As String

[code]....

I, will just explain a few areas of this to ease the process of understanding it:

1-The conversion Subs are to be used for values such as A7 in Hexadecimal

2-The Err Boolean will hopefully be used to link back to the top in the event of an error

3-Apollogies for the abreviated variable names, it simplifies things in my mind but winds my fellow students and teacher up no end.

This code is not fully functional yet, however I believe it should give an answer for my test value of 800 Base 10 to Base 8 (1440), however when the program runs in debug mode I can enter the three inputs but then it leaves two lines and gives an unresponsive flashing cursor.

View 3 Replies

Creating A Random Number Or Object?

Jan 23, 2010

I have an application with 6 cars 'racing' across the screen. Ideally I would like the random function to move only 1 of the 6 objects (cars) at one time and then loop until one car reaches a predefined finish line. However I'm not sure if this is achievable. Would I need to create a random number then create if statements?

View 8 Replies

Loop For Creating Number Of GroupBox

Dec 9, 2011

i have to create for loop that create each time a new GroupBox with new name and location this is not a homework.it is a personal Application to manage my information [code]i have to change the name of the first Dim in the loop each time , but i couldn't.

View 2 Replies

Get Permission From Microsoft To Develop Applications For Small Local Firms Using Visual Studio 2010?

May 13, 2010

I would like to know if I need to get permission from Microsoft to develop applications for Small local firms using Visual Studio 2010.

View 6 Replies







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