I have a timer which I want to run on a separate thread. Is this the proper way to start the TICK procedure of the timer?
Thread PBThread;
private void rdoPBBack_CheckedChanged(object sender, EventArgs e)
{
if (this.rdoPBBack.Checked == true)...
I am able to create an application that checks a website and if an update is available, install that update, by using the ClickOnce feature of Visual C# 2005 .NET
The only problem is that it doesn't give me the power to add a desktop icon and other useful things as other full blown install...
Hello guys,
Here is my next obstacle... I have a code which reads a pipe delimited file which has 2 columns, then takes the values of column 1 to fill a combobox. Then I enter a value on a textbox, which corresponds to a value on column 2, from the file read above.
What I need is for the...
Hello all,
As some of you might know, a compass heading is from 000 to 359 degrees. Now here is my problem.
v1 = 6 // Magnetic Heading
v2 = -10 // Magnetic Variation
In order to find out what is the TRUE HEADING, we need to substract v2 from v1 (6 minus -10).
The result will be -4, but -4 is...
Hello all,
I know that in PHP, if you want a variable to always be say 3 characters in length and the value is 1 or 2 characters, you can use the sprintf command to insert as many characters of your choice, until the variable reaches the specified length.
How can I do the same with Visual C#...
Hello all,
I am running into a dead end. I have a comma separated value file (airports.txt) which has 2 columns in this format and is delimited by a PIPE "|":
AALBORG, DENMARK|AAL
AARHUS, DENMARK|AAR
AL AIN, UNITED ARAB EMIRATES|AAN
ALBACETE, SPAIN|ABC
ABILENE, TX|ABI
How can I read this file...
How can I set my project's version number to a variable, so that I can display it on the form? For example, I would like to be able to show the version number on the Title Bar.
Hello all,
How can I edit this code, so that I am able to append the variables Username and Password:
Username = this.txtPilotname.Text;
Password = this.txtPassword.Text;
System.Net.WebClient Client = new System.Net.WebClient()...
Hello guys and gals,
I am having a small problem. I have a small script which gets a METAR feed, processes it and then displays the weather information. The problem is that it will accept 1 weather station as an input variable.
How can I run this script TWICE within the same execution, while...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.