본문 바로가기

코드34

prototype 1.6에서 SelectBOX 생성 2009. 3. 7.
ServletFilter를 통한 URI 재구성 (Blog처럼) package com; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.ServletRequest; impo.. 2009. 2. 22.
printStackTrace 2008. 9. 2.
DoCapture(IHTMLElement *ele, IViewObject2 *vObj, int width, int height, int cwidth, int cheight, int wd, int hd) void __fastcall TForm1::Button1Click(TObject *Sender) { CppWebBrowser1->Navigate(WideString(Edit1->Text)); } //--------------------------------------------------------------------------- void __fastcall TForm1::Button2Click(TObject *Sender) { IViewObject2 *vObj; IHTMLElement2 *ele2; IHTMLElement2 *ele_5; IHTMLDocument2 *doc2; IHTMLElement *ele; IHTMLElement *ele_4; IHTMLDocument3 *doc3; long bHe.. 2008. 8. 19.
TShellWindows void __fastcall TForm1::Button1Click(TObject *Sender) { TShellWindows *Sh = new TShellWindows(NULL); try { for(int i = 0; i Count; i++) { if(Sh->Item(i) == NULL) continue; Draw(Sh->Item(i)); break; } } __finally { delete Sh; } } //--------------------------------------------------------------------------- void __fastcall TForm1::Draw(IDispatch *Idisp) { IWebBrowser2 *IE = (IWebBrowser2 *)N.. 2008. 8. 19.
TInternetExplorer ie = new TInternetExplorer(NULL); ie->OnStatusTextChange = IEStatusTextChange; ie->Visible = true; ie->Navigate(WideString("http://www.sonystyle.co.kr")); ie->Free(); 2008. 8. 14.