Capture event from server?

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Capture event from server?

    I don't know whether I've categorized this question
    correctly. My users are required to use sombody else's web
    site to send data to their web site's database. We also
    need to track the same data locally in our database
    (MSAccess converting to SQL Server 2000). The data creates
    a new record in both databases. To eliminate redundant
    data entry, a button in my VB6 app currently "pushes" data
    from fields in the app to the other party's web form. The
    form's submit button sends the data to the other party's
    database. My app intercepts the click event of the submit
    button and stores the data in our database. The other
    party's database (or asp web app, not sure) then returns a
    message box if the data has been successfully entered into
    their database. This solution works most of the time.
    However, there are times when the data gets stored in our
    database, but never reaches the other party's database.
    Effectively, half of a transaction. A better solution
    would be to store the data in our database from the OK
    button of the message box that is returned after the data
    is entered into the other party's database. Is this
    possible, i.e., to trigger an event from a message box
    that is returned from the web app or its database? Is
    there another approach that would prevent data from
    ocassionally being entered into only one database?
    Paul Guest

  2. Similar Questions and Discussions

    1. How to capture the save event of PDF documents
      I'm trying to create a simple plugin which captures the Save event of PDF documents. I register for the Save event in the following way: ACCB1...
    2. How to capture CheckChanged event from Radiobutton in Datagrid?
      I have a radio button that I have inserted into a datagrid via a TemplateColumn. I need to know when the checked property of the radiobutton has...
    3. Urgent: Event executed on server and data which is received by that event sent to the client.
      Hi I am creating a web-based instant messaging application using asp.net. I have a DLL of which I create an object. This object has some...
    4. Capture CheckBox Click Event
      I have a datagrid with a checkbox column. The column is bound to adatabase, and I have no problem capturing a click event on the checkbox using the...
    5. Capture client side text change event for TextBox
      I have a web form A that contains a TextBox. A pop up window started by my form A will return a value and put it into the TextBox. What I need to...
  3. #2

    Default Re: Capture event from server?

    How are you sending data to the web-site?
    If you are using a component in your VB app to do an HTTP POST then just
    parse the returned text to determine if the update was successful.

    --
    Mark Schupp
    Head of Development
    Integrity eLearning
    [url]www.ielearning.com[/url]


    "Paul" <pauldana@selfinc.com> wrote in message
    news:0da901c38e6d$a65a48a0$a301280a@phx.gbl...
    > I don't know whether I've categorized this question
    > correctly. My users are required to use sombody else's web
    > site to send data to their web site's database. We also
    > need to track the same data locally in our database
    > (MSAccess converting to SQL Server 2000). The data creates
    > a new record in both databases. To eliminate redundant
    > data entry, a button in my VB6 app currently "pushes" data
    > from fields in the app to the other party's web form. The
    > form's submit button sends the data to the other party's
    > database. My app intercepts the click event of the submit
    > button and stores the data in our database. The other
    > party's database (or asp web app, not sure) then returns a
    > message box if the data has been successfully entered into
    > their database. This solution works most of the time.
    > However, there are times when the data gets stored in our
    > database, but never reaches the other party's database.
    > Effectively, half of a transaction. A better solution
    > would be to store the data in our database from the OK
    > button of the message box that is returned after the data
    > is entered into the other party's database. Is this
    > possible, i.e., to trigger an event from a message box
    > that is returned from the web app or its database? Is
    > there another approach that would prevent data from
    > ocassionally being entered into only one database?

    Mark Schupp Guest

  4. #3

    Default RE: Capture event from server?

    Hi Paul,

    How did you embed the web page in your VB application, with a webbrowser
    control? How did the third party web page return a Message Box to yuor
    application?

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

  5. #4

    Default RE: Capture event from server?

    I used a webbrowser control in my application. I don't
    know what generates the message from the other party's web
    site. It resembles a message box, though it may be
    generated some other way.
    >-----Original Message-----
    >Hi Paul,
    >
    >How did you embed the web page in your VB application,
    with a webbrowser
    >control? How did the third party web page return a
    Message Box to yuor
    >application?
    >
    >Luke
    >Microsoft Online Support
    >
    >Get Secure! [url]www.microsoft.com/security[/url]
    >(This posting is provided "AS IS", with no warranties,
    and confers no
    >rights.)
    >
    >.
    >
    pauldana@selfinc.com Guest

  6. #5

    Default RE: Capture event from server?

    I think you may add the code in the webcontrol's DocumentComplete event,
    When you submit the data to the third party web page, add it return back,
    this event will be fired.

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

  7. #6

    Default RE: Capture event from server?

    Hello,

    If my suggestion is not clear or you didn't think it can resolve the
    problem, please post your comments here. I will continue to follow up on
    this issue.

    Thanks,

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139