Search results for query: *

  1. G

    Getting VB.NET to email you

    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...
  2. G

    Getting VB.NET to email you

    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...
  3. G

    Yesterday's datestamp

    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...
  4. G

    XmlTextReader and file detection...

    Merci mon ami. G.
  5. G

    Detecting clicking on the "X" closedown

    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.
  6. G

    XmlTextReader and file detection...

    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...
  7. G

    Detecting clicking on the "X" closedown

    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
  8. G

    Detecting clicking on the "X" closedown

    Folks, How do you detect the clicking of the little black "X" in the top right-hand corner of a pop-up window of a VB.NET form? Thanking you, G.
  9. G

    Opening a file and removing previous 2 lines

    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...
  10. G

    "While"-ing through an XML file

    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...
  11. G

    Extracting info from an XML file

    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.
  12. G

    Extracting info from an XML file

    Merci Neal - I'm on it.
  13. G

    Simulating a user clicking on a link...

    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...
  14. G

    Extracting info from an XML file

    Neal, Can you give me some sample code? Cheers G.
  15. G

    GUID conversion

    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...
  16. G

    GUID conversion

    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...
  17. G

    Extracting info from an XML file

    Of course - your right - I was just paraphrasing and thinking out loud. Do you wwant the exact XML...
  18. G

    Extracting info from an XML file

    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">...
  19. G

    Access an FTP Site - Receipe problem

    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 ****...
  20. G

    Extracting info from an XML file

    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.
Back
Top