Is there an HTML web form component?
(Saturday, August 28, 2004)
Found the following interesting discussion in the Newsgroups:
Is there an HTML web form component? by:Don Nablo
| I am looking for a component in VB6 or vb.net that would take simple HTML web form formating strings and populate an space on a windows form. The addtional requirement of this is that when the user clicks on a link on the created form my program can intercept and the URL and posted data, without the component making an HTTP call. It does not have to support graphics.
Does any one know of one? I know you can use a webControl but I have not figured out how to intercept the Http calls to control it.
The base of what I am after is a way to format a windows form with a simple script language like HTML.
Here is an example of the html <FORM ACTION="./index.asp" METHOD=POST > <div align="center"> <center> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=95%> <TR> <td width="247"><P align="right"><u><font size="+1" face="Arial">User ID:</font></u> <td width="323"><INPUT TYPE="text" NAME="UserID" VALUE="" SIZE=40 MAXLENGTH=50 > </TR> <TR> <td width="247"><P align="right"><u><FONT SIZE="+1" face="Arial">Password:</FONT></u> <td width="323"><INPUT TYPE="password" NAME="Password" VALUE="" SIZE=40 MAXLENGTH=50 > </TR> <TR> <td width="285"> <td width="285"><INPUT TYPE="submit" NAME="OK" VALUE="OK" > <input type="reset" value="Reset" name="Reset"> </TR> </TABLE> </center> </div> </FORM>
| | | Reply: by:Cor
| | | Hi Don,
If you already use the axwebbrowser, you needs "mshtml" to handle that, absolute not the nicest thing, it is in the normal .Net reference box, but do not set an import on it, reference it everytime you need because it has so much interfaces everything becomes slow when you try to declare something..
I hope this was the answer you needed?
Cor
|
Posted by Xander Zelders

|
|
|
|
0 Comments:
Post a Comment
<< Home