Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo
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



 
Previous Posts
    - Get filenames
    - Simple Datagrid question
    - How to quit an excel object
    - Saving ANSI Character into SQL Server's varchar fi...
    - How to play a song with VB.NET
    - Dropdown Form menu.
    - .NET Sockets
    - Bound Data Class
    - Using a variable in an expression
    - How to hande events to control arrays

Archives
    - 08/01/2004 - 08/08/2004
    - 08/08/2004 - 08/15/2004
    - 08/15/2004 - 08/22/2004
    - 08/22/2004 - 08/29/2004
    - 08/29/2004 - 09/05/2004
    - 09/05/2004 - 09/12/2004
    - 09/12/2004 - 09/19/2004
    - 09/19/2004 - 09/26/2004
    - 09/26/2004 - 10/03/2004
    - 10/03/2004 - 10/10/2004
    - 01/02/2005 - 01/09/2005
    - 01/09/2005 - 01/16/2005
    - 01/30/2005 - 02/06/2005
    - 01/01/2006 - 01/08/2006


Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland