Re: AxShDocVw.AxWebBrowser.Navigate and object headers



Can you define "pass an object"?

Http headers are just string name/value pairs. If you can serialize
your object into a string, then I guess you could pass it in a header,
although the body (postData) would be more common (again, it would
need to be serialized). At the server you'd then just read the named
header from the Request, or the body, etc.

You might also note that in 2.0 there is a managed WebBrowser wrapper
in the System.Windows.Forms namespace.

What are you trying to do? There is a more object-based interaction
between a WebBrowser and a hosting application, but it is client-side
only - i.e. it allows your C# code and javascript code to talk to
eachother in both directions. It doesn't allow you to talk to the
server. Either regular http requests or web-services (SOAP etc) are
commonly used for this type of activity.

Marc


.



Relevant Pages

  • Passing vars in a link ?
    ... so they won't show up in the header. ... $data = serialize; ... First question: using this method the $data is passed via GET. ... chunk of the string is missing. ...
    (comp.lang.php)
  • Re: Is it possible for me to have an alert pop-up when I open a do
    ... them and clean up the whole header. ... Dim TheWeekOfStr As String ... After I enabled macros and changed the security level, as per Dave Peterson, ... I got almost what I wanted, except that the pop-up box contains the font ...
    (microsoft.public.excel.misc)
  • Re: Anyone interested in . . .
    ... there must *always* be an HPHP49-x header, ... which never means anything to other computers anyway. ... (this includes the ability to *receive* any file as a literal string, ...
    (comp.sys.hp48)
  • Re: Compile Error (ADO) Ron De Bruin
    ... Public Sub GetData(SourceFile As Variant, SourceSheet As String, _ ... Dim rsData As ADODB.Recordset 'THE ERROR IS ALWAYS HERE ... If Header = False Then ...
    (microsoft.public.excel.programming)
  • Re: Error With ADO (Starting to pull my hair out)
    ... 'It will copy the Header row also ... Public Sub GetData(SourceFile As Variant, SourceSheet As String, _ ... Dim rsData As ADODB.Recordset ...
    (microsoft.public.excel.programming)