Results 1 to 13 of 13

Thread: Please help me in this

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254

    Unhappy 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
    Ideas are dime a dozen.
    People who put them into action are priceless.

  2. #2
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    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>

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    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.
    Ideas are dime a dozen.
    People who put them into action are priceless.

  4. #4
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    Ok here it is. It works with the users email. Change the email address where it's going> It's really simple.
    Attached Files Attached Files

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    Thank you
    Thank you
    Thank you
    Thank you
    Ideas are dime a dozen.
    People who put them into action are priceless.

  6. #6
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    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.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    Please JJ, that will be a great help. You have been wonderful help so far.

    Thanks a lot in advance
    Ideas are dime a dozen.
    People who put them into action are priceless.

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    And one more thing I want to ask that, will it always use my pop mail account for sending emails?
    Ideas are dime a dozen.
    People who put them into action are priceless.

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    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
    Ideas are dime a dozen.
    People who put them into action are priceless.

  10. #10
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    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

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    Thank you very much, I will take a look to your recent post.
    Thanks a lot
    Ideas are dime a dozen.
    People who put them into action are priceless.

  12. #12

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    Please tell me a way to do this in DHTML(Visual Basic)
    Ideas are dime a dozen.
    People who put them into action are priceless.

  13. #13

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    Anyone please???
    Ideas are dime a dozen.
    People who put them into action are priceless.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width