vbÉú³ÉEXE - VB / »ù´¡Àà
form1ÖÐÓÐtext1-8£¬ ºÍcommand1
text8ÖÐΪ³ÌÐò´úÂ루Éú³É´°ÌåΪform2£¨ÒÑ×öºÃ£©£©
µ¥»÷command1ºó½«text2ÖеĴúÂëÉú³ÉEXEµ½d:\ ²¢ÇÒtext1-7·Ö±ð¶ÔÓ¦
²úÆ·Ãû ¹«Ë¾Ãû ºÏ·¨°æȨ ºÏ·¨É̱ê ÎļþÃèÊö ×¢ÊÍ ±êÌâ
´óϺÃÇ£¬°ï°ïæ
Ö±½ÓÃüÁîÐе÷ÓÃVBµÄ±àÒëÆ÷½øÐбàÒë
µ¥¶ÀÈ¥µÄ Form2 ÊÇÎÞ·¨Í¨¹ý±àÒëµÄ,±ØÐëÐèÒª¹¤³ÌÎļþ.
Ï൱ÓÚ,Äã°Ñ¹¤³ÌÎļþ/FORM2µÄÔ´Îļþ¶¼·ÅÖÃÔÚtext8 ºÍ textX ÖÐ,µãÒ»command1.¾Í°ÑÕâЩÎı¾±£´æµ½³ÌʽÔËÐÐĿ¼ÏÂ,È»ºóÓÃÃüÁîÐе÷ÓÃVB6.EXEÈ¥±àÒëÕâ¸ö¹¤³Ì.
¹¤³ÌÎļþÖоͱ£´æÁËÄãÐèÒªÉ趨µÄ" ²úÆ·Ãû ¹«Ë¾Ãû ºÏ·¨°æȨ ºÏ·¨É̱ê ÎļþÃèÊö ×¢ÊÍ ±êÌâ"
˼·¾ÍÊÇÕâÑù,¾ßÌå»áÓõ½VB6.EXE ÃüÁîÐе÷ÓÃ.
ÆäËûµÄûʲôÄѶÈ.
²»ÖªµÀÄãÊÇÒªÐÞ¸ÄÒ»¸öÒѾÉú³ÉµÄexe£¬»¹ÊÇ×Ô¶¨Òå±àÒë¹ý³Ì¡£
vbp frm¶¼ÊÇÎı¾¸ñʽ£¬¿ÉÒÔ×ÔÓɶÁд£¬È»ºóµ÷ÓÃVB±àÒëÆ÷±àÒë¼´¿É¡£
Â¥Ö÷COM¿ª·¢Êì²»,¿´ÄãÕâÇé¿ö,Çé¿ö¿É×ö¸öIDE²å¼þ°¡
Èçͼ
µ¥»÷form1ÖеÄcommand1ºó
Éú³Éa.exeÓëd:\
²¢ÇÒÉú³ÉµÄexe
²úÆ·Ãû=text1 ¹«Ë¾Ãû=text2 ºÏ·¨°æȨ=text3 ºÏ·¨É̱ê=text4 ÎļþÃèÊö=text5 ×¢ÊÍ=text6 ±êÌâ=text7
EXEÖÐÖ»ÓÐform2²¢ÇÒform2µÄÔ´´úÂëΪtext1ÖеÄ
Ò²¾ÍÊÇ˵
ÎÒÏë×öÒ»¸ö¿ò¼Ü
Óû§¿ÉÒÔÓÃÎÒ³ÌÐòµÄ¿ò¼ÜÉú³É³ÌÐò
½¨ÒéÂ¥Ö÷дһ¸öVB6.0µÄAddin
ÒªÇó¾ÍÀàËÆÒ»¸öÏòµ¼³ÌÐò¡£ÓÃVB6.0µÄAddinд¸ö²å¼þ¿ÉÒÔʵÏÖ¡£µ÷ÓñàÒëÆ÷¶ÔÏóºÜºÃʵÏÖ
VB code:
Dim oVBProjects As VBProjects, i As Integer
Ïà¹ØÎÊ´ð£º
ÔÚÏÂÊÇvbµÄÐÂÊÖ£¬Ïëд¶Î³ÌÐò£¬ÔÚvbÖУ¬Ê¹ÓÃwscriptµ÷ÓÃһЩÍⲿµÄÃüÁµ«ÊdzÌÐòÖ´ÐÐÒ»Ö±ÓдíÎó£¬Çë¸÷λ¸ßÊÖ°ïæ½â´ðÏ£¬Ð»Ð»¡£
´úÂëÈçÏ£º
VB code:
Private Function getFile_CMD(filename, filepath) As Bo ......
ÎÒÔÚÀàÖÐÓÐÒ»¸öº¯Êý
Public Function DownloadAdditionalSite(SiteName As siteconfig, Directory As String, ymd As String) As Boolean
siteconfigÊÇÎÒ×Ô¶¨ÒåÀàÐ͵ÄÊý¾Ý£¬ÎªÊ²Ã´»áÌáʾ¡°Ö»ÓÐÔÚ¹«¹²¶ÔÏóÄ£¿éÖж ......
Ôõô°ÑÒÑÖªµÄÊý¾Ý±£´æ³ÉxmlÎļþ£¬ÏÖÔÚÒÑÖªµÄÊý¾ÝÊÇ
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o=& ......
dim a as string,b as string£¬c as string
a="¹¤³Ì±àºÅ,µ¥Î»¹¤³ÌÃû³Æ,·Ö²¿¹¤³Ì±àºÅ"
b="µ¥Î»¹¤³ÌÃû³Æ"
c="µ¥Î»"
Ôõô²ÅÄÜÅжϳöa×Ö·û´®ÖдæÔÚb×Ö·û´®£¬¶ø²»´æÔÚc×Ö·û´®
¿´¿´i ......
ÎÊÌ⣺
ÏÖÔÚAccessÊý¾Ý¿âÖÐÓÐÁ½ÕűíTableAºÍTableB
TableAÖÐÓмǼÈçÏÂ:
×Ö¶Î1(Name) ×Ö¶Î2(Num)
A 3
A 4
B 6
... ......