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

vb - VB / »ù´¡Àà

ÎÒÏë°ÑwordÁí´æΪxmlÖ®ºó£¬ÓÃvb¶ÁÈ¡Õâ¸öxmlµÄÄÚÈÝ£¬ÇëÎÊÈçºÎʵÏÖ£¿
dim f as integer
dim b() as byte
dim s as string
dim L as long
f=freefile()
open "abc.xml" for binary access read as #f
L=LOF(f)
redim b(L-1)
b=inputb(L,#f)
close #f
s=strconv(b,vbUnicode)

ÉÏÃæµÄ¶Á³öµÄxmlÊǺÃÏñÊÇ·±Ìå×Ö

ÏÖÔÚÖ»Ïë°ÑxmlÀïµÄÊý¾Ý¶ÁÈ¡³öÀ´£¬×é³ÉÒ»¸ö×Ö·û´®£¬²»¶ÁÈ¡xmlµÄ¸ñʽ£¬ÇëÎÊÔõôʵÏÖ°¡£¡

Èç¹ûÄãµÄxmlÊDZê×¼¸ñʽ£¬ÓÃϱߵķ½·¨¾Í¿ÉÒÔ¶Á³öÀ´µÄ
  Dim xml As MSXML2.DOMDocument30
  Set xml = New MSXML2.DOMDocument30
  xml.async = False
  xml.Load CD_Down.FileName

  Dim oRst As ADODB.Recordset
   
  Set oRst = New ADODB.Recordset
   
  oRst.Open xml

ÏòÂ¥ÉϵģºÑ§Ï°£¬
ÏòÂ¥ÉϵģºÑ§Ï°£¬
ÏòÂ¥ÉϵģºÑ§Ï°£¬
ÏòÂ¥ÉϵģºÑ§Ï°£¬


ÒýÓÃxml¶ÔÏóÀ´´¦Àí....
recordset.open xmlÖ»ÄÜ´¦ÀíÓÉrecordset.save xml±£´æµÄ³Ö¾ÃÐԼǼ¼¯....


ÏÖÔÚÎÒµÄÕâ¸öxmlÎļþÊÇÓÃwordÁí´æ³öÀ´µÄ£¬¿Ï¶¨²»ÊDZê×¼µÄ£¬¿ÉÊÇÎÒÖ»ÏëÒª¶ÁÈ¡xmlÖеÄÊý¾Ý£¬²»Ïë¶ÁÈ¡Èκθñʽ

ÒýÓÃ
ÉÏÃæµÄ¶Á³öµÄxmlÊǺÃÏñÊÇ·±Ìå×Ö


²âÊÔ. ²»ÊÇ·±Ìå ÊÇÂÒÂë.

ÒýÓÃ
dim f as integer
dim b() as byte
dim s as string
dim L as long
f=freefile()
open "abc.xml" for binary access read as #f


Ïà¹ØÎÊ´ð£º

¡¾¼±Çó¡¿VBÖÐʹÓÃWScriptµ÷ÓÃÍⲿÃüÁî - VB / »ù´¡Àà

ÔÚÏÂÊÇvbµÄÐÂÊÖ£¬Ïëд¶Î³ÌÐò£¬ÔÚvbÖУ¬Ê¹ÓÃwscriptµ÷ÓÃһЩÍⲿµÄÃüÁµ«ÊdzÌÐòÖ´ÐÐÒ»Ö±ÓдíÎó£¬Çë¸÷λ¸ßÊÖ°ïæ½â´ðÏ£¬Ð»Ð»¡£
´úÂëÈçÏ£º
VB code:

Private Function getFile_CMD(filename, filepath) As Bo ......

vb Å£Âð - Web ¿ª·¢ / vbScript

vbÊDz»ÊǺÜÅ£°¡ ÔõôÄÇô¶àµÄ²¡¶¾¶¼ÊÇvb×öµÄ°¡ c#Ðв»ÐУ¿
c#ÔÚXPÔËÐв»ÁË£¬³ý·ÇÈñðÈËÏÈ×°ÉÏ.net.
VBÏà¶ÔÓÚC,C++,ASMµÈµÈ£¬¾ÖÏÞÐÔ´ó¶àÁË¡£

±ðÔÙ˵ʲôÓïÑÔ²»ÈçʲôÓïÑԵĻ°ÁË£¬Ö»ÓÐÄã²»»áÓûòÓÃ×Ų»Ë³ÊÖµÄÓ ......

ÇóÖú£ºVBµ÷Óö¯Ì¬¿âÎÊÌâ - VB / »ù´¡Àà

¸÷λ´óϺ£º
  ÎÒÊǸÕѧVB£¬ÏÖÔÚÏëÓÃVBµ÷ÓÃÒ»¸ö¶¯Ì¬¿â£¬¶¯Ì¬¿âÀïÃæÓкܶຯÊý¡£ÎÒÖªµÀʹÓÃVBµ÷Óö¯Ì¬¿âµ÷Óú¯Êý£¬ÐèÒª½«Òªµ÷Óõĺ¯ÊýÔÚ³ÌÐòÖÐÉùÃ÷¼´¿É£¬µ«ÊÇÀïÃæÓкܶຯÊý£¬²»»áÿһ¸öº¯Êý¶¼ÒªÉùÃ÷°É¡£Çë¸ ......

¹ØÓÚVB DIM ds as new DataSetÎÊÌâ - VB / »ù´¡Àà

DIM ds as new DataSet
ÎÒÕâÑùÉùÃ÷ ÔõÀÏÊDZ¨ Óû§¶¨ÒåÀàÐÍ䶨Ò壿 Õâ¸öÐèÒªÒýÓÃʲôÂ𣿣¿
Ç°ÌáÊÇDataSet¶ÔÏóÒª´æÔÚ,¾ÍÊǶÔÏóä¯ÀÀÆ÷ÖÐÓÐËü.ûÓоÍÒªÒýÓÃ.

datasetÊÇADO.NET¶ÔÏó
Èç¹ûÄãÓõÄÊÇvb.net£¬ÄÇôÔÚ´ ......

vb - VB / »ù´¡Àà

ÔÚvbÖÐÈçºÎ¶ÁÈ¡WordÄÚÈÝ(°üº¬±í¸ñ£¬Í¼Æ¬£¬µÈ£©
¾¹È»²»ÊÇzero¡£

²»ÖªµÀÔõôʵÏֵIJ»ÒªËµ»°

Õâ¸öÖ»ÄܶÁÎı¾,
VB code:
Private Sub Command1_Click()
Dim WordApp As Object
Set WordApp = CreateObject(& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ