Results 1 to 2 of 2

Thread: DHTML QUESTION

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Posts
    81
    How do i navigate to another page or open a file...

    example

    I tried
    INET1.openurl = "\\crystal\dir\reportname.rpt"
    but it would not open it.

    thanks
    Brooke
    -------------------------
    There is never only one right answer. That is the magic of programming.
    -------------------------

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    if your talking about the WebBrowser control then its:

    WebBrowse1.Navigate Sourcefile


    This may be of help below:

    object.Navigate url, flags, TargetFrameName, PostData, Headers

    The GetProperty method syntax has these parts:
    Part Description
    object An object expression that evaluates to an object in the Applies To list.
    Url Required. A string expression that evaluates to the URL of the resource to display, or the full path of the file to display.
    Flags Optional. A constant or value that specifies whether to add the resource to the history list, whether to read from or write to the cache, and whether to display the resource in a new window. It can be a combination of the following values. See Settings below.
    TargetFrameName Optional. A string expression that evaluates to the name of a frame in which to display the resource.
    PostData Optional. Data to send to the server during the HTTP POST transaction. For example, the POST transaction is used to send data gathered by an HTML form. If this parameter does not specify any post data, the Navigate method issues an HTTP GET transaction. This parameter is ignored if URL is not an HTTP URL.
    Headers Optional. A value that specifies additional HTTP headers to send to the server. These headers are added to the default Internet Explorer headers. The headers can specify such things as the action required of the server, the type of data being passed to the server, or a status code. This parameter is ignored if URL is not an HTTP URL.



    DocZaf
    {;->

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