<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello to all<br>
    </p>
    <p>I don't know the difference but I can give you the results of my
      tests with the WebUploader. <br>
      Sorry! I don't have a mini project. <br>
      <br>
      The WebUploader control let the user copy a file from the user's
      computer to the remote server. <br>
      <br>
      One essential thing to know is that you will need an already
      working session to use the WebUploader control! Without that, it
      will not work at all! And it's confusing. <br>
      <br>
      So in WebForm_Open() event, make something like this :  <br>
      Session["test"] = "test" ' force the session to create everything
      in background<br>
      <br>
      In WebUploader1_Upload() event, store the values in Session for
      later use : <br>
      Session["userside_filename"] = WebUploader1.File<br>
      Session["serverside_fullpath"] = WebUploader1.Path<br>
      <br>
      Later you can use it for example like this :<br>
      WebTextAreaContent.Clear()<br>
      WebTextAreaContent.Text =
      File.Load(Session["serverside_fullpath"])<br>
      <br>
      Now, i have a problem with this control: I don't know why but i
      cannot reset the WebUploader after using it. I can show another
      embedded webform and that will work but there must be another way.
      <br>
    </p>
    <p>David<br>
      <br>
      <br>
    </p>
    <div class="moz-cite-prefix">Le 27.11.19 à 10:25, Hans Lehmann a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:44bb6391-e42b-94cc-035f-38e7d180da79@gambas-buch.de">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <font face="DejaVu Sans Mono">Hello,<br>
        <br>
        After reviewing all relevant source texts for the component
        gb.web.form, the following comments arise:<br>
        <br>
        - For what purpose can the two classes 'WebUploadArea' and
        'WebUploader' be used? <br>
        - Since the documentation for both classes is poor, only a
        commented mini-project could help. <br>
        <br>
        Hoping for help <br>
        <br>
        Hans</font> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">
----[ Gambas mailing-list is hosted by <a class="moz-txt-link-freetext" href="https://www.hostsharing.net">https://www.hostsharing.net</a> ]----
</pre>
    </blockquote>
  </body>
</html>