Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Can u choose a way to do this?

Can u choose a way to do this?

Scheduled Pinned Locked Moved C / C++ / MFC
c++htmldatabasecomsysadmin
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mahesh Perumal
    wrote on last edited by
    #1

    I have some(not actually few) html files that contain forms.I have a task to accomplish in this. The task is, i get a string (typed by user while filling the form) and need to do a database lookup (through ODBC) and apply some algorithm(right now it is a dll written in VC++) to convert the data to the required form. The data typed by the user should go through this stage before getting submitted to the server. What I want now is, I am struggling to find the correct way of doing it. Can it be an ActiveX control in VC? Then I need to sign it before using. Can I create a ATL HTML Control? But can other part of html call the function of this control (as like ActiveX)? I need to learn more abt that 'window.external', i suppose. And what else can I do? Thanx in advance, Mahesh

    D 1 Reply Last reply
    0
    • M Mahesh Perumal

      I have some(not actually few) html files that contain forms.I have a task to accomplish in this. The task is, i get a string (typed by user while filling the form) and need to do a database lookup (through ODBC) and apply some algorithm(right now it is a dll written in VC++) to convert the data to the required form. The data typed by the user should go through this stage before getting submitted to the server. What I want now is, I am struggling to find the correct way of doing it. Can it be an ActiveX control in VC? Then I need to sign it before using. Can I create a ATL HTML Control? But can other part of html call the function of this control (as like ActiveX)? I need to learn more abt that 'window.external', i suppose. And what else can I do? Thanx in advance, Mahesh

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      I would be inclined to write an ISAPI DLL. That assumes, of course, that you have access to the server to put such a file in place.

      M 1 Reply Last reply
      0
      • D David Crow

        I would be inclined to write an ISAPI DLL. That assumes, of course, that you have access to the server to put such a file in place.

        M Offline
        M Offline
        Mahesh Perumal
        wrote on last edited by
        #3

        Thanx for ur interest, DavidCrow, The ISAPI DLL will be running in Server. right? For every string, (every field of form) it has to goto server and get it done. (U may argue that I need database look-up and its not possible to have that in every client. But this application is for Intranet and i am planning for Oracle server and all the clients connecting through the ODBC) If u assume there is no databse look-up, what would u be inclined to do? Once again, Thank u so much, Mahesh

        D 1 Reply Last reply
        0
        • M Mahesh Perumal

          Thanx for ur interest, DavidCrow, The ISAPI DLL will be running in Server. right? For every string, (every field of form) it has to goto server and get it done. (U may argue that I need database look-up and its not possible to have that in every client. But this application is for Intranet and i am planning for Oracle server and all the clients connecting through the ODBC) If u assume there is no databse look-up, what would u be inclined to do? Once again, Thank u so much, Mahesh

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Mahesh Perumal wrote: The ISAPI DLL will be running in Server. right? An ISAPI filter is a DLL that runs on an ISAPI-enabled HTTP server to filter data traveling to and from the server. The filter registers for notification of events, such as logging on or URL mapping. When the selected events occur, the filter is called, and you can monitor and change the data (on its way from the server to the client or vice versa). ISAPI filters can be used to provide enhanced logging of HTTP requests (for example, to track who is logging on to your server), custom encryption, custom compression, or additional authentication methods.

          M 1 Reply Last reply
          0
          • D David Crow

            Mahesh Perumal wrote: The ISAPI DLL will be running in Server. right? An ISAPI filter is a DLL that runs on an ISAPI-enabled HTTP server to filter data traveling to and from the server. The filter registers for notification of events, such as logging on or URL mapping. When the selected events occur, the filter is called, and you can monitor and change the data (on its way from the server to the client or vice versa). ISAPI filters can be used to provide enhanced logging of HTTP requests (for example, to track who is logging on to your server), custom encryption, custom compression, or additional authentication methods.

            M Offline
            M Offline
            Mahesh Perumal
            wrote on last edited by
            #5

            Thanx DavidCrow, I thought something like "http://myserver/isapilib.dll?str='fieldvalue'" to get the output string. You say that, without changing anything in the html, I can write my isapi dll that will catch all the strings and convert when the form is submitted. right? It seems good in the way that it doesn't require me to change the htmls. I look more into this and get back to u with the progress. Thank u so much, Mahesh

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups