Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by CodingIsFun

  1. CodingIsFun

    Pros and Cons for using structures

    Hi all experts We have been having internal meetings about coding standards and are trying to decipher some best practices with regards to development. We have 2 sides on this debate: Using structures to hold data or make individual variables with sets/gets and overloaded functions within a...
  2. CodingIsFun

    varbinary conversion to text?

    Hi all experts, Does anyone know how to convert a varbinary field into readable text? thanks in advance...
  3. CodingIsFun

    Trying to update all input tags dynamically

    that works as well, but when I try alert(table_content.innerHTML); after the changes, I view the innerHTML and none of the changes are there.
  4. CodingIsFun

    Trying to update all input tags dynamically

    Hi all experts, I am trying to rename input tags for the purposes of reusing a particular table to create new instances on the same page. for some reason the following code(alert(table_content.innerHTML) shows no changes, but when the alert in the for loop is uncommented it appears to be...
  5. CodingIsFun

    HttpWebRequest and multipart/form-data content type issue

    Hi all experts, I am trying to send a multipart/form-data content to a page. For some reason the following code is not posting to the url. When I post to the URL the normal way using Type = File all works well. Let me know if you see something irregular: MemoryStream oPostStream = new...
  6. CodingIsFun

    Losing 3KB when Wrting

    Thanks ChipH.. That was the issue. I am reading in by carriage returns and writing out with none. Now the file sizes are the same.
  7. CodingIsFun

    Losing 3KB when Wrting

    The actual size dif is 2518 bytes. I am going to break down each file into small pieces so I can do a diff on them. thanks for the help.
  8. CodingIsFun

    Losing 3KB when Wrting

    Hi all experts, Maybe Im missing something. I am reading then writing to a file. I have a 4GB file that I am processing. The resulting file is missing 3KB. I am having a problem comparing the files because it is so big. Here is my code. StreamReader reader = new...
  9. CodingIsFun

    Removal of Invalid characters in stream

    Hi all experts: I have temporarily solved my problem, any further help would be fantastic. In order to avoid the invalid character I read the file in with StreamReader and Create a new file with StreamWriter using UTF8 Encoding output. Then I use the new file to run my parsing routine, now...
  10. CodingIsFun

    Removal of Invalid characters in stream

    Hi all experts: I am currently having some issues with a large XML file that I need to parse. I am getting the following error: System.Xml.XmlException was unhandled Message="Invalid character in the given encoding. Line 283, position 39709." Is there anyway to remove all Invalid Encoding...
  11. CodingIsFun

    System.Xml.XmlException Invalid Character

    Finding the character that is causing the failure doesn't help me actually. Is there a way to change the encoding for the XmlTextReader so it doesn't error? thanks again for the help.
  12. CodingIsFun

    System.Xml.XmlException Invalid Character

    Hi all experts I am parsing through a 5 gig xml file, copying to another file as I go. I need to find a particular part of the xml and change a value for the new file. Here is the error I get. System.Xml.XmlException was unhandled Message="Invalid character in the given encoding. Line 283...
  13. CodingIsFun

    Updating large XML files

    I know the structure of the file, so I can go down that path. The XmlTextReader.ReadElement() is not available for my text reader, is this available in 2005?
  14. CodingIsFun

    Updating large XML files

    Is there a way to read in the text in chunks? Possibly parse in text for every 5,000 > characters. The xmlfile Im reading has no carriage returns so going line by line is not a good solution?
  15. CodingIsFun

    Updating large XML files

    Hi all experts, I have been given a task to update a few elements in a 7 gigabite xml file. In the past for small files I would use xpath. Do to the large size, Im wondering ahead of time if there are any downfalls with xpath and large file sizes. I will do experiments, but I would also like...

Part and Inventory Search

Back
Top