Questions: 1 835

Answers by our Experts: 1 539

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Hi,
Basically I am C# developer beginner ,I am trying to make a desk top application using C# programming in .Net to send sms and have subscribed globalbulksms service as third party sms gateway and everything& is working properly but sms is not receiving in mobile, I am getting error like "recipient is not available" and some time like "provider is not register on your local machine server".
Please help me out , please send some code to send sms free if possible because I don't want to spend money any more....

Thanks in advance
Hi All,

I am trying to update my SQL table with 0 and 1. I have design a code that enables me to read sql table and write the result to text file. The problem is that i would like to convert 0 values to 1 randomly based on percent. For example, assume that table A is columns *4 rows with values 0 and 1.
The current percentage of 1 is 6/16. which is %37.5 I would like to increase the current percentage to 50%. To do so i need to convert randomly additional two 0s to 1 to get the total 8 of values 1. I appreciate your assistant in advance.

For example:
Table A
a1 a2 a3 ... am
1 0 0 1 ... 1
2 0 1 0 ... 0
3 0 0 1 ... 0
4 1 1 0 0
...
n
Hi

i can download ftp files from C# but it downloads the current date file.
but i need to download the files from previous date to current date .
for example: my files are

xys04-02-2011.zip
xys04-03-2011.zip
xys04-04-2011.zip

i am trying the following code

string dateString = DateTime.Now.ToString("MM-dd-yyyy");
string filename = string.Format("xys{0}.zip", dateString);
string localPath = "c:\\";
string fileName = filename;
string defaultLocalFolder_MCX = "C:\\";



FastZip fzMCX = new FastZip();

try
{


fzMCX.ExtractZip(defaultLocalFolder_MCX + "\\" + "xys03-31-2011.zip", defaultLocalFolder_MCX, "");

}

catch (Exception)
{
//

}


FtpWebRequest requestFileDownload = (FtpWebRequest)WebRequest.Create("ftp://localhost/Source/" + fileName);
requestFileDown
Part 1:
Write a program that prompts the user for three numbers;
a) The number of random numbers to generate
b) The lowest number in the desired range
c) The highest number in the desired range
Your program will then create an array of the appropriate size, and fill it with random numbers in the desired range.
Print out the array.
Write a loop to calculate the sum of the array. Print out the sum and the average value.
Write another loop to print out every other value.

Part 2:
After the array is filled, write a loop to calculate
__ The sum of the even numbers in the array
__ The sum of all the numbers in the array that are less than the average value
__ The product of every third element

Part 3:
Add a user entry loop at the end of the program that asks the user for a number, and then prints the number that is stored at that location in the array. Also print the square and the square root of the number. The user entry loop should end when the user types “Exit” (case insensitive).
Create a class name Taxpayer. Data fields for taxpayer objects include the Social Security number (use a string for the type, but do not use dashes within the number), the yearly gross income, and the tax owed. Include a property with get and set accessors for the first two data fields, but make the tax owed a read-only property. The tax should be calculated whenever the income is set. Assume the tax is 15% of income for incomes under $30,000 and 28% for incomes that are $30,000 or higher. Write a program that declares an array of ten Taxpayer objects. Prompt the user for data for each object and display the ten objects. Save the program as TaxPayerDemo.cs
I want to write a code using the fibonacci series. When a user inserts a number it should give the numbers in between the sequence along with an option to conitinue or quit.
I was asked to write a complete Statistics class to calculate common sample statistics values given three numbers. The class should calculate the mean(average), the sum, the minimum, and the maximum of three numbers.Two Constructors are needed, the default constructor and another contructor to initialize the three numbers.Methods are needed to get the mean, sum,minimum and maximum values. From Main() method, objects are to be created and statistics class is to be tested using both contructors. Pls help. Tks
Want to write a C# progm creating a Rectangle class to have two variables length and width. Two constructors are needed, the default constructor should intialize length and width to 1.0 each. The second must pass in two values to initialize length and width. There must be six methods to do the following: SetLength,SetWidth,GetLength,GetWidth, GetArea, and GetPerimeter.The perimeter is the sum of all sides of a rectangle. Three instances of the Rectangle needs to be created. The first rectOne must use the se
New question for you. Same as before, need in visual studio and zip files. Thanks in advance!

Write a program to compute the power loss in a transmission line with a resistance of 0.05 ohms/mile. Compute the power loss if 500kw of power is transmitted from a power generating station to cities at distances of 20, 30, 40, 50, 60, 70, 80, 90, 100 miles at 100 V and 200 V. The current (i) is calculated from: i = power transmitted in watts / volts transmitted

power transmitted in watts
i = --------------------------------
volts transmitted

The total resistance R is computed from the equation: R = r x miles

where r is the resistance per mile. The power loss is computed from the equation: Power loss = i2(squared) x R.

Display to console and pause the program.
I have a function which send a serial message to an usb device. The device answers back with a value (say122.22) this value must be the return value of that function.

public double aksingFunction()
{
sendQuestionSerial();
return receivedSerialAnswer();
}
LATEST TUTORIALS
APPROVED BY CLIENTS