<address id="xpjh9"><listing id="xpjh9"><meter id="xpjh9"></meter></listing></address>

<address id="xpjh9"><address id="xpjh9"><listing id="xpjh9"></listing></address></address>
<noframes id="xpjh9">
<noframes id="xpjh9">

<address id="xpjh9"><address id="xpjh9"><listing id="xpjh9"></listing></address></address>
    <form id="xpjh9"></form><address id="xpjh9"><listing id="xpjh9"><menuitem id="xpjh9"></menuitem></listing></address>

      <noframes id="xpjh9">
      VB.net 2010 視頻教程 VB.net 2010 視頻教程 VB.net 2010 視頻教程
      SQL Server 2008 視頻教程 c#入門經典教程 Visual Basic從門到精通視頻教程
      當前位置:
      首頁 > 編程開發 > vb >
      • vb教程之用VB編程實現任意修改Windows桌面背景

      • 2017-09-21 16:23 來源:未知
      文/YUANXIANG_W

        眾所周知在Windows中可以通過屬性面板任意修改背景圖案,要在VB的程序設計中實現這一功能其實也很方便,具體實現方法如下:

        首先在VB中創建一個窗體并在其中加入一個命令按鈕,第一步在窗體的通用段中輸入以下代碼:


        Const SPI_SETDESKWALLPAPER = 20

        Const SPIF_UPDATEINIFILE = &&H1

        Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long

        注:如果以上的聲明放在“一般模塊”下,應在Const之前加上Public保留字,并且將Private保留字去掉。

        然后在命令按鈕中的Click事件中輸入以下代碼:

        '將桌面圖片設定成c:\windows\CIRCLES.bmp

        Call SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,"c:\windows\CIRCLES.bmp", SPIF_UPDATEINIFILE)

        '將桌面圖片清除

        Call SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,"",SPIF_UPDATEINIFILE)

        但以上程序設定圖片之后,必須等到下次Windows重新啟動時才生效,如果要設定之后立刻生效,則程序須修改如下:

        Const SPIF_SENDWININICHANGE = &&H2

        Call SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, "c:\windows\CIRCLES.bmp", SPIF_UPDATEINIFILE + SPIF_SENDWININICHANGE )

        此外如果只有本次使用Windows時改變桌面圖片(下次開機時還原原狀),則程序如下:

        Call SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, "c:\windows\CIRCLES.bmp", SPIF_SENDWININICHANGE ) '去掉SPIF_UPDATEINIFILE
      相關教程
      江苏快3 b62.com | fh22.com | www.3978u.com | 22tt8332.com | www.799486.com | www.x100100.com | 85698t.com | www.1466j.com | pj677k.com | 7742k.com | www.mgm555555.com | 8078522.com | www.849798.com | www.ms488.com | yy909.com | www.792085.com | 5002rrr.com | www.196050.com | www.5xcai.vip | hg10f.com | www.022m.cc | www.zb933.com | 38820055.com | www.44fzc.com | www.40566.com | 1077tt.com | www.368381.com | www.yh4477.cc | 78116644.com | www.71399c.com | www.ty971.com | 5002sss.com | www.35155y.com | www.866666c.com | 8547mm.com | www.41518y.com | www.023395.com | 5443rr.com | www.55717v.com | www.pjsichuan.com | zgfcw.cc | www.2934w.com | www.003344.com | 2359922.com | www.791651.com | www.xycp099.com | 2083.com | 25295bb.com | www.r32939.com | 3685m.com | 8522nnnn.com | www.4923v.com | www.330099c.com | 4880i.com | www.915776.com | www.668cp33.com | mf709.com | j1759.com | www.4833045.com | www.87680c.com | 1483t.com | www.zcwf5.com | www.808888i.com | 80900.com | 59599b.com | www.50080r.com | www.yh843.com | 1788hg.com | 28824q.com | www.1764f.com | www.aa444.vip | 83138x.com | www.544094.com | www.704907.com | www.70398.com | 4288e.com | www.wcp6698.com | www.65066dd.com | 4123hh.com | 18887365.com | www.08xyc.com | www.83309.com | 66445156.com | pj3333.com | www.303467.com | www.g94600.com | www.vns7330.com | wnsr8812.com | 66681w.com | www.0014t.com | www.4694o.com | www.68666r.com | 1407d.com | www.5086r.com | www.4963t.com | 58802p.com | 58588j.com | www.582477.com | www.99094c.com | www.848464.com | ff2205.com | hg0886.me | www.9818f.cc | www.820057.com | www.25288g.com | dzhcp2.com | 3202d.com | www.fcff5.com | www.xj6006.com | www.4tgpd.com | 00443015.com | b188.wang | www.602454.com | www.68993235.com | www.19yh6.com | www.9996aa.com | yf2333.com | 5443q.com | www.335037.com | www.87668m.com | www.7415.com | www.866666c.com | 26444m.com | 38818.com | www.52072u.com | www.12455k.com | www.99vn777.com | www.7770099.com | 7141oo.com | sha131.com | n444000.com | www.66ffo.com | www.5517bbb.com | www.164333.com | www.zun171.com | 9679n.com | 1234.cc | www.344747.com | www.66652n.com | www.4196o.com | www.959234.com | 3136xx.com | hbs480.com | 32355nn.com | www.hcw778.com | www.5095i.com | www.200068.com | www.767613.com | www.tqdc444.com | mopayclub.com | 3121bb.com | www.296233.com | www.27776.cc | www.8084.com | www.jsdc9111.com | www.06617c.com | www.3195555.com | www.9009844.com | 655661166.com | 343477.com | 32212.com | 78777v.com | www.783090.com | www.43818r.com | www.798343.com | www.7334e.com | www.hg8289.com | www.284888.com | c63.cc | 3788f.com | vns8843.com | 99909f.com | 22556o.com | www.605134.com | www.44607.com | www.40288f.com | www.9b003.com | www.899111.com | www.9566438.com | www.746441.com | 7335q.com | 2844t.com | 8569811v.com | 3890a.com | wvs8.com | 37770775.com | 77074.com | aobo44444.com | zhcp47.com | ctxcp76.com | www.61233i.com | www.398846.com | www.901257.com | www.5095n.com | www.71399f.com | www.16065j.com | www.186664.com | www.664456.com | www.wns123c.com | www.06387722.com | www.30k0048.com | www.597567.com | www.09809.com | www.ccc826.com | www.hg0006.com | www.28481166.com | zhcpii.com | 23800a.com | man153.com | 2905.com | 4997q.com | 7945zz.com | 6868bb.cc | 6245i.com | 3202r.com | 8905i.com | 2506a.com | 4023n.com | 2267o.com | 8827fff.com | 23800a.com | bet3659906.com | 1479t.com | www.m1.10500ww.org | www.1115xj.com | 131fff.net | www.a333.cc | www.alpk8.com | www.05125b.com | www.hg353.net | www.8898hg.com | www.7302004.com | www.78854.com | www.50021.com | www.sbd024.net | www.1754.com | www.33vn777.com | www.15.net | www.5091f.com | www.hm8222.com | www.159888a.com | www.516113.com | www.43131h.com | xpj677z.com | pc0428.com | 5478w.com | 0693j.com | 36406666.com | feicai0594.com | www.38200i.com | www.xx9090.com | www.2222092.com | www.6776kk.com | www.f69096.com | www.t1432.com | www.5282288.com | www.66653y.com | www.874918.com | www.102386.com | hga8585.com | 1654vv.com | 38648kk.cc | 2190q.com | www.vns62999.com | www.ks8884.com | www.6880vv.com | www.68993277.com | www.am1115.com | www.615121.com | 1770w.com | 3424k.com | 38365k.com | bc2023.com | www.3643u.com | www.jsc222.com | www.vv88ss.com | www.7240k.com | www.16001.com | www.348677.com | 8030f.com | aaa8996.com | feicai0595.com | www.5559xj.com | www.10870.com | www.t80288.com | www.98528f.com | www.627797.com | 66335002.com | 38244s.com | 2649kk.com | www.vns956.com | www.92302.com | www.0073.com | www.338218.com | dd00558.com | 3846ttt.com | www.yz488.com | www.665345.com | www.http://448378.com/ | www.39500d.com | www.188721.com | pp4675.com | eee67890.com | www.3459e.com | www.881.ag | www.6889795.com | www.758022.com | 6830.com | 9971004.com | www.995o.net | www.06820o.com | www.6832i.com | 50067a.com | 4426.com | www.4107n.com | www.c5c22.com | www.954321m.com | www.lf888.club | 4632277.com | 2864t.com | www.246123.com | www.6683066.com | www.den00.com | h3410.com | 159666t.com | www.618888.cc | www.blr0044.com | www.805462.com | 7196a.com | 7720n.net | www.js81122.com | www.yh888b.com | www.579199.com | yy4119.com | 2418p.com | www.js9652.com | www.4923u.com | P35bb.com | 4488m.com | www.hg9689.com | www.hgdc400.com | www.hct5.com | 80878e.com | kk2205.com | www.555305.com | www.08588i.com | 86811e.com | tzvip2027.com | www.df2220.com | www.jzvip11.com | cdwb.com | 118888u.com | www.lefa888.com | www.588vip.net | 6245p.com | 096.com | www.hg72999.com | www.bet73g.com | 77226556.com | xpj70064.com | www.3066rr.com | www.707232.com | 66300vip04.com | www.87680r.com | www.221313.com | www.025069.com | e08199.com | www.006071.com | www.0194004.com | 1188589.com | 8303.com | www.00773p.com | www.703153.com | 0015aa.com | www.666423.net | www.7239g.com | 99909p.com | www.wns8848.com | www.9971331.com | www.346977.com | 55552007.com | www.155417.com | www.958351.com | hjcp22.com | www.1238760.com | www.2418w.com | 555.bcbm555.com | www.a8a8789.com | www.357116.com | www.108382.com | nn500c.com | www.pj88u.com | www.jj0.net | 61325522.com | www.4963ww.com | www.382688.com | yh88135.cc | www.55070k.com | www.339968.com | 28288w.com | www.rycp051.com | www.501433.com | yf2222.com | www.hg173a.com | www.277739.com | 500000914.com | www.4521x.com | v508.com | www.63877v.com | www.8998887.com | 73055i.com | www.4853a.com | www.56666.cc | 7508h.com | www.76775i.com | www.758786.com | 62222p.com | www.c30666.com | www.219077.com | bb8888b.com | www.188611.com | 4018002.com | www.7025r.com | www.50026m.com | bet555888.cc | www.5049o.com | www.039079.com | 2885647.com | www.9103yy.com | 0652h.com | www.095985.com | www.890886.com | js909.com | www.00773l.com | jixiang11.com | www.ty7000.com | www.94238.com | bet111000.com | www.986076.com | 884192.com | www.hg226.com | www.81678k.com | 69111p.com | www.99113j.com | 0234ee.com | www.67797z.com | www.5522o.cc | 80850j.com | www.94j.ceo | 4809x.com | www.706222.com | 99589cc.net | www.twcp999.com | www.sygj7.com | 61327722.com | www.94383.com | 4340w.com | www.006786.com | 01234ii.com | www.080948.com | www.609710.com | www.56733j.com | www.8839q.com | 45637p.com | feicai0599.com | www.026033.com | www.9920992.com | www.3691m.com | www.681090.com | 33382v.com | www.ejylc16.com | 4255ccc.com | www.29937.com | dz0999.com | www.3cq3.com | 67890ppp.com | www.063259.com | js14c.com | www.56754.com | hd61788.com | www.zr6668.com | www.378016.com | www.hg2083.com | www.919309.com | www.88188b.cc | www.1035i.com | 3614l.com | www.66376d.com | s2649.com | www.772222.biz | 63965555.com | www.3978o.com | 00ww8332.com | www.12455hh.com | 33382r.com | www.9646q.com | vic.am | www.21229.com | 01234nnn.com | www.339333.cc | 6118e.com | www.7714m.com | 463svip.com | www.9818h.cc | www.kf388.com | www.hf0866.com | www.445887.com | www.562601.com | www.619757.com | www.178719.com | www.jp328.com | 47749q.com | www.7335xx.com | 444000kkk.com | www.377666l.com | 2324ccc.com | www.6939l.com | 444000oo.com | www.gyfc8.com | www.k32126.cc | www.330715.com | www.3775622.com | d91019.com | www.4963ff.com | wb3223.com | www.0343f.com | 3078u.com | www.hjin1.com | www.pj0709.com | 2021cccc.com | www.7779833.com | 28824p.com | www.823250.com | 11005b.com | www.1477w.com | www.22516.com | www.195876.com | www.fhyl99.com | feicai0790.com | www.pjc22.vip | 6137i.com | www.mcw6.com | www.655666h.com | 6177010.com | www.299764.com | 4152s.com | www.8039s.com | www.40686c.com | ttdl4008123.com | www.c558.vip | 3404f.cc | www.c229.com | www.7111f.com | wns78.com | www.7240f.com | zhcp63.com | www.860958.com | www.207622.com | 58588d.com | www.j77929.com | www.799007.com | 500c8.com | www.4694j.com | ii8159.cc | www.919509.com | www.bet611.com | 55545q.com | www.53900j.com | www.7380m.com | 2851u.com | www.9822az.com | www.pu0012.com | vv968.com | www.6687g.com | 500000349.com | www.501347.com | www.408477.com | wns173.com | www.818646.com | www.3033b.com | 2214q.com | www.909309.com | www.wwww.6230z.com | a1915.com | www.hx6626.com | www.2268222.com | 3386.com | www.al5888.com | www.6003p.com | 6487.com | www.587944.com | www.vns9018.com | 33hh8331.com | www.257188.com | www.1851114.com | 3121b.com | hg3211.com | www.3421c.com | yin1044.com | 7284444.com | www.4447758.com | www.4763222.com | 78249.com | www.59988.cc | www.717012.com | 5.am | www.581905.com | www.v948v.com | 365qxw.am | 9949p.com | www.9187c.com | www.q32126.cc | aaa678.com | www.34788c.com | www.5882323.com | 3435.com | www.84499v.com | www.792065.com | www.hg0656.com | 4066l.com | www.8667i.com | www.hx928.com | a757044.com | www.330605.com | www.22pjjt.com | www.hgw0088.me | 8685151.com | www.994696.com | www.77699.com? | 47749g.com | 90307w.com | www.055aa.cc | www.19yh7.com | 9149s.com | 8590.am | www.9155f.com | www.678404.com | 2381dd.com | 2381yyy.com | www.71399c.com | www.47748.com | x33e.vip | 5309c.com | www.98599.cc | www.56655z.com | 7792m.com | 1770r.com | www.ya438.com | www.8313q.com | www.0111js.com | 8036ocom | www.501364.com | www.11599.com | www.9949x.com | qq365z.com | pj111177.com | www.77802y.com | www.80388.com | feicai0952.com | 013373.com | www.528335.com | www.960023.com | www.888vip6.com | 33ff940.com | 33558448.com | www.814646.com | www.86339u.com | www.hg486.com | jindaye88.com | 1086.com | www.960206.com | www.0007795.com | www.hg83555.com | 1591vip.com | tt444000.com | www.766076.com | www.42070014.com | www.88862.com | 88770.com | t61788.com | www.168767.com | www.60108d.com | www.5146z9.com | www.77537m.com | 52599.com | 12742d.com | www.540977.com | www.bet73x.com | www.948.com | www.127788.net | 11bb8332.com | 4310.com | www.324677.com | www.50732h.com | www.829797f.com | www.582666.com | 2381002.com | 22299uu.com | www.029509.com | www.36788w.com | www.80188h.com | www.55422o.com | www.033033o.com | 3405o.com | 0015kk.com | www.548411.com | www.81233l.com | www.7415w.com | www.xb0027.com | 168b3.com | 8203.com | 575799.com | www.361979.com | www.8499f.com | www.xyh6003.com | www.hf9018.com | www.xpj3368.com | 80850jj.com | 7r3777.com | 2595u.com | www.546599.com | www.41518g.com | www.118.ceo | www.cr811.com | www.76543j.com | 66876.com | 3550068.com | 38989g.com | hgw89.com | www.910576.com | www.048.com | www.v88134.com | www.3170002.com | www.xhtd68.com | 6220p.com | 8037nnn.com | 2381o.com | 6177010.com | www.210639.com | www.976500.com | www.7239f.com | www.07679q.com | www.5099cc.com | www.999133.com | www.512988.com | 87680q.com | 22117v.com | 9539012.com | 670916.com | 5443o.com | www.196902.com | www.c5237.com | www.68568y.com | www.hg7226.com | www.958.net | www.6606488.com | www.49936.com | www.sun5507.com | www.60088hg.com | 658606.com | 3379ll.com | 22117q.com | 3482i.com | 1591ppp.com | 1775gg.com | 444000r.com | www.526197.com | www.cp3.xyz | www.8667i.com | www.66376f.com | www.997287.com | www.0600h.cc | www.46630.org | www.19019y.com | www.998855m.com | www.362234.com | www.609sunbet.com | www.122445.com | www.4107j.com | www.6175cc.com | www5144.com | www.jsh922.com | www.9374r.com | www.365109d.com | www.x552.com | www.wn99yyy.com | www.366086.com | www.08111.com | www.60884.com | www.938h.cc | www.pj88d.com | www.v98.me | www.2507777.com | www.362bbb.com | www.169101.com | www.32365.Com | www.08588d.com | www.930xj.com | www.901387.com | www.558401.com | www.153680.com | 9003t.com | 9149u.com | 4023x.com | blhvip444.com | 4717.com | 500000458.com | 7811rr.com | www.9976733.com | www.hg4748.com | www.345007.com | www.27363n.com | www.3066ww.com | www.h36524.com | www.rfdc05.com | www.3668w.com | www.731030.com | www.135125.com | 6177002.com | 线路1005.com | 86611f.com | 2349012.com | www.k8084.com | www.0860l.com | www.10852b.com | www.4963s.com | www.8905a.com | www.705wb.com | www.664by.com | www.540377.com | zz6199.com | 1463m.com | 51133vv.com | 2381xx.com | www.x552.com | www.bst62.com | www.9570115.com | www.9606.tw | www.ya002.com | www.202435.com | 3056.com | 998i.cc | 3ttlcp.com | www.hg24500.com | www.kj4949.com | www.n80288.com | www.709wb.com | www.959553.com | 7742w.com | xpj72.com | 7726018.com | www.86611y.com | www.hg2381.com | www.hg98091.com | www.5856872.com | www.fhfh8.com | 7196cc.com | 838388i.com | 5fll8.com | www.pjbet3388.com | www.6123fff.com | www.109007.com | www.66509.cc | www.151376.com | 2613h.com | 52599l.com | www.388365.net | www.w4042.com | www.cb600.cc | www.c4520.com | 531288.com | 7720m.net | 5446e.com | www.xpj395.com | www.30350t.com | www.9478m.com | www.33112o.com | 2546e.com | 26444g.com | www.11119ee.com | www.332337.com | www.5177.cc | 2383oo.com | z21148.com | www.hg990077.com | www.19880s.com | www.789977.cc | www.599581.com | 2355t.com | 88851e.com | www.16297711.com | www.5189222.com | www.3126c.com | 9694a.com | 3435z.com | www.hg5958.com | www.9966.so | www.80767l.com | www.52303a.com | link01.png | www.857558.com | www.609024.com | www.60007z.com | 50128c.com | ttt1915.com | www.ra888vip.com | www.7334f.com | www.3668t.com | xj001a.com | 8522ssss.com | www.451199.com | www.u63568.com | www.564696.com | 7xh.vip | www.4495h.com | www.4212u.com | www.5484g.com | 2805p.com | 97799f.com | www.0820.com | www.1178058.com | www.43818i.com | 55967z.com | www.sb276.com | www.6868.tw | www.456685.com | tzvip2022.com | www.63877h.com | www.1429g1.com | www.843552.com | 38989n.com | www.hgw2088.net | www.43468.com | www.980797.com | 58898.com | www.0099hg.com | www.4058c.com | www.821260.com | 1259r.com | www.hgw0088.me | www.ba309.com | www.395411.com | 3662u.com | www.ts66888.com | www.82439.com | 22558332.com | bet577w.com | www.55526o.com | www.688dl.com | y7063.com | www.yh677.com | www.12136o.com | www.083037.com | 728012.com | www.999530.com | www.2350h.com | 4018b.com | www.05058006.com | www.q63568.com | 22299jj.com | 082371.com | www.4963ee.com | www.683717.com | iii1915.com | www.79138.com | www.50052j.com | oo44442.com | www.32126e.net | www.7350.vip | 500000572.com | 77229.com | www.7225v.com | www.310383.com | 22ww8332.com | www.668cp66.com | www.701775.com | 6487.com | www.sun181.com | www.c5235.com | 3033d.com | www.xf01.com | www.2955.cc | 5429j.com | www.iwin168.net | www.9149n.com | 20160913.site | www.0686888.com | www.07163d.com | 3844ee.com | www.20288r.com | www.2408b.com | 9646t.com | www.hg4118.com | www.w459.com | 4036j.com | www.esb125.com | www.627297.com | 08159p.com | www.8888yh.com | www.lcw199.com | LXYL351.com | www.60886r.com | 3983011.com | www.4763000.vip | www.4923o.com | 5856j.com | www.77888js.com | www.0719.cc | 53262c.com | www.3846p.com | www.330672.com | 5589x.com | www.7036e.com | 998l.cc | www.7830s.com | www.33598z.com | 879.com | www.662889.com | www.500823.com | 2698t.com | www.78885.com | 3304w.com | www.e2229e.com | www.c6449.com | 53059.com | www.ba008.com | tongfamr.com | www.733665.com | www.21202w.com | 3467k.cc | www.99113b.com | yd11666.com | www.bet365602.com | www.07163r.com | 3957v.com | www.2hg6668.com | 2998a.com | www.15221760232.com | www.hjin1.com | 33dd8331.com | www.42070010.com | 1389z.com | www.3589111.com | www.219055.com | www.0686222.com | www.66653j.com | 3352.com | www.sha2244.com | 9398800.com | www.111356.com | www.543411.com | 55339193.com | www.66332r.com | 35222gg.com | www.xj7004.com | 11hh8332.com | www.xx4499.com | www.77803a.com | www.yh2198.com | www.den60.com | 2190d.com | www.ytrich.com | 13222c.com | www.89677a.com | 86811v.com | www.6666hs.com | 33382y.com | www.40033.1640033.com | www.599436.com | www.yh66605.com | www.3478m.cc | 2381ff.com | www.bj299.com | 9506u.com | www.3846b.com | r88.com | www.80188y.com | so8888.cc | www.xy047.com | 18438YL.com |