µ÷ÊÔJavaScript/VB Script½Å±¾³ÌÐò£¨IEƪ£©
JavaScript/VB Script½Å±¾³ÌÐòÒ»°ãÓÐÁ½ÖÖÖ´Ðз½Ê½£¬Ò»ÖÖÊÇǶÈëÔÚËÞÖ÷³ÌÐòÀïÃæÖ´ÐУ¬±ÈÈçÔÚIEä¯ÀÀÆ÷ÀïÃæÖ´ÐУ»ÁíÍâÒ»ÖÖ£¬ÔÚ×ÊÔ´¹ÜÀíÆ÷ÀïÃæË«»÷Ö´ÐУ¨ËäÈ»»¹ÊÇͨ¹ýÁíÍâÒ»¸ö³ÌÐò½âÊÍÖ´ÐУ¬µ«ÊǸøÈ˵ĸоõ±Ï¾¹ÊÇÖ±½ÓÔËÐУ©¡£
ÕâÁ½ÖÖ·½Ê½£¬¶¼¿ÉÒÔʹÓÃVisual StudioÀ´½øÐе÷ÊÔ£¬ÏÈ¿´´ó¼ÒÓõñȽÏƵ·±µÄÍøÒ³½Å±¾³ÌÐòµÄµ÷ÊÔ£º
1. Òªµ÷ÊÔÍøÒ³ÀïÃæµÄ½Å±¾³ÌÐò£¬µ÷ÊÔÆ÷ÐèÒªËÞÖ÷³ÌÐò—ÕâÀïÒ²¾ÍÊÇIEµÄÖ§³Ö£¬Êµ¼ÊÉÏËùÓеĽű¾³ÌÐò½âÊÍÆ÷¶¼ÊµÏÖÁËÒ»¸öCOMµÄµ÷ÊÔ½Ó¿Ú¡£µ÷ÊÔÆ÷ͨ¹ý²éѯ½âÊÍÆ÷µÄÕâ¸ö½Ó¿Ú£¬¿ÉÒÔÉèÖöϵ㣬²éѯ±äÁ¿ÒÔ¼°²¶×½Òì³££¬µ±È»£¬²éѯµ½Õâ¸ö½Ó¿Ú£¬ÐèÒªËÞÖ÷³ÌÐòͬÒâ……ÖÁÓÚÈçºÎʵÏÖÕâ¸ö½Ó¿Ú£¬ÎÒÃÇ»áÔÚÒÔºóµÄÎÄÕÂÀïÃæ½²µ½¡£
2. ĬÈÏÇé¿öÏ£¬IEÊǽ«½Å±¾µ÷ÊÔÖ§³Ö¹¦Äܹرյģ¬Òò´ËÄãÐèÒªÏÔʾµØ´ò¿ªËü¡£´ò¿ªIE£¬µã»÷“¹¤¾ß”—“Internet Ñ¡Ï¬ÔÚ“Internet Ñ¡Ïî”ÀïÃæÑ¡Ôñ¸ß¼¶Ò³Ç©£¬ÔÚ“ÉèÖÔÁбíÀïÃ棬ÕÒµ½“½ûÓýű¾µ÷ÊÔ£¨Internet Explorer£©”Ñ¡ÏËüĬÈÏÊǹ´Ñ¡Éϵė½«Ëü¹´µô¡£
3. ʹÓÃIE´ò¿ªÒ»¸öеÄÍøÒ³£¬ÎÞÂÛÊÇÒ»¸öÔ¶³ÌµÄ£¬»òÕß±¾µØµÄ£¨´Ó±¾µØÓ²ÅÌ´ò¿ª£©ÍøÒ³¡£ÀýÈçÏÂÃæÒ»¸öÍøÒ³£¬Áí´æΪtest.html£º
1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2. <html xmlns="http://www.w3.org/1999/xhtml">
3. <head>
4. <title>JavaScriptµ÷ÊÔ</title>
5. <script language=javascript>
6. function onload() {
7. var test = unescape("http://www.google.com");
8. alert(test);
9. }
10. </script>
11. </head>
12. <body onload="onload()">
13. </body>
14. </html>
4. Æô¶¯Visual Studio£¬µã»÷VS²Ëµ¥ÀïÃæµÄ“¹¤¾ß”—“¸½¼Óµ½½ø³Ì”²Ëµ¥£¬´ò¿ª“¸½¼Óµ½½ø³Ì”´°¿ÚÀïÃæ¡£Visual StudioÆäʵ֧³ÖºÜ¶àÖÖµ÷ÊÔģʽ£¬µ÷ÊÔC++£¨native£©³ÌÐò£¬µ÷ÊÔ.NET£¨Íйܣ©³ÌÐò£¬µ÷ÊԽű¾³ÌÐò£¬µ÷ÊÔSilverlight³ÌÐòÒÔ¼°µ÷ÊÔSQL´æ´¢¹ý³Ì¡£
Ïà¹ØÎĵµ£º
±¾³ÌÐòÓÐÒ»²Ëµ¥¿ªÊ¼£¬ÀïÃæÓвéѯ£¬É¾³ý£¬Ð޸ģ¬Ìí¼Ó£¬³ÌÐò²»Ò»Ò»Áгö£¬Ö»Ð´³ö»ù±¾µÄ¹ý³Ì£¬Á¬½ÓÊý¾Ý¿â²ÉÓñê׼ģ¿é£º
'Public publicstr As String
Public conn As ADODB.Connection
Public rs As ADODB.Recordset
Public Sub main() 'Êý¾Ý¿âÁ¬½Ó¹²Ïíº¯Êý
Set conn = New ADODB.Connect ......
VBÖе÷ÓÃMSN 6.2 APIº¯Êý
¡¡¡¡Á˽âÕâ·½ÃæÄÚÈݵÄÆðÒòÊÇÔçÉÏÓÐλÅóÓÑÈÃÎÒ¿´Ò»¶Î¹ØÓÚMSN¿ª·¢³ÌÐò£¬ÏÖÔÚÎÞ·¨ÔËÐУ¬ÎÒ´ò¿ª¹¤³Ì·¢ÏÖÊÇÕë¶Ô4.7±àдµÄ£¬¶øËûµÄ¼ÆËã»ú°²×°µÄ6,2£¬ÒòΪÎÒÒ²ÓÃ6.2ËùÒÔÎÒÔÚVBÖв鿴ÁËһϣ¬·¢ÏÖÊÇȱÉÙMessenger Type Library¡£µ«ÊǶàÁËMessenger API Type Library£¬¿ÉÄÜÊÇ×öΪMessenger Type LibraryµÄÌ ......
È¥ÄêÔøд¹ýһƪ²©ÎÄ£¬Ãû³Æ½Ð¡¶ÓÃVBÎÞ´°¿Ú͸Ã÷Usercontrol±àд͸Ã÷¸¡¶¯°´Å¥¡·£¬¸ÃÎÄÓÐÒ»¸ö¹ÛµãÊÇ´íÎóµÄ£¬¼´Í¸Ã÷ÎÞ´°¿ÚUsercontrol²»Ö§³ÖÉè¼ÆʱµãÑ¡¡£Æäʵ£¬Í¨¹ýÔÚUserControl_HitTest¹ý³ÌÀï¼ÓÈëHitResult = vbHitResultHitÓï¾ä£¬¾Í¿ÉÒÔʵÏÖÉè¼ÆʱµÄµãÑ¡ÁË£¬Îª´Ë£¬Ð޸ĴúÂëÈçÏ£º
'* ******************* ......
Public Sub DGToExcel(DataGrid1 As DataGrid, Optional ProgressBar1 As ProgressBar, Optional ByVal intFirst As Integer, Optional ByVal intLast As Integer, Optional strTitle As String)
'--½«DataGridµ¼³öÖÁExcel,ProgressBar1Ϊ½ø¶ÈÌõ,intFirstΪ´ÓÄÄÒ»ÁпªÊ¼´òÓ¡,intLastΪ´òÓ¡µ½ÄÄÒ»ÁÐ
On Error Resume ......