ÖÆ×÷VB°²×°³ÌÐòÎÊ´ð(Package & Deployment)
À
±¾ÎÄ·¢±íÔÚ2000Äê4ÔÂ17ÈÕ ¡¶¼ÆËã»úÊÀ½ç¡·25ÆÚ
ÖÆ×÷°²×°³ÌÐòÍùÍùÊdzÌÐòÉè¼ÆµÄ×îºóÒ»²½£¬Í¬Ê±Ò²ÊÇÖØÒªµÄÒ»²½£¬ÒòΪÔËÐа²×°³ÌÐòÍùÍùÊÇÓû§µÄµÚÒ»¸ö²Ù×÷¡£ÏÂÃæ¾Í½éÉÜһЩÖÆ×÷
Visual Basic
°²×°³ÌÐòʱ³£Óöµ½ÎÊÌâµÄ½â¾ö·½·¨¡£
1
¡¢Ò»¸ö·Ç³£¼òµ¥µÄ
VB
³ÌÐòÊÇ·ñ¿ÉÒÔ²»ÖÆ×÷°²×°³ÌÐò
ÎÊ£º¼ÙÈçÎÒµÄ
VB5
¿ª·¢µÄ³ÌÐòºÜ¼òµ¥£¬Ö»Óõ½ÁË
ShellExecute()
Õâ¸ö
API
£¬
ÒÔ¼°
Command Button
£¬ÎÒÄܲ»Äܲ»×ö°²×°ÅÌ£¬ÔÚËùÓпͻ§»úÆ÷ÉÏ£¨
WIN95/98/NT
£©¶¼ÄÜÕý³£Ê¹ÓóÌÐò£¿Èç²»ÖÆ×÷°²×°³ÌÐò£¬Óë
EXE
·ÅÒ»ÆðµÄÓ¦¸Ã°üÀ¨ÄÄЩÎļþ£¿
´ð£º¶ÔÓÚÒ»¸ö·Ç³£¼òµ¥µÄ
VB5
³ÌÐò£¬Ã»ÓÐʹÓöîÍâµÄ
OCX
¿Ø¼þ£¬ÔÚ
Win98/2000
ÏÂÊÇ¿ÉÒÔÕý³£ÔËÐеģ¬¶ø²»ÐèÒªÖÆ×÷°²×°ÅÌ¡£ÒòΪ
Win98/2000
´øÓÐ
VB5
³ÌÐòËùÐèÒªµÄ
DLL
Îļþ¡£µ«ÔÚ
Win95/NT 4.0
ÏÂÒ»°ãÊDz»Ðеģ¬ÒòΪȱÉÙ±ØÒªµÄÎļþ¡£Èç¹ûÓû§µÄ»úÆ÷ÉÏ°²×°ÓÐ
IE 4.0/5.0
£¬ÄÇôӦ¸ÃÒ²ÊÇ¿ÉÒÔ²»ÖÆ×÷°²×°Å̵ġ£ÔÚÒ»°ãÇé¿öÏ£¬²»ÖÆ×÷°²×°Å̾Ͳ»²»Äܱ£Ö¤³ÌÐòµÄÕýÈ·ÔËÐС£ÄãÖÆ×÷µÄ°²×°ÅÌËù°üÀ¨µÄ
DLL
ÖУ¬³ýÁË
Vb5stkit.dll
Ö»ÊÇ°²×°Ê±Ê¹Ó㬰²×°ºó¾Í²»ÐèÒªÁË£¬ÆäËû
DLL
¶¼ÊDz»¿ÉȱÉٵġ£ËäÈ»¶ÔÓÚijЩ»úÆ÷¶øÑÔ£¬ÓÉÓÚ°²×°¹ýÆäËûÈí¼þ£¬¿ÉÄܲ»ÐèҪij¸ö
DLL
£¬
µ«ÒªÏëÔÚËùÓеĻúÆ÷É϶¼ÕýÈ·ÔËÐУ¬Ò»¸öÎļþ¶¼²»ÄÜÉÙ¡£ËùÒÔΪÁ˱ÜÃâÓÉÓÚȱÉÙij¸öÎļþ»ò×¢²á²»ÕýÈ·¶øʹ³ÌÐòÎÞ·¨ÔËÐУ¬ÎÒ½¨ÒéÄ㻹ÊÇÖÆ×÷°²×°Å̱Ƚϱ£ÏÕ¡£Èç¹û
ÄãµÄ³ÌÐòÊÇ·ÅÔÚÍøÉϹ©±ðÈËÏÂÔصģ¬ÎªÁ˼õÉÙÏÂÔØÎļþµÄ´óС£¬¿ÉÒÔÕâÑù×ö£º½«ÄãµÄ³ÌÐòµ¥¶À´ò³ÉÒ»¸ö°ü£¬Èç¹ûÓû§ÒѾÓÐÁËÔËÐÐ
VB5
³ÌÐòËùÐèÒªµÄÓйØÎļþ£¬¾ÍÖ»ÐèÏÂÔØÄãµÄ³ÌÐò£»È»ºó£¬ÔÚÍøÒ³ÉÏÌṩһ¸ö
VB5
µÄÔËÐÐʱ¼ä¿âµÄÁ´½Ó£¨Èç
http://download.microsoft.com/download/vb50pro/utility/1/win98/EN-US/Msvbvm50.exe
£©£¬Èç¹ûÓû§µÄ»úÆ÷ÉÏûÓÐÕâЩÎļþ£¬ÈÃËüµ¥¶ÀÏÂÔØÔËÐп⡣ÕâÊÇÒ»ÖֱȽÏͨÐеķ½·¨¡£
2
¡¢ÊÇ·ñÒ»¶¨Òª×¢²á
ActiveX
¿Ø¼þ
ÎÊ£ºÈôÔÚÒ»¸ö³ÌÐòÖÐʹÓÃÁËÆäËûµÄ¿Ø¼þ
,
ÈçºÎÔÚûÓÐ×¢²á¸Ã¿Ø¼þµÄ»úÆ÷ÉÏÔËÐÐ
,
ÊDz»ÊÇÒ»¶¨ÒªÖÆ×÷°²×°³ÌÐò»ò×¢²á¸Ã¿Ø¼þÄØ
?
´ð£ºÔÚ
Win95/98
Ï£¬Èç¹ûÄãµÄ¿Ø¼þºÍ
EXE
ÎļþÔÚͬһ¸öĿ¼ÖУ¬»òÕ߿ؼþÎļþ·ÅÖÃÔÚ
System
Ŀ¼ÖУ¬
EXE
³ÌÐòÔËÐÐʱ»á×Ô¶¯ÕÒµ½ËùÐèÒªµÄ
OCX
Îļþ²¢×¢²á¡£µ«ÊÇÕâÖÖ·½·¨ÔÚ
WinNT
ϲ»ÊÊÓã¬
NT
ϱØÐëÏÈ×¢²á¿Ø¼þ²ÅÄܱ£Ö¤
EXE
³ÌÐòµÄÕý³£ÔËÐС£ÁíÍ⣬ÕâÖÖ×Ô¶¯×¢²áÓÐһЩ벡£¬Èç¹û»úÆ÷ÒѾ
Ïà¹ØÎĵµ£º
Public Declare Function VarPtrArray Lib "msvbvm60.dll" Alias "VarPtr" (Var() As Any) As Long
Public Declare Function VarPtrStringArray Lib "msvbvm60.dll" Alias "VarPtr" (Var() As Any) As Long
È¡¶ÔÏóµØÖ·: ObjPtr
È¡OLE¶ÔÏóµÄµØÖ·: OLE_NAME.LpOleObject
È¡º¯ÊýµØÖ·: AddressOf
È¡×Ö·û´®µØÖ·: StrPtr
È¡ ......
'ÒýÓãºMicrofoft VBScript Regular Expressions 5.5 'Ò»¸öÕýÔòÌáÈ¡¹¦ÄÜ
Public Function regGetStr_three(ByVal myString As String, ByVal patReg As String) As String()
Dim objRegExp As RegExp
Dim objMatch As Match
Dim colMatches As Ma ......
ÕýÔÚ¿ª·¢Ð¡ÃØÊéϵͳ²¢²»¶ÏÌá¸ßÆäÖÇÄÜˮƽ,ÆäÖÐÓõ½µÄÊǽű¾Ö§³ÖµÄ¼¼Êõ
ËäÈ»Õⲿ·Ö²»ÊôÓÚ³õѧÕßʹÓÃ,È»¶øÓÐЩÈËÏëѧÕâ¸ö¶«¶«,ÕâÀï¾Í·¢~~~²¼³öÈ¥°É!
н¨Ò»¸ö±ê×¼exe¹¤³Ì(Standard EXE);
"¹¤³Ì"(Project)-->"²¿¼þ"(Components)
Ñ¡¶¨"Microsoft Script Control 1.0" ,λÖÃÊÇC:\WINDOWS\system32\msscript.ocx
Ìí ......
ÌâÄ¿:
ÈçºÎ»ñÈ¡ÍøÒ³ÏÂÎÄ×ÖµÄÁ´½ÓµØÖ·
´°¿ÚÓÐWebBrowser1£¬ºÍÒ»¸öText1
ÏÖÔÚ
Private Sub Form_Load()
WebBrowser1.Navigate "http://www.baidu.com"
End Sub
´ò¿ª´°ÌåÏÔʾ°Ù¶ÈµÄÊ×Ò³£¬ÒªÇ󻬶¯Êó±êµ½“ÐÂÎŔʱ
Text1ÀïÏÔʾhttp://news.baidu.com/
»¬¶¯µ½“Ìû°É”ʱ
Text1ÀïÏÔʾÇå¿ ......
http://blog.donews.com/sloo/archive/2006/01/29/711269.aspx
1.ÓÃMicrosoft Internet Transfer Control ¿Ø¼þ£¨ÔÚ²¿¼þÖÐÌí¼Ó£©£¬´úÂë·Ç³£¼òµ¥£¬ÈçÏ£¨ÔÚformÉÏÌí¼ÓÒ»¸öInet1ºÍText1ºÍCommand1£©£º
Private Sub Command1_Click()
Text1.Text = Inet1.OpenURL("http://www.vbgood.com/")
End Sub
2.Èç¹ûÊÇʹÓà W ......