Search results for query: *

  1. R

    Checking for Remote File

    Just wondering, is there a way to check if a remote file exists, so I can check if it's actually there before my app downloads it, and it its not, return info on the HTTP error? Many thanks :)
  2. R

    Editing an XML File

    thanks, i am king at missing the obvious :)
  3. R

    Editing an XML File

    am using the following code to edit an XML file: Dim xDoc As New Xml.XmlDocument xDoc.Load("prefs.xml") Dim prefs As Xml.XmlNode = xDoc.SelectSingleNode("/Preferences") prefs(preference).InnerText = value now, no exception is being thrown or any errors, but the file does not seem to be being...
  4. R

    XML Problem

    yup spotted right after i posted, many thanks :)
  5. R

    XML Problem

    Using the code above I get the following error: The 'wowPath' start tag on line 2 does not match the end tag of 'Preferences'. Line 4, position 3.
  6. R

    XML Problem

    Probably missing something silly again ;) but i get the following error when trrying to read an xml file 'element wowPath cannot be found' here is the code. bear i mind i know the structure of the xml file and it stays the same <Preferences> <wowPath>path</wowPath>...
  7. R

    filtering FolderBrowserDialog?

    had a look round the documentation but can't seem to see a way to 'filter' a folderbrowserdialog (ie ONLY let you select a path if it has a certain file in it) is this possible? many thanks in advance :)
  8. R

    Saving of a single preference

    My little app works great, however one thing is bugging me, the user needs to select the path to the excutable every time the prog loads. I only need to save a single setting (the path) so i'm wodnering the best way to go about it. would xml be overkill or maybe just a simple txt file, hmm!
  9. R

    Using External Components

    sorted, works just fine, thank you :)
  10. R

    Using External Components

    perfect, that works a treat! ok noticed something, probably me going mad though :) the file has been downloaded to the correct directory, but unziped to the debug directory, is this normal? or have I missed something?
  11. R

    Using External Components

    much thanks, youve been very kind.
  12. R

    Using External Components

    I've gotten SharpZipLib from http://www.icsharpcode.net/OpenSource/SharpZipLib/ and yes i want to include it to avoid use of external applications. thanks for the advice so far
  13. R

    Using External Components

    Ive gotten hold of a zip component so can unzip files in my app I'm making, but I'm wondering how to utilise this, is there a certain place I need to put it? Very sorry for simple questions, I'll be out of your hair soon enough :)
  14. R

    Downloading a file

    that helped great, everything working now :)
  15. R

    Downloading a file

    ok so the point of my program is to keep a warcraft mod updated, to do this i must get the contents of a text file which contain the latest version (solved) then download the appropriate file (named BigWigsxxxxx.zip) where xxxx is the latest version. Private Sub bwu_downloadLatest()...
  16. R

    Retrieving contents of a text file

    Sorted, in the end it is very much like Java, anyhow, I've gotten the app to retrieve the version number from a txt file, now I need to download the file. ive gotten code to download it but I get an unautorized access exception, do i need to set permissions or is there a way to avoid it in code?
  17. R

    Retrieving contents of a text file

    thank you very much for the assistance :)
  18. R

    Retrieving contents of a text file

    I'm fairly proficient at java but i am making a small app for my Warcraft guild and figured i'd start to learn vb.net. anyhow. What I want to do first is retrieve the contents of a text file from a URL. Below is an example of it in Java and hopefully you can understand :) import java.net.*...
Back
Top