Hello:
I'm using VB6 in VS enterprise. I'd like to place an HTML form inside
a VB container, have a user fill out the form information, click a
submit button, and then have the program capture the field values and
write them to an ASCII file on the hard drive. Can anyone confirm that
this is even possible? I have dredged up one article "Accessing the
Internet Explorer Document Object Model from Visual Basic 5.0" (Asmi,
1998) that covers the basics, but doesn't provide the details I need.
Documentation on the Web Browser Control is virtually non-existent (I
have seen MSDN's documentation). I've searched the net and can't find
examples from people that have tried this. I have no trouble creating
a form with a web browser control and having it navigate to my HTML
template, but accessing the DOM with VB6 in the control is another
matter- some code samples would be great, if anyone can point me to
them....
I'm open to alternative ways to do this. I can't use .NET or
VBScript/ASP in this situation. I also can't design the input form
without using HTML (ie. using VB's form controls instead)- too time
consuming- I have to create many of these forms. The article mentions
two other methods- 1. launching a separate instance of IE using
SHDocVw.InternetExplorer- apparently more events and methods are
exposed this way, but this is too messy for my application. 2.
embedding an ActiveX control inside an IE HTML page- I suppose this is
acceptable. Thoughts on this?
Thanks,
Tom Meuzelaar
RockWare, Inc.