Announcement

Collapse
No announcement yet.

Wisconsin Takes A Stand For Fiscal Sanity

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I am still struggling with vba. My god, the people who built this database are idiots.
    12-17-10 Mohamed Bouazizi NEVER FORGET
    Stadtluft Macht Frei
    Killing it is the new killing it
    Ultima Ratio Regum

    Comment


    • I feel your pain

      Comment


      • Is there a usable alternative to sendkeys to fill in form data? Sendkeys seems to stutter
        12-17-10 Mohamed Bouazizi NEVER FORGET
        Stadtluft Macht Frei
        Killing it is the new killing it
        Ultima Ratio Regum

        Comment


        • Btw, I have already put in sleep commands between each call. That seemed to help slightly, but there are still problems
          12-17-10 Mohamed Bouazizi NEVER FORGET
          Stadtluft Macht Frei
          Killing it is the new killing it
          Ultima Ratio Regum

          Comment


          • Originally posted by KrazyHorse View Post
            Is there a usable alternative to sendkeys to fill in form data? Sendkeys seems to stutter
            *shudder*

            You can't just see the form's source (I assume it's a VBA form) and set its form fields, call its event handlers directly?

            e.g. if it's Form1 with TextBox1 and CommandButton1 you just say something like

            Form1.TextBox1.Value = "whatever"
            Form1.CommandButton1_Click

            Comment


            • No, it is a web form with some kind of backend we don't have access to.

              Finished. A few thousand entries with a stutter rate of 1% or so.

              At least I could compare output to input programmatically to pinpoint errors.
              12-17-10 Mohamed Bouazizi NEVER FORGET
              Stadtluft Macht Frei
              Killing it is the new killing it
              Ultima Ratio Regum

              Comment


              • It didn't help that the managers who built the input had typos either...
                12-17-10 Mohamed Bouazizi NEVER FORGET
                Stadtluft Macht Frei
                Killing it is the new killing it
                Ultima Ratio Regum

                Comment


                • Originally posted by KrazyHorse View Post
                  No, it is a web form with some kind of backend we don't have access to.

                  Finished. A few thousand entries with a stutter rate of 1% or so.

                  At least I could compare output to input programmatically to pinpoint errors.
                  Gah, sorry I didn't check back sooner. If you looked at the web page and the name of the form fields + the URL you can do something like this:

                  Code:
                  With New MSXML2.XMLHTTP
                  	.Open "POST", "some url", False
                  	.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
                  	.send "field1=" & field1 & "&field2=" & field2 ...
                  	Debug.Print .responseText
                  End With
                  Last edited by Kuciwalker; February 28, 2011, 03:57.

                  Comment


                  • Note that to do that you'll need to go to Tools->References and select "Microsoft XML" (pick the latest version available) in the VBA editor.

                    Comment


                    • Okay. It is done for now, but I will use that next time.
                      12-17-10 Mohamed Bouazizi NEVER FORGET
                      Stadtluft Macht Frei
                      Killing it is the new killing it
                      Ultima Ratio Regum

                      Comment


                      • Is there any good reason that vba can't easily mimic stdin without ****ing it up?
                        12-17-10 Mohamed Bouazizi NEVER FORGET
                        Stadtluft Macht Frei
                        Killing it is the new killing it
                        Ultima Ratio Regum

                        Comment


                        • Originally posted by DaShi View Post
                          That doesn't solve any of the problems of using student testing to evaluate teachers.
                          How so?
                          No, I did not steal that from somebody on Something Awful.

                          Comment


                          • On a related topic - When do the WI layoffs begin?

                            I gather if they can't reduce entitlements collectively they plan to do it individually.
                            "I have never killed a man, but I have read many obituaries with great pleasure." - Clarence Darrow
                            "I didn't attend the funeral, but I sent a nice letter saying I approved of it." - Mark Twain

                            Comment


                            • Originally posted by KrazyHorse View Post
                              That post is going to be too complicated for anybody here other than me and you. Even relatively simple micro stuff is beyond most of them. A point that relies heavily on somebody not implicitly assuming the fallacy of composition will not be taken.
                              Hey, I occasionally read threads that Kuci links for me.
                              "You're the biggest user of hindsight that I've ever known. Your favorite team, in any sport, is the one that just won. If you were a woman, you'd likely be a slut." - Slowwhand, to Imran

                              Eschewing silly games since December 4, 2005

                              Comment


                              • What is your point? Until otherwise demonstrated you are lumped with everybody else.
                                12-17-10 Mohamed Bouazizi NEVER FORGET
                                Stadtluft Macht Frei
                                Killing it is the new killing it
                                Ultima Ratio Regum

                                Comment

                                Working...
                                X