Got this sorted. In Ireland - vodafone.ie/ offer their customers the ability to set up an email account under their domain. I can sent this account an email message from the program. This account (if selected/enabled) can then text message your phone. Chosing another option you can use their...
Getting VB.NET to text message you
Folks,
Can you get VB.NET to test message you - to your phone like? There is a part in my code that if it occurs I would like the s/w to email me with a notification.
I have the application on my box which has the IIS server on it and Microsoft Outlook...
Folks,
I'm generating today's timestamp (in format: YYYYMMDD) using the following code:
Dim dateString As String = Date.Now.ToString("yyyyMMdd")
Thing is though - I want to generate yesterday's datestring in the above format and the day before and the daye before etc...
Trick one...
JuggaloBrotha,
Sorry man but for the "Form1_Closing" i'm still gettinga : "Event 'Closed' cannot be found" type error message.
I'm totally confused...
Can anyone help?
Please!
G.
Folks,
I'm bulletproofing. I'm using "XmlTextReader" to open and parse an XML file. This is working fine and dandy as show below:
Dim fxRatesFile As System.Xml.XmlTextReader
'Create the XML Reader
fxRatesFile = New System.Xml.XmlTextReader("C:\a.xml")
I'm now bullet...
I'm trying:
Private Sub Form_Closing(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
FileWrite()
End Sub
but under the closing it says: Event closing cannot be found
Folks,
I want to open a file and remove the previous 2 lines and then write a new line. I know how to do the last bit i.e. adding the last line:
Dim fileName AsString
fileName = "C:\afile.txt"
Microsoft.VisualBasic.FileSystem.FileOpen(1, fileName, OpenMode.Append)
WriteLine(1, String1...
Folks,
I'm using a while statement and EOF attribute to scroll through and XML file that I have opened.
Problem is though I don't think it scrolling through the XML file? For the life of me I don't know why - can anyone help please?
Thanks
G.
Dim fxRatesFile As System.Xml.XmlTextReader...
I have tags in the form:
<foreign iso-alpha="GBP">
<break min="0.000" max="100.00" rate="0.667843">
<break min="100.001" max="9999.999" rate="0.683435>
How the hell do I extract these?
Confused,
G.
Folks,
I want to write a little application that will simulate a user clicking on a link. The link opens up a pop-up box and the user selects an option from a drop-down and then click on a button.
I'm trying to simulate all this using VB.NET code in another program if you take my...
I'm trying to generate 1 16-digit number from the GUID... the above code does not seem to be doing that. It didn't compile - so I modified it accordingly
Dim NewGuid As Guid = Guid.NewGuid
Dim myGuid() As Byte = NewGuid.ToByteArray
Dim hexString As String = ""
Dim i As Integer
Dim num As...
Folks,
I have generated a GUID. I want to convert it form it's hex output to just a number. Can anyone help please?
Here is the code so far:
' Generate a GUID for the logging file
Dim NewGuid As Guid = Guid.NewGuid
Dim myGuid As String = NewGuid.ToString("N") 'N means no dashes...
Guys - thanks for th comments - much appreciated. Unfortunately the XML file is more complex than originally anticipated. It gives a base currency and a foreign currency and also specifies 3 ranges. check this out:
<base ="eur">
<foreign="gbp">
<base-value min="0.000" max="99.999">...
Folks,
This is a recipe for accessing an FTP site. I having problems with the "Send" method and th "IPAddress" method - my compiler says: "Name Send is not declared" and "Name IPAddress is not declared"
Can anyone make any intelligent suggestions please?
**** CODE AS FOLLOWS ****...
Folks,
I need to extract some information from an XML file - specifically a number between the tags:
<fx-rate>1.23456789</fx-rate>
Does anyone know how to do this exactly?
Cheers,
G.
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.