CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Location
    MN, USA
    Posts
    1

    IIS difficulties

    I'm currently learning IIS development with Visual Basic 6. What I am trying to do is figure out how to interact between the application and the web page, i.e. clicking a submit button which relays information to the IIS application which, in turn, sends a proper respones back to the user.

    So, my question. If I create a simple event in a Webclass under a templated HTML page, how do I tell the submit button to access the application and run that event?

    Thank you in advance for ANY help that you may bestow upon me.

    --Daniel


  2. #2
    Join Date
    Jul 2001
    Posts
    5

    Re: IIS difficulties

    In the template and form header u add a tag say:
    <form action="<wc@urlDoIt></wc@urlDoIt>" method="post>
    and the button within the form:
    <input type="submit" name="whatever" value="Test">

    and in the processTag for that template u then type
    If TagName = "wc@urlDoIt" Then
    TagContents = URLFor(YourWebItem, "event")

    By doing this the tag <wc@urlDoIt> is replaced by the correct urlf or the function .
    If u dont understand u can ask again


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

Featured