Dynamic web content with VB6 (java servlet inspired)
I'm working on a project that needs more 'flare' than what can normally be done with VB6. My thought is to generate HTML/CSS content and display this within a browser control on a form. I would also like the ability to respond to form events from the web content within the VB application. My inspiration comes from recent experience with java servlets and jps. Has anyone done something similar?
I'm inter开发者_运维知识库ested in what controls could be used to display the content and any suggestions on ways to interact with the page elements. Generating the html and css should not be a problem.
Thanks
Use the Microsoft Web Browser Control to embed Internet Explorer into your application. Then you may be able to implement two-way communication with the BeforeNavigate2 event: I believe you can do it in .Net.
An alternative way to get "flair" is to create a fancy form in .NET, perhaps using WPF, and then display it from a VB6 application using the Interop Forms 2 Toolkit.
精彩评论