[B]Without[/B] water every living thing [B]will[/B] die

[B]Eternal Life[/B] is God's [B]Life[/B]

It is more fun to talk with someone who doesn't use long, difficult words but rather short, easy words like "What about lunch?

[B]UPDATED EMPLOYEE HANDBOOK[/B]

[B]DRESS CODE[/B]
It is advised that you come to work dressed according to your salary. If we see you wearing $350 Prada sneakers, and carrying a $600 Gucci Bag, we assume you are doing well financially and therefore you do not need a raise. If you dress poorly, you need to learn to manage your money better, so that you may buy nicer clothes, and therefore you do not need a raise. If you dress in-between, you are right where you need to be and therefore you do not need a raise.

[B]SICK DAYS[/B]
We will no longer accept a doctor's statement as proof of sickness. If you are able to go to the doctor, you are able to come to work.

[B]PERSONAL DAYS[/B]
Each employee will receive 104 personal days a year. They are called Saturday & Sunday.

[B]BEREAVEMENT LEAVE[/B]
This is no excuse for missing work. There is nothing you can do for dead friends, relatives or co-workers. Every effort should be made to have non-employees attend to the arrangements. In rare cases where employee involvement is necessary, the funeral should be scheduled in the late afternoon. We will be glad to allow you to work through your lunch hour and subsequently leave one hour early.

[B]RESTROOM USE[/B]
Entirely too much time is being spent in the restroom. There is now a strict 3 minute time limit in the stalls. At the end of three minutes, an alarm will sound, the toilet paper roll will ...

:)

commented: too fast +0

@susheelsundar: you are not playing wrong but bolding the wrong word :D

We are planning a Grand [B]Party [/B]
[B]Nothingness[/B]

commented: Thats it. +0

[URL="

:) If you are done with you problem then mark this thread as solved before leaving

check [URL="

if 12oz of soda killed 2 lbs of mouse than it means 6 oz soda is enough for 1 lb.... If it is true than if the weight of you friend is also in lbs then just multiply the weight with 6oz
[CODE]//declare variables
int AMOUNT_SODA;
int MOUSE_WEIGHT;
int START_WEIGHT;
int DESIRED_WEIGHT;
double SWEETNER_PERCENT_SODA;
double sweetnerKillMouse_2lb; // amount of sweetner that will kill mouae
double sweetnerKillMouse_1lb;
double sweetnerKillHuman;//amount of soda that will kill a human
double newAmountSoda;

    //assigne variables
    AMOUNT_SODA = 12;//espressed in oz
    MOUSE_WEIGHT = 2;//expressed in lbs
    START_WEIGHT = 150;
    DESIRED_WEIGHT = 140;
    SWEETNER_PERCENT_SODA = (0.1/100) *AMOUNT_SODA

    //find out how much sweet ner killed te mouse
   // sweetnerKillMouse = SWEETNER_PERCENT_SODA * AMOUNT_SODA;
    sweetnerKillMouse_2lb = SWEETNER_PERCENT_SODA;
    sweetnerKillMouse_1lb=sweetnerKillMouse_2lb/2;
    //find out how much sweetner human drinks till he dies 
    //(amount of sweetner that kills human / human weight) = (amount that kills mouse / mouse weight)
  //  sweetnerKillHuman = DESIRED_WEIGHT * sweetnerKillMouse / MOUSE_WEIGHT;
      sweetnerKillHuman = DESIRED_WEIGHT * sweetnerKillMouse_1lb;
    //find out the total amount of sida which has the amount of sweetner that kills a human
    //(amount of sweetner that kills the mouse / amount of soda ) = (amount of sweetner that kills human / new amount of soda)
    newAmountSoda = (AMOUNT_SODA * sweetnerKillHuman) / sweetnerKillMouse;

    //display
    System.out.println(newAmountSoda);//MY RESULT IS 840.00[/CODE]
commented: very good +3
commented: Helped me realize something simple. +1

check [URL="

commented: good links +3

Have you added [B] Microsoft.WindowsCE.Forms.dll[/B] in you project?

commented: good point +3
commented: nice link +3
commented: helpfull +14

"Mister, why doesn't this cow have any horns?" asked the young lady from a nearby city. The farmer cocked his head for a moment, then began in a patient tone, "Well, ma'am, cattle can do a powerful lot of damage with horns. Sometimes we keep'em trimmed down with a hacksaw. Other times we can fix up the young 'uns by puttin' a couple drops of acid where their horns would grow in, and that stops 'em cold. Still, there are some breeds of cattle that never grow horns. But the reason this cow don't have no horns, ma'am, is 'cause it's a horse."

Adding one return statement at the end will solve a problem.... Trying to figure out the problem yourself will increase your figure try not to rely on others but look for the answer yourself

commented: good suggestion +3

So restart the game with new rules :)

[B]"With power comes the great responsibility"[/B]

commented: Awesome post! +0

add the xml file and .dtd file in ur debug folder and add following code in where you want to extract connection string (Supposing your xml file has connection string as the first attribute )

[CODE] XmlReader xmlrdr;
XmlReaderSettings readerSetting = new XmlReaderSettings();
readerSetting.ProhibitDtd = false;

        if (File.Exists(Application.StartupPath.ToString() + "\\FileName.xml"))
        {
            xmlrdr = XmlReader.Create(Application.StartupPath.ToString() + "\\FileName.xml", readerSetting);
        }
        else
        {
            Domain domain = Domain.GetCurrentDomain();
            DomainController dc = domain.PdcRoleOwner;
            xmlrdr = XmlReader.Create("\\\\" + dc.Name.Split('.').GetValue(0).ToString() + "\\FileName$\\FileName.xml", readerSetting);
        }

        while (xmlrdr.Read())
        {
            xmlrdr.MoveToElement();
            if (xmlrdr.NodeType == XmlNodeType.Element && xmlrdr.Name == "connection")
            {
                if (xmlrdr.HasAttributes)
                {
                    xmlrdr.MoveToFirstAttribute();
                    while (xmlrdr.MoveToNextAttribute())
                    {
                      String Connection_string = xmlrdr.GetAttribute(1);
                    }
                }
                break;
            }
        }[/CODE]
commented: Good links +3

My best dreams and worst nightmares have the same people in them.

  • Philippos
commented: Where you get this much information ? +2

What to say ????? First you have to make the database then make a c# application and take the new file from user and match it with the one in database ..... But are aware you of the difficulties in matching 2 audio files in c#????
I will not prefer c# for such a work it will be a collaborative work of MATLAB and C#.... Can you program in MATLAB and C#?

commented: Continuous help :) +3

Do perform an update on database too as the datetime picker is bound with database or you can also remove the databinding on value change event of datetime picker

commented: Agree +2

call another function in timer_tick and in that function disable timer and load the new form and when you come back to form 1 then again enable the timer

commented: good solution :) +3
commented: Nice algorithm. +14

that makes
[B]
Team A: 7
Team B: 2[/B]

commented: We rock! +0

ok make an integer variable let's say count and update it in calling function and put condition on its value like
[CODE]
int count=0;
public void caller()
{
if(count==0)
{
function1();
count++;
}
else
{
MessageBox.Show("Over done");
}
}
public void function1()
{
}
[/CODE]

commented: Thanks for your help, it's very much appreciated :) +2

Loops in sql qork with cursors check these links [URL="

commented: Helpful +2

if it is separated by a space then split the string as [CODE]string text = "Hello.. how are you";
String[] splitText=text.Split(' ');
Console.WriteLine(splitText[splitText.Length-1];[/CODE] this will solve your problem

If you have a datasource based multiple-join tables using command builder, then things will not automatically sort out for you when you push updates back to the database. You need to do more to manage this on your own with your DataAdapter.

I recommend you to check these links [URL="

pass file name as string to the constructor or display form and in diplayform_load event load it in picture box just like suggested in [URL="

Check the following code Main[CODE]using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Week2Lab
{
class Program
{
static void Main(string[] args)
{
Employee object1 = new Employee();
object1.FirstName = "Joe";
object1.LastName = "Student";
object1.Phone = "555-1111";
Console.WriteLine("Name:" + object1.FirstName + " " + object1.LastName);
Console.WriteLine("PhoneNumber:" + object1.Phone);
Console.WriteLine("Salary:" + object1.calculatePay(74395.11));
Console.WriteLine("\n\n");
RaceCar object2 = new RaceCar();
Console.WriteLine(object2.CurrentPosition());
Console.ReadLine();
}
}
}
[/CODE]
Employee
[CODE]using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Week2Lab
{
class Employee
{
private string firstName;
private string lastName;
private String phone;
// private double annualSalary;

    public Employee()
    {

    }

    public string FirstName
    {
        get { return firstName; }
        set { firstName = value; }
    }

    public string LastName
    {
        get { return lastName; }
        set { lastName = value; }
    }

    public String Phone
    {
        get { return phone; }
        set { phone = value; }
    }

    public double calculatePay (double annualSalary)
    {
          return annualSalary / 52.0;
    }
}

}
[/CODE]
RaceCar[CODE]using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Week2Lab
{
class RaceCar
{
private string name;
private int x_coordinate;
private int y_coordinate;

    public RaceCar()
    {
        //Set the car name to “Fast One”
        name = "Fast One";
        //Set the x coordinate to 200
        x_coordinate = 200;
        //Set the y coordinate to 100
        y_coordinate = 100;

    }

    public String Move()
    {
        // Console.ReadLine();                        
        x_coordinate = x_coordinate + 5; // same as x += 5;
        return "Current Position: " + x_coordinate + "\n\t\t  " + y_coordinate;
    }

    public string CurrentPosition()
    {
        String current = Move(); ...
commented: You are too good for this world. +14
commented: Nice post +3