Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Why? Why?!! WHY!!!!

Why? Why?!! WHY!!!!

Scheduled Pinned Locked Moved The Weird and The Wonderful
csharptoolsxmlquestion
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeremy Hutchinson
    wrote on last edited by
    #1

    I've been rewriting a system that was originally written in VBScript. Yes, that's 5000+ lines of VBScript with no white space, and no comments. That alone has had me crying for weeks/months, but this pushed me over the edge: At one point in the application we generate documents, to do so we pass a piece of XML to a third party utility that does a Word Merge (or whatever kids are calling it these days). Rather than pass each piece of data as a separate element they are doing some of the formatting in the VBScript. Instead of passing John Smith 1/1/1970 They are passing: John Smith {they insert a vbtab} 1/1/1970 I can't change the document template, so for now I have to reproduce this horrible code in .Net. I'm going to spend a few hours in the shower tonight crying and trying to scrub off that dirty feeling...

    S C V 3 Replies Last reply
    0
    • J Jeremy Hutchinson

      I've been rewriting a system that was originally written in VBScript. Yes, that's 5000+ lines of VBScript with no white space, and no comments. That alone has had me crying for weeks/months, but this pushed me over the edge: At one point in the application we generate documents, to do so we pass a piece of XML to a third party utility that does a Word Merge (or whatever kids are calling it these days). Rather than pass each piece of data as a separate element they are doing some of the formatting in the VBScript. Instead of passing John Smith 1/1/1970 They are passing: John Smith {they insert a vbtab} 1/1/1970 I can't change the document template, so for now I have to reproduce this horrible code in .Net. I'm going to spend a few hours in the shower tonight crying and trying to scrub off that dirty feeling...

      S Offline
      S Offline
      Sundance Kid
      wrote on last edited by
      #2

      Ouch! I Hate having a dependency system that takes data in a certain way. You have to continue using the "bad" code!

      1 Reply Last reply
      0
      • J Jeremy Hutchinson

        I've been rewriting a system that was originally written in VBScript. Yes, that's 5000+ lines of VBScript with no white space, and no comments. That alone has had me crying for weeks/months, but this pushed me over the edge: At one point in the application we generate documents, to do so we pass a piece of XML to a third party utility that does a Word Merge (or whatever kids are calling it these days). Rather than pass each piece of data as a separate element they are doing some of the formatting in the VBScript. Instead of passing John Smith 1/1/1970 They are passing: John Smith {they insert a vbtab} 1/1/1970 I can't change the document template, so for now I have to reproduce this horrible code in .Net. I'm going to spend a few hours in the shower tonight crying and trying to scrub off that dirty feeling...

        C Offline
        C Offline
        Corinna John
        wrote on last edited by
        #3

        Find out who wrote the VBScript and let him clean your house!

        This statement is false.

        1 Reply Last reply
        0
        • J Jeremy Hutchinson

          I've been rewriting a system that was originally written in VBScript. Yes, that's 5000+ lines of VBScript with no white space, and no comments. That alone has had me crying for weeks/months, but this pushed me over the edge: At one point in the application we generate documents, to do so we pass a piece of XML to a third party utility that does a Word Merge (or whatever kids are calling it these days). Rather than pass each piece of data as a separate element they are doing some of the formatting in the VBScript. Instead of passing John Smith 1/1/1970 They are passing: John Smith {they insert a vbtab} 1/1/1970 I can't change the document template, so for now I have to reproduce this horrible code in .Net. I'm going to spend a few hours in the shower tonight crying and trying to scrub off that dirty feeling...

          V Offline
          V Offline
          VickyC
          wrote on last edited by
          #4

          Do you get paid for the job?

          J M 2 Replies Last reply
          0
          • V VickyC

            Do you get paid for the job?

            J Offline
            J Offline
            Jeremy Hutchinson
            wrote on last edited by
            #5

            Is there any other kind of job?

            1 Reply Last reply
            0
            • V VickyC

              Do you get paid for the job?

              M Offline
              M Offline
              Mycroft Holmes
              wrote on last edited by
              #6

              Do you work for nothing? It is assumed that the majority of us work for a living and get paid for doing the work. This codeing justly deserves to be written up in the horrors forum.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups