-
Please help me in this
Hello all,
Please me help me in this.
I want to make a web page which will take customer information.
Can I do it in VB? If yes can anyone give me an idea how
Should I use DHTML or ActiveX Document
And other thing is, as soon as customer clicks on the button all information should be e mailed to me.
Any ideas
Thanks in advance
-
Sorry that it took so long. Here is the easiest way.
Code:
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
</head>
<body>
<form method="POST" action="mailto:[email protected]">
<table border="1" width="100%" height="138">
<tr>
<td width="50%" height="25">Your Name</td>
<td width="50%" height="25"><input type="text" name="txtName" size="20"></td>
</tr>
<tr>
<td width="50%" height="19">Address</td>
<td width="50%" height="19"><input type="text" name="txtAddress" size="20"></td>
</tr>
<tr>
<td width="50%" height="19">Phone</td>
<td width="50%" height="19"><input type="text" name="txtPhone" size="20"></td>
</tr>
<tr>
<td width="50%" height="26">Email</td>
<td width="50%" height="26"><input type="text" name="txtEmail" size="20"></td>
</tr>
<tr>
<td width="100%" height="19" colspan="2">
<p align="center"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></td>
</tr>
</table>
</form>
</body>
</html>
-
Thanks a lot,
But can you tell me the code how can I do this in VB. And the code you gave me I want to put under submit button in my form.
-
1 Attachment(s)
Ok here it is. It works with the users email. Change the email address where it's going> It's really simple.
-
Thank you
Thank you
Thank you
Thank you
-
Is that what you needed?
Remember this runs on the users machine so he has to have an email address or something. You can do it on the server side. What has to be done is that the server receiving the email request needs an email address and you would create this as a component and run it on the server side. If you need an example i will create one.
-
Please JJ, that will be a great help. You have been wonderful help so far.
Thanks a lot in advance
-
And one more thing I want to ask that, will it always use my pop mail account for sending emails?
-
Hello Jortiz,
One thing I want to ask you that is there any way we can do all the things in HTML file, I mean what if I dont wanna use the ActiveX EXE.
Thanks
-
Ok Check this out. I found this article. It has all the code that you need to email from vb.dll through asp. Now based on your last post yeah you can open MS Frontpage and then create a form go to form properties and set the email address all of the fields will goto the email specified. The IIS Server has to be set up with an email address.
http://support.microsoft.com/support.../Q176/9/14.ASP
-
Thank you very much, I will take a look to your recent post.
Thanks a lot
-
Please tell me a way to do this in DHTML(Visual Basic)
-