VB로 WebBrowser 컨트롤의 HTML 제어
2008. 5. 30. 14:49
개발/VB
VB로 WebBrowser 컨트롤의 HTML 제어 작성자 : 손민창 작성일 : 2006/12/01 간간히 질문 올라오는것 같아서 간략하게 정리했습니다. WebBrowser 컨트롤을 이용해서 VB에서 웹페이지 보여줄때 그 웹페이지를 VB에서 제어하는 몇가지 예제입니다. (이 WebBrowser 컨트롤 이용하려면 Microsoft Internet Controls을 구성요소에서 ..
Internet Explorer Navigate 사용 팁
2008. 5. 28. 14:13
개발/VB
1. 기존의 창이 없을 경우만 새창 띄우기 Private WithEvents IE As InternetExplorer Private Sub Form_Load() Set IE = New InternetExplorer End Sub Private Sub IE_OnQuit() Set IE = Nothing End Sub Private Sub Command1_Click() If IE Is Nothing Then Set IE = New InternetExplorer End If IE.Navigate "http://www.devpia.com" IE.Visible = True End Sub Private Sub Form_Unload(Cancel As Intege..
비정상적 접근이 차단된 페이지 HTML소스 얻기
2008. 5. 27. 16:24
개발/VB
익스플로러 외에 브라우져의 접근이 차단되어있거나 세션등으로 막은 경우 헤더조작이 까다로울 수 있습니다. 저 같은 경우 첫페이지에서 세션에 어떤 값을 넣어 첫페이지를 접근한 후 접속한 것이 아닌 사용자를 차단하는 사이트에서 소스를 얻을 필요가 있었는데요. 빨리 테스트해봐야해서 C#으로 ..
VB 프로그래밍 팁
2008. 5. 27. 14:58
개발/VB
1. 동적으로 컨트롤을 생성하는 방법은 ? 폼위에 동적으로 컨트롤을 생성하여 사용하는 방법을 알고 싶습니다. VB 6.0을 사용하고 있다면 Form(UserControl, UserDocument) 객체의 Controls 컬렉션을 사용하면 됩니다. Controls 컬렉션에는 Add, Remove 등의 메소드가 있는데 이를 이용해 동적으로 생성할 수 있습니다. Creat..
[MSDN] HOWTO: Automate Internet Explorer to POST Form Data
2008. 5. 27. 14:55
개발/VB
HOWTO: Automate Internet Explorer to POST Form Data Last reviewed: January 19, 1998 Article ID: Q167658 The information in this article applies to: Microsoft ActiveX SDK, version 1.0 Internet Client SDK, versions 4.0, 4.01 Microsoft Internet Explorer (Programming), versions 3.0, 3.01, 3.02, 4.0 SUMMARY An automation controller such as Microsoft Visual Basic can automate Internet Explorer (IE) t..
[MSDN] Reference for Visual Basic Developers
2008. 5. 27. 12:10
개발/VB
Reference for Visual Basic Developers This section contains a reference guide for using the WebBrowser control with Microsoft Visual Basic. This reference covers all the supported properties, methods, and events associated with the WebBrowser and InternetExplorer objects. Objects InternetExplorer Controls a remote instance of Windows Internet Explorer through Automation. WebBrowser Adds browsing..
[MSDN] Reusing the WebBrowser Control
2008. 5. 27. 12:09
개발/VB
Reusing the WebBrowser Control The WebBrowser control adds browsing, document viewing, and data downloading capabilities to your applications. Applications using this control will allow the user to browse sites on the Internet's World Wide Web, as well as folders in the local file system and on a network. The WebBrowser control supports Web browsing through both point-and-click hyperlinking and ..
[VB] 문자열 상수
2008. 1. 2. 12:30
개발/VB
문자열 상수 코드의 어느 곳에서나 실제 값 대신 사용할 수 있는 상수는 아래와 같습니다. 상수 값 설명 vbCr Chr(13) 캐리지 리턴 vbCrLf Chr(13) & Chr(10) 캐리지 리턴-라인 피드 조합 vbFormFeed Chr(12) 폼 피드. Microsoft Windows에서는 사용되지 않습니다. vbLf Chr(10) 라인 피드 vbNewLine Chr(13) & Chr(10) 또는 Chr(10) 각 플랫..