Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

delphi ÉèÖôúÀíÎÊÌâ ¼±

ÍøÉÏ¿´Á˺ܶàÌû×Ó ·½·¨¶¼Ò»Ñù  µ÷ÊÔÆðÀ´¶¼²»ÐÐ
ËäÈ» IE Ñ¡ÏîÖÐÒѾ­Íê³ÉÁË ´úÀíµÄÉèÖÃ
µ«ÊÇ ·ÃÎÊÆðÀ´»¹ÊDz»ÐÐ Æ©Èç ·ÃÎÊwww.ip138.com
ÒѾ­ÊDZ¾»úIP

ÎҵĴúÂë ¾ÍÊǸù¾ÝÍøÉÏÆÕ±éµÄ´úÂë ÐÞ¸ÄµÄ Çë¸ßÊÖ¹ýÄ¿
procedure TForm1.Button1Click(Sender: TObject);
var sProxy: string;
      Pinfo: INTERNET_PROXY_INFO;
    reg: Tregistry;
    begin
    Pinfo.dwAccessType := INTERNET_OPEN_TYPE_PROXY;
    Pinfo.lpszProxy := pchar(trim(edit1.Text));
    InternetSetOption(nil, INTERNET_OPTION_PROXY, nil, SizeOf(PInfo));
    InternetSetOption(nil, INTERNET_OPTION_SETTINGS_CHANGED, nil, 0);
    reg:=Tregistry.Create;
    try
      reg.RootKey := HKEY_CURRENT_USER;
      if reg.OpenKey('\Software\Microsoft\Windows\CurrentVersion\Internet Settings', true ) then
      begin
      reg.Writestring('ProxyServer', edit1.Text);
      reg.WriteInteger('ProxyEnable', integer(true));
      end
      finally
        reg.CloseKey;
          reg.free;
          webbrowser1.Navigate('http://www.google.com');
    &n


Ïà¹ØÎÊ´ð£º

СµÜ²»»áDELPHI£¬Çë´óÏÀÃÇ°ï¸öæ

Õâ¸öÊÇÀ¹½Ø°´¼üÏûÏ¢²¢²âÊÔÊÇ·ñΪENTER¼ü¡£
  begin
    case wParam of
      WM_KEYDOWN:
      fEatKeystroke := (p.vkCode = VK_RETURN);
  & ......

DelphiÖд¦ÀíSql±íµÄÎÊÌ⣡

    ÏÖÔÚÊý¾Ý¿âÖÐÓÐÒ»Õűí´æÔÚ£¬ÎÒÏëͨ¹ýDelphiÖ´ÐÐÒ»¸öSqlÓï¾ä£¨±ÈÈç¡°select column1 from table1¡±£©£¬ÎÒÔõô²ÅÄܽ«Õâ¸ösqlÓï¾äµÄÖ´Ðнá¹ûдµ½Êý¾Ý¿âÖÐÒ»ÕÅÒѾ­´æÔڵıíÖÐÄØ£¿ÕâÖÖ·½·¨¾Í²»ÒªËµÁË£ºÓÃAD ......

¼òµ¥µÄdelphi´úÂ룬ÇëÀÏÄñ¸ø²ËÄñÖ¸Õý£¡

ÎҵĴúÂ룬´ó¼Ò°ï¿´ÏÂÄÄÀï³ö´íÁË£¡ÎÒÊÇÐÂÊÖÇë¸÷λ¸ßÈËÖ¸½Ì£¡
var
zbwnd,qtwnd:=hwnd;
st:string;
st:='hao123£­£­ÎÒµÄÉÏÍøÖ÷Ò³ - Microsoft Internet Explorer'£»
zbwnd:=findwindow(nil,pch ......

¸ß·ÖÇ󣺹ØÓÚdelphiµÄÄÚÁª»ã±àµÄÎÊÌ⣡

СµÜдÁËÒ»¸ö³ÌÐò µ«ÊǼ׷½ÒªÇóÌá¸ßÖ´ÐÐËÙ¶È ¼×·½Ð´³öÁ˼¸¸öÖ÷Òªº¯Êý ÒªÇóÓÃÄÚÁª»ã±àʵÏÖ ÓÚÊÇСµÜÓ÷µ»ã±àÈí¼þ²é¿´Á˼¸¸ö¹Ø¼üº¯ÊýµÄ·´»ã±à´úÂë ÓÚÊÇ¿ªÊ¼ÄÚÁª»ã±à  ¿ªÊ¼¼¸¸ö¶¼Ã»ÓÐÎÊÌâ ¿ÉÊǵ½ÁËÒ»¸öº¯Êý¾Í²»ÐÐÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ