Hey guys/ladies :)
I am making a application that I need to use $ for. When I use FormatCurrency it puts it into £ and I assume this is because of my location that is set on my computer.
Is it possible to make it so that FormatCurrency uses $ regardless of the computers location?
I am in the middle of making an application in VB.NET that I need to download the weather for certain locations and then read them and use them in the program.
I am able to download the weather XML file however I am not too sure how to read certain attributes out of the XML file...
Just to update I have managed to get this working.. Stupid mistake on my part....
Basically I forgot to update the actual database the program (:o) is using with the one I had updated so it only have the RaceImg column for the AusGP and not any of the others.
Sorry for wasting your time :o
The ID is the combo box's selected index which will then look up the correct row in the database for the selected item.
This code by the way is on the combo box's selected index changed so it runs this every time someone selects a new item.
Using the ID on other parts of the code for setting...
I don't know if this will be any help to you or not but I have loaded text files in the past with the following code:
Dim EntireFile As String
Dim oRead As System.IO.StreamReader
'Reads the file
oRead = IO.File.OpenText(".\TextFileHere.txt")
EntireFile = oRead.ReadToEnd()
I'll try code it...
I am having a bit of an annoying picture box problem, I have a picture box on my form along with a combo box with a number of different options.
So anyway when a combo box item is selected I want it to look in the dataset for the selected item's row and pick out the image to load and then...
I am currently working on a project that I load all the required data at the start of the program out of a database into a Data Set however the content updates while using the program.
So for example I have a number that will be updating on a regular basis while the program is running...
I am trying to insert a date into a MSSQL database which is set to a DateTime field but it always inserts in at 01/01/1900
I am using a masked text box that is set to the short date mask.
Also when I try to set a default date on a datetime field it will also insert as...
I am creating an application and I am running 1280, 1024 Res and I want my application to be able to support any computer res. How can I do this if it is at all possible?
I am sure this has been asked and I have tried searching but with no luck
Thanks for any help