ÖÆ×÷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
³ÌÐòµÄÕý³£ÔËÐС£ÁíÍ⣬ÕâÖÖ×Ô¶¯×¢²áÓÐһЩ벡£¬Èç¹û»úÆ÷ÒѾ
Ïà¹ØÎĵµ£º
Private Declare Function OpenThread Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwThreadId As Long) As Long
Private Const THREAD_ALL_ACCESS = &H1F03FF
OpenThread(THREAD_ALL_ACCESS, 1, Ïß³ÌID) 'ÓÉÏß³ÌIDÈ¡µÃÏ߳̾ä±ú,·µ»ØÏß³Ì¾ä± ......
Option Explicit
Public Function ascii2Char(strInput As String) As String
Dim i As Integer
Dim strTemp As String
Dim nPos As Integer
Dim nValue As Integer
i = 1
nPos = InStr(i, strInput, "&#", vbTextCompare)
While (nPos > 0)
ascii2Char = ascii2Char + Left(st ......
¸Ã·½·¨²»ÐèҪʹÓÃAPI¼°µÚÈý·½¿Ø¼þ
ÕâÀïʹÓõÄÊÇVBµÄUserControl¿Ø¼þµÄAsyncRead·½·¨
²½ÖèÈçÏÂ:
1¡¢Ìí¼ÓÒ»¸öÓû§¿Ø¼þ£¬ÉèÖÃInvisibleAtRuntimeÊôÐÔΪtrue£¬Ä¿µÄÊÇÔËÐÐʱ¸Ã¿Ø¼þ²»ÏÔʾÓû§½çÃ棬¾ÍÏóTimer¿Ø¼þÒ»Ñù¡£
2¡¢µ½×Ô¶¨Òå¿Ø¼þµÄ´úÂë´°¿Ú£¬Ìí¼ÓÈçÏ´úÂë
Option Explicit
'ÏÂÔؽá¹ûö¾Ù
Public Enum Downloa ......
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 ......