vb ÄÚ´æÒç³ö£¿£¿ - VB / »ù´¡Àà
ϵͳÔÚ¶ą̀µçÄÔÉÏÔËÐУ¬¾ÍÔÚÆäÖÐһ̨µçÄÔÉϲúÉú¡±ÄÚ´æÒç³ö¡°¡£
ÿ̨µçÄÔ²Ù×÷ϵͳ ÅäÖö¼Ò»ÑùµÄ¡£¡£ÇëÎÊÊÇʲôÔÒò£¿
(1)ÓÃÁËÉè¼Æ²»ÍêÉƵĿؼþ£¬¿Ø¼þ±¾ÉíÓÐÎÊÌ⣬»òÕß²»Ç¡µ±µØʹÓÃÁËapiº¯Êý¡£
(2)ÎÞÏ޵ĵݹ顣ʹÓÃÁ˲»µ±µÄÊý¾ÝÀàÐÍ¡£
(3)һЩµ×²ãµÄ´íÎó±»´¥·¢£¬±»µ±×÷ÁËÄÚ´æÒç³öµÄ´íÎ󣬱ÈÈçȱÉÙ×é¼þ¡¢È¨ÏÞ²»×ãµÈµÈ¡£
DoEventsµÄ¶àÏß³ÌʹÓÃÒ²»áÒýÆð¡£
Òý·¢´íÎóµÄµØ·½ÊÇÒ»¸ö±¨±í¡£Ã¿´Î´ò¿ª±¨±íµÄʱºò¾Í³öÏÖÕâ¸öÎÊÌ⣿
ÎÒÃÇʹÓà activereport ±¨±í¡£¡£
ΪʲôÔÚÆäËüµçÄÔÉÏûÕâ¸ö´íÎóÀ²£¿£¿
DoEvents²»ÊǶàÏ̡߳£
²»¿¼ÂdzÌÐò±¾ÉíµÄÎÊÌâ, ¼´Ê¹µçÄÔµÄÓ²¼þºÍOS¶¼Ïàͬ,Ò²²»¼ûµÃÅÜÆðÓ¦ÓõÄЧ¹ûÒ²Ïàͬ°¡.
ÄÄÅÂÊÇϵͳÓÅ»¯µÄ²îÒìÒ²»áÔì³ÉÐÔÄÜÉϵľ޴ó²îÒì, ËùÒÔÕâ²¢²»ÄÜ˵Ã÷ʲôÎÊÌâ.
½¨ÒéÄ㻹ÊÇÄÃ×ÅÔ´´úÂëÅܵ½ÄÇ̨»úÆ÷ÉÏÈ¥½âÊÍÔËÐÐÒ»ÏÂ,¿´¿´´íÔÚÄÄÀï°É.
½ðµã×Ó£º¡°½¨ÒéÄ㻹ÊÇÄÃ×ÅÔ´´úÂëÅܵ½ÄÇ̨»úÆ÷ÉÏÈ¥½âÊÍÔËÐÐÒ»ÏÂ,¿´¿´´íÔÚÄÄÀï°É.¡±
Ïëµ±ÄêÎÒ¾ÍÊÇÕâô¸ÉµÄ£¬ÌáÐѱðÍüÁË×¢Ê͵ôOn Error Resume Next,On Error Goto ...Ö®ÀàµÄÓï¾äºóÔÙÔÚVB6 IDEÖÐÔËÐС£
Ïà¹ØÎÊ´ð£º
DIM ds as new DataSet
ÎÒÕâÑùÉùÃ÷ ÔõÀÏÊDZ¨ Óû§¶¨ÒåÀàÐÍ䶨Ò壿 Õâ¸öÐèÒªÒýÓÃʲôÂ𣿣¿
Ç°ÌáÊÇDataSet¶ÔÏóÒª´æÔÚ,¾ÍÊǶÔÏóä¯ÀÀÆ÷ÖÐÓÐËü.ûÓоÍÒªÒýÓÃ.
datasetÊÇADO.NET¶ÔÏó
Èç¹ûÄãÓõÄÊÇvb.net£¬ÄÇôÔÚ´ ......
vbÖÐ ÏÖÔÚÎÒÒª°ÑÊý¾Ý¿âÀï´æ´¢µÄÒ»¸ö¸½¼þµÄÄÚÈÝÌæ»»ÁË£¬Ôõô×ö£¬Ö»ÊÇÌæ»»ÎÒÖ¸¶¨µÄλÖ㬲»ÊÇÈ«²¿Ìæ»»
Ç뽫ÎÊÌâ˵Ã÷°×£¬´æ´¢×ֶθñʽ£¬Èç¹ûÊÇBinary¸ñʽµÄ±È½ÏÂé·³£¬Èç¹ûÊÇ×Ö´®£¬Ö±½ÓÌæ»»¡£×îºÃ²»Òª½øÐÐÖ¸¶¨Î»ÖÃÌæ»»¡ ......
xmlDoc1.loadXML(h)×ÜÊÇ·µ»Øfalse£¬ÎªÊ²Ã´£¿Ð»Ð»°ïæ»Ø´ðÒ»ÏÂ
hÊÇʲôÄØ¡£¡£¡£¡£¡£¡£¡£¡£¡£
hÊÇxml¸ñʽµÄ×Ö·û´®
ÄãÊÇÏë´ò¿ª¡£XML¸ñʽµÄÎļþ°É£¿
ÎÒÊÇ°Ñh·ÅÔÚxmlDoc1ÀÓÃxmlDoc1.loadXML(h)£¬È»ºóÈ¡xmlDo ......
form1ÖÐÓÐtext1-8£¬ ºÍcommand1
text8ÖÐΪ³ÌÐò´úÂ루Éú³É´°ÌåΪform2£¨ÒÑ×öºÃ£©£©
µ¥»÷command1ºó½«text2ÖеĴúÂëÉú³ÉEXEµ½d:\ ²¢ÇÒtext1-7·Ö±ð¶ÔÓ¦
²úÆ·Ãû ¹«Ë¾Ãû ºÏ·¨°æȨ ºÏ·¨É̱ê ÎļþÃèÊö ×¢ÊÍ ±êÌâ
......
СµÜÓÃVBµ÷EXCEL×÷ͼ
objExlApp.Workbooks.Add
objExlApp.Charts.Add
objExlApp.ActiveChart.ChartType = xlLine
objExlApp.ActiveChart.HasLegend = True
objExlApp. ......