Q&A
HOME
Tips & Tech
Q&A
Discuss
Download
자유게시판
홍보 / 광고
구인 / 구직
LOGIN
회원가입
web메서드
WebBrowser1.Navigate(ComboBox1.Text, a,b,c,d);에서 파라미터
a,b,c,d,의 내용이 무엇인가요?
type만 정의되어 있고 그 의미가 설명된 책은 없네요.
꼭 가르쳐 주세요.
1
COMMENTS
글쎄요.
•
1999.05.28 00:35
MS의 MSDN라이브러리를 참조하셔요
여기예요.
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/methods/Navigate.asp#Navigate
다음은 위에서 가져온 영어원문입니다.
--------------------------------------------------------------------------------
Navigates to the resource identified by a Universal Resource Locator (URL)
or to the file identified by a full path.
Syntax
-----------------------------------
object.Navigate( URL [Flags,] [TargetFrameName,] [PostData,] [Headers])
Parameters
-----------------------------------
object
Required. An object expression that evaluates to an object in the Applies To list.
-----------------------------------
URL
Required. A string expression that evaluates to the URL, full path, or Universal
Naming Convention (UNC) location and name of the resource 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 constants or values.
navOpenInNewWindow 1 Open the resource or file in a new window.
navNoHistory 2 Do not add the resource or file to the history list. The new page replaces the current page in the list.
navNoReadFromCache 4 Do not read from the disk cache for this navigation.
navNoWriteToCache 8 Do not write the results of this navigation to the disk cache.
-----------------------------------
TargetFrameName
Optional. String expression that evaluates to the name of an HTML frame in URL
to display in the browser window. The possible values for this parameter are:
_BLANK Load the link into a new unnamed window.
_PARENT Load the link into the immediate parent of the document the link is in.
_SELF Load the link into the same window the link was clicked in.
_TOP Load the link into the full body of the current window.
A named HTML frame. If no frame or window exists that matches the specified target name, a new window is opened for the specified link.
-----------------------------------
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 to a program or script. 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 MicrosoftR Internet Explorer headers.
The headers can specify things like 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.
-----------------------------------
다음은 박후선님이 쓴 WebBrowser콘트롤 중에서 발췌한 것임.
Navigate 메쏘드를 이용한 새로운 위치의 네비게이트
WebBrowser의 가장 기본적인 이용은 Navigate 메쏘드를 통해 이루어진다. 언급한
바 있듯이 IE에서 지원하는 모든 파일을 로컬, 네트워크, 웹을 통해 억세스할 수
있다. Navigate 메쏘드의 원형은 다음과 같다.
procedure Navigate(const URL: WideString; var Flags, TargetFrameName,
PostData, Headers: OleVariant); safecall;
인자 URL에는 브라우즈할 위치를 넣는다. 웹상의 문서를 억세스할 경우는 URL을
적어주면 된다. TEdit등을 통해서 URL을 받아서 넣어주는 것이다.
WebBrowser 오브젝트는 특정 프레임에 결과를 디스플레이 할 수 있는 기능을 지
원하고 있다. 우선은 프레임을 이용한 문서를 Navigate 메쏘드를 통해 읽어온다.
이 후, Navigate를 호출 할 때 TargetFrameName을 지정해 주어 특정 프레임에 결
과가 표시되도록 만들면 된다.
일단 Navigate 메쏘드가 호출되면 LocationName, LocationURL등의 프로퍼티를 이
용해 현재 디스플레이된 위치에 대한 정보를 얻을 수 있다. 웹상이라면
LocationName에는 해당 HTML 페이지의 타이틀이 들어오고, LocaltionURL에는
HTML의 URL이 들어온다. 로컬이나 네트워크상이라면 해당 폴더나 파일의 전체 경
로명이 들어온다.
사용자가 하이퍼링크를 선택하면 HTTP transaction을 통해 HTTP Header와 HTTP
PostData를 프로그램에 전달한다. HTTP Header와 HTTP PostData는 인자로 주어진
OLEVariant형 PostData, Headers를 통해 지정하고 또 값을 받아온다.
Flags에는 특정 상황을 인자로 주거나 현재 상황을 받아오는데 이용하는데 , 다
음과 같은 값들의 조합으로 이루어진다.
─────────────────────────────────────
상수명(델파이에는없음) 값 의미
─────────────────────────────────────
navOpenInNewWindow 1 새로운 윈도우에 리소스를 연다.
navNoHistory 2 History기능을 이용하지 않는다. 즉,
새로운 페이지는 현재 페이지를 덮어
쓴다.
navNoReadFromCache 3 현재의 네비게이트를 디스크캐쉬에서
읽어오지 않는다.
navNoWriteToCache 4 현재의 네비게이트를 디스크캐쉬에 저
장하지 않는다.
─────────────────────────────────────
위의 상수는 델파이 내에서는 정의되어 있지 않으므로 따로 구성해서 사용하던지
아니면 상수값을 그대로 이용하면 된다.
0
0
삭제
수정
댓글
(NOTICE) You must be
logged in
to comment on this post.
Heaven
•
1999.05.28 14:55
5
COMMENTS
/
0
LIKES
BDE에러 코드 확인 부탁드립니다.
최석기
•
1999.05.28 17:49
Heaven
•
1999.05.28 18:03
최석기
•
1999.05.28 19:37
김현우
•
1999.05.28 22:19
Heaven
•
1999.05.29 11:47
임형호
1999.05.28 11:36
0
COMMENTS
/
0
LIKES
DB Rock 설정하는 법에 대하여 질문
최석기
•
1999.05.28 09:17
1
COMMENTS
/
0
LIKES
[자답]모뎀이 사용하는 port 알기
이정욱
•
1999.05.28 22:17
저역시 창문얘기에서 포트검사를 그렇게 했습니다. 왜냐하면 윈도우3.1을 지원해야 했기 때문이었죠. 포...
saint09
•
1999.05.28 09:00
1
COMMENTS
/
0
LIKES
StringGrid의 내용을 모두 지우는 방법?
최석기
•
1999.05.28 09:35
saint09 께서 말씀하시기를... > 안녕하세요. 스트링그리드에 내용을 기록하였습니다. 그리고 같은 스트링...
이대선
•
1999.05.28 07:12
1
COMMENTS
/
0
LIKES
api부분에 문제 입니다. 도와 주세요..
KJW
•
1999.06.04 06:50
이대선 께서 말씀하시기를... > 'db'를 검색해서 아래한글이나 노트패드로 결과 값을 > 보내려 합니다. ...
강경중
•
1999.05.28 04:46
1
COMMENTS
/
0
LIKES
다른 어플에 매게변수 보내기
안치봉
•
1999.05.28 05:46
강경중 께서 말씀하시기를... > 델파이 헬프에 항상 헬프를 외치는 초보 델피언 입니다. > > 델파이에...
강경중
•
1999.05.28 04:05
1
COMMENTS
/
0
LIKES
김영대님 봐 주세요....
김영대
•
1999.05.28 18:22
강경중 께서 말씀하시기를... > 먼저 이름을 잘못 알아 죄송합니다. > 그리고 김영대님의 올리신 자료들...
김태균
•
1999.05.28 03:19
1
COMMENTS
/
0
LIKES
Accessviolance error....
안치봉
•
1999.05.28 04:17
김태균 께서 말씀하시기를... > 음.... > > MDIForm에서 Childform을 동적 생성하고 삭제하고 있습니다...
박대석
1999.05.28 03:03
0
COMMENTS
/
0
LIKES
Tdblookupcomboboxdlg
델파이 사랑
•
1999.05.28 03:03
1
COMMENTS
/
0
LIKES
폼을 닫을때 호출하여 사용할 수 있는 함수는?
이정욱
•
1999.05.28 06:29
OnDestroy도 작동이 되고, OnClose도 작동이 됩니다. 하지만 둘 다 이미 그 폼자체가 사라지면 그 안에서 ...
김지건
1999.05.28 02:19
0
COMMENTS
/
0
LIKES
"Invalid field descriptor"를 아시는 분.....
조갑손
•
1999.05.28 02:06
1
COMMENTS
/
0
LIKES
ListBox와 FileListBox 관련해서...
신인재
•
1999.05.29 21:52
아래의 코딩을 참고하세요... procedure TForm1.Button1Click(Sender: TObject); var i : integer; ...
정윤옥
•
1999.05.28 01:17
1
COMMENTS
/
0
LIKES
(질문)ReWrite를 재호출시 File not open error 발생
안치봉
•
1999.05.28 04:23
정윤옥 께서 말씀하시기를... > [source] > procedure filesave; > var > filename: string; > f:...
세림
•
•
1999.05.27 23:38
1
COMMENTS
/
1
LIKES
web메서드
WebBrowser1.Navigate(ComboBox1.Text, a,b,c,d);에서 파라미터 a,b,c,d,의 내용이 무엇인가요? type만 정의되어 있고 그 의미가 설명된 책은 없네요. 꼭 가르쳐 주세요.
글쎄요.
•
1999.05.28 00:35
MS의 MSDN라이브러리를 참조하셔요 여기예요. http://msdn.microsoft.com/workshop/browser/webbrowser/r...
김동수
•
1999.05.27 23:28
1
COMMENTS
/
0
LIKES
StringGrid에서 테이블검색에 관해...
신인재
•
1999.05.28 01:53
쩝~~~ for ~ loop에서 query1.next가 빠졌네요... for do begin . operation.... . query1....
임성학
•
1999.05.27 23:20
1
COMMENTS
/
0
LIKES
DB 에러처리 방법좀...
한
•
1999.05.27 23:28
임성학 께서 말씀하시기를... > 퍼즐 프로그램을 짜려고 하는데, 입력상태를 받아들여 그 상태에 도달할때...
true
•
1999.05.27 23:17
1
COMMENTS
/
0
LIKES
image를 frame단위로 읽어올 수 있는 방법..
이정욱
•
1999.05.27 23:39
상당히 애매모호한 질문이네요... 파워러브 델파이 97년 8월호와 9월호를 참고해 보세요. 그쪽에 애니메...
최석기
•
1999.05.27 23:13
1
COMMENTS
/
0
LIKES
모뎀이 사용하는 prot 알기
이정욱
•
1999.05.27 23:36
아래처럼 하셔도 되지만 0000이 실제 모뎀을 뜻하는것인지는 알 수 없습니다. 특히 데이타맨같은것을깔면 ...
북해
•
1999.05.27 22:10
2
COMMENTS
/
0
LIKES
컴포넌트 만드는 방법..
한
•
1999.05.27 23:37
북해 께서 말씀하시기를... > 안녕하세요. 컴포넌트를 하나 만들고 싶은데, 컴포넌트를 만드는 방법에 대...
이정욱
•
1999.05.27 23:30
한델의 강의실에 가보시면 안치봉님께서 쓰신 컴포넌트에 대한 강좌가 있습니다. 북해 께서 말씀하시...
이현신
•
1999.05.27 22:10
2
COMMENTS
/
0
LIKES
하드 포멧해도 변하지 않는 시리얼넘버는?
한
•
1999.05.27 23:40
이현신 께서 말씀하시기를... > API 함수를 통한 시리얼 넘버는 하드를 포멧하거나 시스템적인 프로그램을...
이현신
•
1999.05.28 00:19
저도 GetVolumeInformation 를 사용해서 하드시리얼을 구햇읍니다. 그런데 포멧을 한후에 다시 구해보면 ...
세림
1999/05/27 23:38
Views
420
Likes
1
Comments
1
Reports
0
Tag List
수정
삭제
목록으로
한델 로그인 하기
로그인 상태 유지
아직 회원이 아니세요? 가입하세요!
암호를 잊어버리셨나요?
여기예요.
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/methods/Navigate.asp#Navigate
다음은 위에서 가져온 영어원문입니다.
--------------------------------------------------------------------------------
Navigates to the resource identified by a Universal Resource Locator (URL)
or to the file identified by a full path.
Syntax
-----------------------------------
object.Navigate( URL [Flags,] [TargetFrameName,] [PostData,] [Headers])
Parameters
-----------------------------------
object
Required. An object expression that evaluates to an object in the Applies To list.
-----------------------------------
URL
Required. A string expression that evaluates to the URL, full path, or Universal
Naming Convention (UNC) location and name of the resource 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 constants or values.
navOpenInNewWindow 1 Open the resource or file in a new window.
navNoHistory 2 Do not add the resource or file to the history list. The new page replaces the current page in the list.
navNoReadFromCache 4 Do not read from the disk cache for this navigation.
navNoWriteToCache 8 Do not write the results of this navigation to the disk cache.
-----------------------------------
TargetFrameName
Optional. String expression that evaluates to the name of an HTML frame in URL
to display in the browser window. The possible values for this parameter are:
_BLANK Load the link into a new unnamed window.
_PARENT Load the link into the immediate parent of the document the link is in.
_SELF Load the link into the same window the link was clicked in.
_TOP Load the link into the full body of the current window.
-----------------------------------
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 to a program or script. 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 MicrosoftR Internet Explorer headers.
The headers can specify things like 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.
-----------------------------------
다음은 박후선님이 쓴 WebBrowser콘트롤 중에서 발췌한 것임.
Navigate 메쏘드를 이용한 새로운 위치의 네비게이트
WebBrowser의 가장 기본적인 이용은 Navigate 메쏘드를 통해 이루어진다. 언급한
바 있듯이 IE에서 지원하는 모든 파일을 로컬, 네트워크, 웹을 통해 억세스할 수
있다. Navigate 메쏘드의 원형은 다음과 같다.
procedure Navigate(const URL: WideString; var Flags, TargetFrameName,
PostData, Headers: OleVariant); safecall;
인자 URL에는 브라우즈할 위치를 넣는다. 웹상의 문서를 억세스할 경우는 URL을
적어주면 된다. TEdit등을 통해서 URL을 받아서 넣어주는 것이다.
WebBrowser 오브젝트는 특정 프레임에 결과를 디스플레이 할 수 있는 기능을 지
원하고 있다. 우선은 프레임을 이용한 문서를 Navigate 메쏘드를 통해 읽어온다.
이 후, Navigate를 호출 할 때 TargetFrameName을 지정해 주어 특정 프레임에 결
과가 표시되도록 만들면 된다.
일단 Navigate 메쏘드가 호출되면 LocationName, LocationURL등의 프로퍼티를 이
용해 현재 디스플레이된 위치에 대한 정보를 얻을 수 있다. 웹상이라면
LocationName에는 해당 HTML 페이지의 타이틀이 들어오고, LocaltionURL에는
HTML의 URL이 들어온다. 로컬이나 네트워크상이라면 해당 폴더나 파일의 전체 경
로명이 들어온다.
사용자가 하이퍼링크를 선택하면 HTTP transaction을 통해 HTTP Header와 HTTP
PostData를 프로그램에 전달한다. HTTP Header와 HTTP PostData는 인자로 주어진
OLEVariant형 PostData, Headers를 통해 지정하고 또 값을 받아온다.
Flags에는 특정 상황을 인자로 주거나 현재 상황을 받아오는데 이용하는데 , 다
음과 같은 값들의 조합으로 이루어진다.
─────────────────────────────────────
상수명(델파이에는없음) 값 의미
─────────────────────────────────────
navOpenInNewWindow 1 새로운 윈도우에 리소스를 연다.
navNoHistory 2 History기능을 이용하지 않는다. 즉,
새로운 페이지는 현재 페이지를 덮어
쓴다.
navNoReadFromCache 3 현재의 네비게이트를 디스크캐쉬에서
읽어오지 않는다.
navNoWriteToCache 4 현재의 네비게이트를 디스크캐쉬에 저
장하지 않는다.
─────────────────────────────────────
위의 상수는 델파이 내에서는 정의되어 있지 않으므로 따로 구성해서 사용하던지
아니면 상수값을 그대로 이용하면 된다.