I am still struggling with vba. My god, the people who built this database are idiots.
Announcement
Collapse
No announcement yet.
Wisconsin Takes A Stand For Fiscal Sanity
Collapse
X
-
12-17-10 Mohamed Bouazizi NEVER FORGET
Stadtluft Macht Frei
Killing it is the new killing it
Ultima Ratio Regum
-
Is there a usable alternative to sendkeys to fill in form data? Sendkeys seems to stutter12-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 problems12-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 PostIs there a usable alternative to sendkeys to fill in form data? Sendkeys seems to stutter
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 PostNo, 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.
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
-
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
-
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 PostThat 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."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
Comment