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

ÓÃVB±àдActiveX DLLʵÏÖASP±à³Ì

ASPÊÇÄ¿Ç°Ò»ÖÖ¹ãΪӦÓõÄÓÃÀ´¿ìËÙ¹¹½¨¶¯Ì¬WEBÕ¾µãµÄ±à³ÌÓïÑÔ£¬Ä¬ÈϵÄÄÚÖÿª·¢ÓïÑÔÊÇVBScript£¬ÓÉÓÚASPºÍ΢ÈíWindowsϵÁвÙ×÷ϵͳµÄ½áºÏ·Ç³£µÄºÃ£¬Ê¹µÃASPÒѾ­³ÉΪÁËNT¿ª·¢Æ½Ì¨ÉÏÃæ½øÐÐWEB¿ª·¢µÄÊ×Ñ¡ÓïÑԺͻ·¾³¡£
ËûÓÐ׿òµ¥Ò×ѧ£¬·½±ã¿ìËÙ¿ª·¢µÄÖÖÖÖÓŵ㣬µ«ÊÇËûÒ²ÓÐ×ÅÖÂÃüµÄÈõµã£¬¾ÍÊÇËûÊǽű¾ÓïÑÔ½âÊÍÖ´Ðеģ¬ËٶȻáÊܵ½Ò»¶¨µÄÓ°Ï죬¸üΪ¹Ø¼üµÄÊÇ£¬Ê¹ÓÃASPÀ´¿ª·¢Íê³ÉÒ»¸öÏîÄ¿Ö®ºó£¬Õû¸öÏîÄ¿ÔÚ½»¸¶¿Í»§Ê¹ÓõÄʱºò£¬ÊÇ»áÁ¬´øËùÓеÄASP½Å±¾Ô´´úÂëµÄ£¬Ò²¾ÍÎÞ·¨½«ÉÌÒµ³ÌÐò±£ÃÜÁË£¬Ô´´úÂëй©»á¸ø×Ô¼ºÔì³ÉºÜ´óµÄËðʧ£¬ËäȻ΢ÈíÒ²ÏàÓ¦µÄÍƳöÁËÓÃÀ´¼ÓÃÜASP³ÌÐòµÄÈí¼þ£¬µ«ÊÇÓÐ×ÅÖî¶àµÄÏÞÖÆ£¬ÒÔ¼°»á½µµÍ³ÌÐòÔËÐеÄËٶȺͶþ´Î¿ª·¢µ÷ÊÔµÄÄѶȣ¬ÄѵÀASP×ö³öÀ´µÄÏîÄ¿¾ÍÕæµÄÒª±©Â¶ËùÓеÄÔ´´úÂëÂð?¡¡
µ±È»ÁË£¬´ð°¸µ±È»ÊÇ·ñ¶¨µÄ£¬ÒòΪÊÀ½çÉÏûÓоø¶Ô²»¿ÉÄܵÄÊÂÇ飬½ÓÏÂÀ´¾Í¸úËæÎÒÀ´¿´¿´ÈçºÎÀûÓÃVBµÄActiveX DLLÀ´ÊµÏÖ½«ASP³ÌÐò·â×°ÆðÀ´°É£¬Ò²¾ÍÊÇÎÒÃÇ¿ÉÒÔʹÓÃActiveX DLLÀ´Íê³ÉËùÓÐASPÄÜÍê³ÉµÄÊÂÇ飬¶øActiveX DLLÊDZàÒëºÃµÄDLLÎļþ£¬±ðÈËÊÇÎÞ·¨µÃÖªÄãµÄÔ´´úÂëµÄ£¬Ò²¾Í±£Ö¤µÄ×Ô¼ºµÄÉÌÒµ»úÃܺͺËÐļ¼Êõ£¬²¢ÇҴﵽͬÑùµÄЧ¹û£¬Ê¹ÓÃÍêÈ«·â×°µÄActiveX DLL»á±ÈÍêÈ«ÊÊÓÃASP½Å±¾ÓïÑÔµÄÖ´ÐÐËÙ¶ÈÒª¿ìºÜ¶à£¬ÓÈÆäÊÇ´óÔËËãÁ¿µÄʱºò¸úΪÃ÷ÏÔ£¡
¾­¹ýÎÒÃǵľßÌå²âÊÔ£¬ÔÚ²Ù×Ý10000ÌõÊý¾Ý¿â¼Ç¼µÄʱºò£¬·â×°³ÉΪActiveX DLLµÄWEBÓ¦ÓóÌÐò±È´¿ASP´úÂëµÄÓ¦ÓóÌÐò£¬ËÙ¶ÈÉÏÃæÒª¿ì´óÔ¼21%×óÓÒ£¬ÔÚÄ¿Ç°¹úÄÚ¹ýÓÚ»ºÂýµÄÍøÂçÀ´½²£¬ËٶȾÍÊÇÒ»¸öWEBÕ¾µãµÄºÜ¹Ø¼üµÄÒ»²¿·Ö¡£²¢ÇÒ²ÉÓÃÁËActiveX DLLÀ´¿ª·¢WEB³ÌÐò£¬Òª±Èµ¥´¿Ê¹ÓÃASPºÃµÃ¶à£¬±Ï¾¹ASPÖ»ÄÜʹÓÃVBScriptÀ´¿ª·¢£¬ÎÞ·¨ÏíÓÃVB´óÁ¿µÄÓŵ㣬¶øActiveX DLLÔò¿ÉÒÔ³ä·ÖÀûÓÃVBÀïÃæËùÓеÄÌØÐÔ¡£
ÏÂÃæÎÒÃÇÏÈÀ´¿´¿´Ê²Ã´ÊÇActiveX DLL°É¡£ActiveXÊÇ΢ÈíÌá³öµÄ¹ã·ºÓ¦ÓÃÓÚWindowsϵÁеÄÒ»ÖÖ´úÂë·â×°¼¼Êõ£¬Ìá¸ßÁ˳ÌÐò´úÂëµÄ¿ÉÖØÓÃÐÔ£¬¼Ó¿ìÁ˳ÌÐòÏîÄ¿µÄ¿ª·¢Ëٶȣ¬Ò»°ã±»³ÆΪ“×é¼þ”¡£ÔÚVB6µÄ¼¯³É¿ª·¢»·¾³µ±ÖУ¬ÎÒÃÇ¿ÉÒÔ¿´µ½Ò»Ï¼¸ÖÖActiveXÏîÄ¿£º
¡¡¡¡1¡¢ActiveX EXE
¡¡¡¡ÕâÊÇÔÚ“¹ý³ÌÍâ”ÔËÐеÄActiveX/COM·þÎñÆ÷×é¼þ£¬Ò²¾ÍÊÇ˵ËûÃÇÔËÐеĹý³ÌºÍ³õʼ»¯×é¼þµÄ¿Í»§»ú´úÂ벻ͬ¡£¾¡¹Ü¿ÉÒÔÓÃASP·ÃÎÊActiveX EXE£¬µ«ÊDz»ÍƼö¸Ä¶¯IISÔª¿â£¬¸Ã¿âÔÊÐíËùÓеĿÉÖ´ÐÐÎļþÓÉ·þÎñÆ÷ÉÏÔËÐеĽű¾´úÂëÆô¶¯¡£
¡¡¡¡2¡¢ActiveX OCXs
¡¡¡¡ÕâЩÌØÊâµÄ×é¼þ°ÑÖ÷»úÓ¦ÓóÌÐòÏÔʾºÍ²Ù×÷×é¼þËùÐèµÄ¸½¼ÓÖ§³Ö°üº¬ÔÚGUI»·¾³ÖС£»¹¿ÉÒÔ°ÑOCX×é¼þ·ÅÔÚÍøÒ³µ±ÖÐ


Ïà¹ØÎĵµ£º

VB.NET2005¶ÁÈ¡XMLÊý¾Ý

ͨ¹ýµ÷ÓÃCreateDataSetfromXmlÈ¡µÃXMLÊý¾Ý
Imports System.Xml
Public Const FILE_CONFIG = "MZZ.xml"
Public Const PATH_CONFIG = "\XML\"
Dim dstXML As DataSet
Dim tblXML_DB As DataTable
Dim dtCod As New DataTable
Dim strSQL As String = ""

clsPublic ......

Asp È«Ñ¡ ¶àÑ¡ÔñÏî JSÒýÓÃ

<script language="JavaScript">
function CheckAll(form) {
var x=form.elements;
for (var i=0;i<x.length;i++)
{
var e = x[i];
if (e.name != 'chkall')
e.checked = form.chkall.checked;
}
}
</script>
--Ò³ÃæcheckboxÄÚ²¿
<input type='checkbox' value='"&rs("ID")&"' name ......

ÈçºÎÔÚaspÖÐÉèÖÃ302ºÍ301Ìøת


³£ÓõÄÖض¨Ïò·½Ê½ÓÐ: 301 redirect, 302 redirect Óë meta fresh£º
ASP ÖУ¬ÎÒÃÇÏ°¹ßʹÓà Response.Redirdect À´ÊµÏÖÒ³ÃæµÄÌøת£¬µ«ÊÇÕâÖÖÌøת·½Ê½µÄ״̬ÊÇ 302 µÄ£¬ÊôÓÚÁÙʱÌøת£¬¶ÔÓÚËÑË÷ÒýÇæÀ´Ëµ£¬ÊÇÒ»ÖÖ²»ÓѺõÄÖض¨Ïò·½Ê½¡£
ASP 3.0 ÖУ¬ÓÐÁËÁíÒ»ÖÖ·½Ê½£¬¼´ Response.Transfer ¡£¹ØÓÚÕâ¸ö£¬¿ÉÒÔ²éѯÏà¹ØµÄÐÅÏ¢¡£
......

C#Éú³Écom×é¼þ£¬¹©aspµ÷ÓÃ

C#Éú³Écom×é¼þ£¬¹©aspµ÷ÓÃ
Ò»¡¢vs2005—н¨ÏîÄ¿—C#Àà¿â
Àà¿âÔ´ÂëÈçÏÂ(°üº¬½Ó¿Ú£¬À࣬ʼþ½Ó¿Ú)£º
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Data.SqlClient;
using System.Runtime.InteropServices;
namespace entryclass
{
   ......

asp·À¶ñÒâ×¢²á¼°¹àË®

֮ǰд¹ýÒ»¸ö²»ÓÃÑéÖ¤ÂëµÄ·À×¢²á»ú·½·¨£¬Ê¹ÓÃÁ˽«½ü2Äêºó£¬³¹µ×ʧЧ¡£
½ñÌìżȻײ¼ûÒ»¸ö·ÀÖ¹¶ñÒâ×¢²áµÄ·½·¨£¬ÕýÔÚ˼¿¼ing¡£ÏÈ°Ñ·½·¨ÁÐÏ£º
»ñÈ¡¿Í»§¶ËÌá½»µÄÐÅÏ¢£»
½«ÐÅÏ¢´æÈë Session£»
Éú³ÉÒ»¸öËæ»úÊý£¨³ÆΪ ticket£©£»
½«Ëæ»úÊýÒ²´æÈë Session£»
Óà JavaScript µÄÐÎʽ½«Ëæ»úÊýÒÔÁ´½ÓµÄÐÎʽÊä³ö£¬²¢Ìáʾ¿Í»§µã»÷ÉÏÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ