ChrisHunter 152 Posting Whiz in Training Featured Poster

basic of C# and a little of SQL, Java and HTML (although i haven't used the last two in a long time)

ChrisHunter 152 Posting Whiz in Training Featured Poster

i was suggesting a solution that uses arrays to store user details but if you're using a a database that will be easier.

If i understand you correctly you want a different form to be loaded depending on the type of user that logs in (engineer, supervisor, manager). Simply add a column to the user table to store the different types of user and then during the check to see if the user exists simply check whether they are a manager, supervisor or engineer and load the appropriate form.

ChrisHunter 152 Posting Whiz in Training Featured Poster

If your're storing the user details in arrays you can add an int field to the array called somethin like AuthLevel and use 1, 2 or 3 as the different roles. One logging in you would do a check to see if the user exists and depending on the value of that user's AuthLevel field.

If your using an connected database it would be easier, especially if your going to be storing data entered into the different forms.

Hope this helps

ChrisHunter 152 Posting Whiz in Training Featured Poster

I would suggest doing it the way thines01 has suggested. Take a look at this. there's plenty of examples floating about just do a quick search and you'll find them.

ChrisHunter 152 Posting Whiz in Training Featured Poster

I'll keep this one short, My girlfriend is on her second laptop were as i'm still on my first. She has an ASUS (i'm not sure of the model) and she's always leaving it on the floor next to the bed and falling asleep with it on her knee so it's been dropped once or twice. She's only just told me about this but when ever she tries to type using the built in keyboard extra letter are added, caps lock is turned on etc.

I have used the on-screen keyboard and a USB keyboard without any issues so would i be right in thinking the built in keyboard needs replacing ?

Thanks in advanced

ChrisHunter 152 Posting Whiz in Training Featured Poster

do you mean you tried to up vote the same post more than one ? or multiple posts in the same thread ?

ChrisHunter 152 Posting Whiz in Training Featured Poster

is it a free download ? i'm playing skyrim at the moment, i'm pretty addicted, my girlfriend is regretting buying it me now !;)

ChrisHunter 152 Posting Whiz in Training Featured Poster

I think herciles means their employers didn't want to know what classification of degree they had as long as they had a degree.

Try not to think about failing, just enjoy what your doing and try your best, otherwise you'll get bogged down by self doubt and it may affect your work.

ChrisHunter 152 Posting Whiz in Training Featured Poster

Maybe you need to take a year out to figure out what you want to do, a couple of friends got bored with collage, took a year out and came back refreshed and excelled or are excelling at collage or university. As for the implacability you've not got a good chance of getting a good job. HOWEVER ! that doesn't mean you can't if your look hard enough and are determined, there are some places in the UK that offer apprenticeships with a good chance of a job at the end that may be a good idea to look into.

ChrisHunter 152 Posting Whiz in Training Featured Poster

it's ok, when your doing the system designs you want to make sure you've got a full set of reqirements before you start creating UML diagrams. You should create the UML diagrams in an order too starting with UseCase diagrams, sequence diagrams, package diagrams and then class diagrams.

These are the only diagrams i've had experience with so there may be others that i haven't mentioned above that may be appropriate for your work.

ChrisHunter 152 Posting Whiz in Training Featured Poster

If i understand correctly you're talking about processes that don't need user input. Have a look into sequence diagrams, they are created to show the different steps of an individual (e.g. request bank statement) this link might be of use to you.

Hope this helps.

ChrisHunter 152 Posting Whiz in Training Featured Poster

I did something very similar were i exported the properties of an object to Xml and then imported them back to a property grid instead. I would suggest that you had some structure to you Xml document (e.g. make ServerName the parent node with UserName being a child node and password being a child node of UserName. Here is the code i used for importing the properties.

try
            {
                XmlDocument config = new XmlDocument();
                config.Load("My_Xml_Doc_Path");

                // Creates instance of all node within loaded Xml docuemnt and retrieves first element by tag name
                XmlNodeList ServerName = config.GetElementsByTagName("ServerName");

                //Loops for each child node within ServerName node 
                foreach (XmlNode n in ServerName)
                {
                    //Converts XmlNode to XmlElement
                    XmlElement _ServerName = (XmlElement)n;
                    //Converts and stroes value of specified attribute in property of ObjectTypeState class
                    serverNameTextBox.txt = _ServerName.GetAttribute("ServerName").ToString();

                }

                XmlNodeList UserName = config.GetElementsByTagName("UserName");
                foreach (XmlNode n in UserName)
                {
                    XmlElement _UserName = (XmlElement)n;
                    UserNameTextBox.txt = _UserName.GetAttribute("UserName").ToString();
                }

                XmlNodeList Password = config.GetElementsByTagName("Password");
                foreach (XmlNode n in Password)
                {
                    XmlElement _Password = (XmlElement)n;
                    PasswordTextBox.txt = _Password.GetAttribute("Password").ToString();
                }
            }

I hope this helps although i'm not sure it's completely correct as i modified my original code to fit your request as mine was too long.

ChrisHunter 152 Posting Whiz in Training Featured Poster

i applied repopulate the datagridview but it doesn't work.

Does this mean you tried the .Clear() method of the data grid view and following that used the populated the grid view the same way you had in the originally ?

ChrisHunter 152 Posting Whiz in Training Featured Poster

yes just do datagridview1.clear() then do what you did to populate it the first time round. i think that works . . .

ChrisHunter 152 Posting Whiz in Training Featured Poster

try this, and this. Have a look on amazon or other websites and purchase a copy of headfirst might be worth the hassle in the long run.

ChrisHunter 152 Posting Whiz in Training Featured Poster

are both the forms going to run on the same machine and are the messages going to be passed over a network connection ? (for example are you going to send a message from form1 to the using the IP address of the machine on which form2 is currently running ?

ChrisHunter 152 Posting Whiz in Training Featured Poster

The best thing i can think of to answer your question is make a test plan prior to the implementation stage based on your designs. This way you will have a rough idea of the scale of the testing you'll be doing then just make an estimation of how long that will take. However designs may change over the life of a project.

ChrisHunter 152 Posting Whiz in Training Featured Poster

I don't think you have to redraw the picture just set the starting position of picture box and update the start position by adding or subtracting every time one of the directional keys are pressed.

Do a search from a C# version of space invaders, I've done that in Java before and it includes moving an image with arrow keys.

Hope this helps at all.

ChrisHunter 152 Posting Whiz in Training Featured Poster

if you think for a second it does . . . he means as long or short as it has to be for the size and complexity of project.

ChrisHunter 152 Posting Whiz in Training Featured Poster

if he's looking into making programs with interfaces or forms take a look at the Head First series of books. C# is a good language to use, it's fairly straight forward to learn and the chapters in Head First C# start off with a simple organiser application and gradually builds up to a full on game (a windows from game of moving jpg's not the like of call of duty).

. . . The kids got ambition !. People like your son usually go on to do well because they don't just do it for the money or "because it's job".

ChrisHunter 152 Posting Whiz in Training Featured Poster

You're being a little too vague can you put it into context a bit more for us. What is it the you are making the settings menu for ? what do you mean by "Checked Image" ? do you mean a check box to select and de-select a setting ? what is this image you want to hide/ show ? and what is "my preferences ?

If you want to create similar to tool bar in Visual studies where you can change the different properties of an object try the property grid object, I've used it to edit default (colour, font style, size, face etc) and it was spot on for the job.

Hope this helps.

ChrisHunter 152 Posting Whiz in Training Featured Poster

I'd be a fool to say that math isn't extremely important in the fields your interested in. However 've recently graduated from university with a 2.1 BSC in Software and System development (second highest) and my maths isn't very good. On the other hand this is reflected by the fact that i only got a 2.1 and not a first class. it's also good to keep in mind that many companies in the field often make potential employees take math tests (in England at least).

ChrisHunter 152 Posting Whiz in Training Featured Poster

thanks for the suggestion but it's a physical crack so i think i'm just going to have to invest in a new phone . . . then again i guess it can't hurt to try it.

ChrisHunter 152 Posting Whiz in Training Featured Poster

To get the correct requirements you can do structured group or one to one interviews with the clients, questionaires usings questions that only allow a limited response (you often only get 10% return rate for questionaires and due to their limiting factors may not return full details of what is required), analyse any systems currently in place.

once you has as refined list or user requirements (what the user wants) create a refined list of functional and system requirements, a range of UML diagrams such as usecase, sequence and package diagrams (as stated by vadriaan).

Following this create forms designs, usable prototypes (or even paper based prototypes to show functionality before implementing).

Repeat untill satisified.

ChrisHunter 152 Posting Whiz in Training Featured Poster

It's possible, i suggest Xml because it can be used to store semi structured data that can be used across multiple DBMS'.

I used this approach for a recent project but can't manage to find the websites i used but it's nothing a bit of searching on Google won't find.

ChrisHunter 152 Posting Whiz in Training Featured Poster

Go to your settings and there should be an option for wireless connection/ setting which should take you to a menu with bluetooth, mobile and wifi options. go to the wifi options, turn on your wifi connectivity, scan for wifi connections, enter the correct key and connect (turn on your wifi first or it may not scan for wifi connections)

I have/ had an LG optimum and this is how i connected to wifi connections (until the screen on the inside cracked now i can't see anythin :().

hope this helped

ChrisHunter 152 Posting Whiz in Training Featured Poster

i made a group on here but i don't know how the create a thread on it or how to delete the group . . . anyone know how to do either ?

ChrisHunter 152 Posting Whiz in Training Featured Poster

and the politically incorrect Christmas greeting:

Merry Christmas boys and girls, have fun getting hammered to celebrate Christ's birthday . . . i've started early.

however enjoy the festivities everyone have a gooden

ChrisHunter 152 Posting Whiz in Training Featured Poster

type it into a search engin, have a look at this

ChrisHunter 152 Posting Whiz in Training Featured Poster

Wars are fourght by the young

ChrisHunter 152 Posting Whiz in Training Featured Poster

In future just boost your orignal thread instead making a duplicate with a crap name.

This will get the windows identity of the machine it is executed on but make sure you add the using System.Security.Principal library.

public void getName()
        {
             // Retrieves and stores WindosIdentity in textBox1
             textBox1.Text = WindowsIdentity.GetCurrent().Name.ToString();
        }

As for the password i coulden't find out how to do it when i did a project which required it so let me know if and how you manage it.

ChrisHunter 152 Posting Whiz in Training Featured Poster

Drinking games or just general party games ?

pictonary, it quite funny watching the team mates argue over shocking drawigs.

or

I have never (you have to think of something you have never done and who ever has done said thing has to drink) you learn alot about people playing it

ChrisHunter 152 Posting Whiz in Training Featured Poster

Tell him to suck it up, stop being a selfish and compramise, it's not really a religious day just the celebration of the new year . . . maybe something like organising a quiz or getting hold of fireworks and a good party game ?

ChrisHunter 152 Posting Whiz in Training Featured Poster

I was like this through university, i constantly fell asleep during lectures but could stay wide awake and focused from 10 or 11pm until 4am at times. i think it may have been due to there being noone to distract me as everyone would be in bed.

ChrisHunter 152 Posting Whiz in Training Featured Poster

if you do something like the following example

Sorry i missed the FROM clause out:

"SELECT COUNT(*) FROM MyTable WHERE Username = ' + textbox1.text + ' AND Password = ' + textbox2.text + '";
ChrisHunter 152 Posting Whiz in Training Featured Poster

if you do something like the following example the COUNT() function will count the amount of rows within the database that match the WERE clause and return that number. Then you check the number is 0 or not and grant or deny access accordingly.

"SELECT COUNT(*) my MyTable WHERE Username = ' + textbox1.text + ' AND Password = ' + textbox2.text + '";
ChrisHunter 152 Posting Whiz in Training Featured Poster

loosing a few battles on the way is part of the game.

My apologies. Agreed, i usually only play call of duty with friends so we can work as a team and we usually do well because we cover eachother like this guy offering this service would . . . when you get out classed you've just got to tip your cap and respawn.

ChrisHunter 152 Posting Whiz in Training Featured Poster

IT is a book by Stephen King has given a me a phobia of clowns.

ChrisHunter 152 Posting Whiz in Training Featured Poster

yes and no ..

From reading the interview it 100% sounds like his service is you play the game and he covers your back for a fee. your still going to do all the leveling up yourself this guy is just going to stop you getting killed as much so that you stand a better chance, a bit like getting more people involved in a quest in WOW to make it easier(i've never played the game myself but i'm guessing thats how it works).

ChrisHunter 152 Posting Whiz in Training Featured Poster

Have a look at this link you'll be able to find info on how to do pretty much anything from MSDN forums.

Hope it helps

ChrisHunter 152 Posting Whiz in Training Featured Poster

you need to make sure your combobox is accessable (make it public) and do something like

int id = Convert.ToInt32(combBox.text);

string sqlStatement = "SELECT columnName1, columnName2, columnName3 FROM TableName WHERE IDColumn = ' + id + '";

Hope this helps

ChrisHunter 152 Posting Whiz in Training Featured Poster

i'm an atheist . . . you not watched the news lately ? a lack of money is the cause of all Europes problems

ChrisHunter 152 Posting Whiz in Training Featured Poster

You haven't event shown that you've attempted it, i'd help you if you had tried and were stuck with it. someone else might give you the program or i'm sure you could pay someone for it . . .

ChrisHunter 152 Posting Whiz in Training Featured Poster

. . . Read a book

ChrisHunter 152 Posting Whiz in Training Featured Poster

Mass is something many people will go to for the first time in 12 months at chrismas time

ChrisHunter 152 Posting Whiz in Training Featured Poster

Theres no point in having data if there is no one to use that data in the same way (as already stated) that there is no point in having human resources if there is no data to be processed . . .

ChrisHunter 152 Posting Whiz in Training Featured Poster

Threading a needle is easy if you use a big needle

ChrisHunter 152 Posting Whiz in Training Featured Poster

I didn't even start to gain weight until I seriously damaged my knees in a traffic accident (and later my back as well), and can no longer exercise.
2 miles on a bike or half a lap in the swimming pool and I'm in enough pain that I can't do anything except lie in bed for several days.
Hiking I can some days keep up for an hour, maybe 2, but that's it. Running is out of the question.
The same is true for many people.

see i thought i said if your able to exercise and don't (which means if you don't have an ill ness or bad knees or back like yourself) which means excludes yourself.

i also have bad knees and have done since i was 16 when i hit the side of a car at 30mph and when over the top of it, i was always active before that and at 22 still am and am still trying to get something done about my knees but I'm still only 12st 11. when my knees feel alright at times i try playing squash but usually twist my knee or it starts to hurt when i walk but i make sure i climb every week.

Oh and my brother always gets told to eat more fruit and veg by his doctor because he's anemic

the point is there are people who are over weight due to illness or disability and there are …

ChrisHunter 152 Posting Whiz in Training Featured Poster

Have you tried doing SELECT DISTINCT ? i've had this proplem in the past and i think i used SELECT DISTINCT.

ChrisHunter 152 Posting Whiz in Training Featured Poster

The best way to learn it is by doing it.
Start by writing a "Hello World" program.
Then start refining it by adding bells and whistles.
You will need to read a lot.

Agreed, make sure you by the correct book so you don't loose interest and make sure you do the examples.

Good luck i'm in the same boat.