<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 www.095335.com | www.vns7552.com | www.99094h.com | 68742.com | www.7111d.com | www.756202.com | www.629554.com | www.hx1113.com | www.www-728855.com | www.783709.com | www.hg5100.com | 7720v.net | www.k3374.com | yk801.com | www.s9478.com | 3807pp.com | www.789q.com | 4630000.com | www.bwin950.co | 9007570.com | www.9997058.com | 69443366.com | www.r999996.com | 66287g.com | www.6653d.com | 365bet800.com | www.25688c.com | 54140055.com | www.589344.com | www.9679n.com | 28758a.com | www.9822ae.com | 8159uuu.cc | www.61233k.com | 3535394.com | www.087079.com | www.19019f.com | 33337893.com | www.2350l.com | www.u30226.com | zhcw.com | www.3w26.com | 01885l.com | www.5441p.com | www.1347-02.com | www.80075v.com | www.c1724.com | 9922477.com | www.50051x.com | www.8124b.com | c2490.com | www.73990k.com | x3855.com | www.534554.com | www.5550515.com | 33313m.com | www.61233l.com | www.2229193.com | 20174466.com | www.22ok22.com | www.bet1699.com | amhj.cc | www.673888q.com | 33599jj.com | www.60996.cc | www.hg726.com | 3568k.com | www.2418z.com | www.vns918.com | 6269ee.com | www.184088.com | www.vns8896.com | 8988ll.com | www.154405.com | www.7669e.net | 3m412.com | www.5095o.com | www.5966kkk.com | 6261ee.com | www.377034.com | www.11599125.com | d5429.com | www.511622.com | www.2737012.com | 50000029.com | 6132.com | www.7240l.com | www.83008a.com | 19990e.com | www.hx5577.com | www.79500q.com | dsdh2.com | 2127dd.com | www.80065m.com | www.9679y.com | 7599zz.com | www.66ffm.com | www.999966.com | 44002007.com | yth12.net | www.t201.com | www.pj6667.com | swtyxxx.com | www.028082.com | www.16065q.com | www.ljw038.com | 6396w.com | 1333m.com | www.9484.com | www.xz1088.com | 55991381.com | 5478z.com | www.3a435.com | www.yt7488.com | zhe988.com | 62105.com | www.26299x.com | www.71585.com | 0652y.com | www.378017.com | www.586806.com | www.48234h.com | 2776i.com | 131nn.net | www.2350i.com | www.55060s.com | www.365815g.com | 5856zzz.com | www.384918.com | www.6888772.com | www.733400.com | swin6.com | sha9922.com | www.500109.com | www.805sun.com | www.msc229.com | eee40033.com | 2648.com | www.160wt.com | www.365055.bet | www.wn0003.com | 3416r.com | 29918y.com | www.23636vip.com | www.99c51.com | www.hg4111.com | sjg003.com | js26732.com:9885天天代理.com | www.hg09b.com | www.xj2233.com | 2019h.cc | 4775522.com | www.80065v.com | www.03czj.com | www.31361.com | www.7770099.com | jjs1111.com | amhg033.com | ly88888829.com | www.160wt.com | www.hr1333.com | www.751cp5.com | www.453009.com | 97618o.com | 4255ff.com | 5429r.com | 55331hh.com | www.919709.com | www.12136o.com | www.068340.com | www.h7788v.com | 159666q.com | 06385454.com | 0080e.com | www.541619.com | www.9149l.com | www.6939g.com | www.35700c.com | www.972992.com | www.vns353.com | 30006g.com | 69444455.com | 55545g.com | 6487ooo.com | www.34788v.com | www.ya638.com | www.4546600.com | www.98698w.com | www.hg0450.com | b3405.com | pj09922.com | 30006a.com | P35.com | www.608850.com | www.983439.com | www.blr5544.com | www.79500a.com | www.6676.cc | www.631155.com | 20774499.com | 983888a.com | 3788mm.com | 80878h.com | v997d.com | 36403355.com | amjs8822.com | www.193161.com | www.984jc.com | www.87096.com | www.bet353656.com | www.6667758.com | www.3383066.com | www.06820g.com | www.ylg134.com | www.z5777.com | www.578811.com | www.jg6655.com | www.bet365601.com | www.ag6051.com | 18438a.com | 66458q.com | 22556p.com | 3121x.com | 2381oo.com | 4023z.com | 0559688.com | 97789.com | 78666k.com | 78249.com | 78930007.com | 6261qq.com | cq9.com | v997d.com | 9420y.com | 33599tt.com | 88807a.com | youfa222.vip | 9958999.com | 3033d.com | 3846rrr.com | 839555.com | t99345.am | 2905.cc | 35441444.com | www.7435h.com | 44555156.com | www.5319tt.com | www.38077x.com | www.kj33.com | www.58665e.com | www.pj6667.com | www.27363a.com | www.bwinyz03.com | www.1434t.com | www.32031q.com | www.80030066.com | www.52072r.com | www.885pz.com | www.666937.com | www.543122.com | 139975.com | 777.com | 6220.com | pu0012.com | 35222mm.com | JS1388.com | 6647g.com | www.g83138.com | www.320288.com | www.haomen2002.com | www.bwinyz10.com | www.065795.com | www.498700.com | www.8039x.com | www.656by.com | www.550437.com | 551567.com | ll7742.com | 73055w.com | 69111a.com | www.4123020.com | www.16297711.com | www.4963yy.com | www.531bbb.com | www.07163t.com | www.530534.com | 3024h.com | 0080u.com | 9649l.com | www.m1.10500ww.org | www.y6007.com | www.480505.com | www.bjl917.com | www.99jtb.com | www.35155o.com | xxxx0122.com | 5564.com | www.4625q.com | www.1488msc.com | www.55060d.com | www.7434.com | www.616144.com | 3434eee.com | e4212.com | 47749g.com | www.xhf5555.com | www.77007.com | www.abc3588.com | www.coz5.com | 1483y.com | 4444c9.com | www.1869t.com | www.9679o.com | www.80969u.com | www.610859.com | www.flcb5.com | www.188712.com | 08159r.com | 500000559.com | www.611msc.com | www.hg98029.com | www.25688o.com | www.307683.com | bet99949.com | swin1.com | www.88021ii.com | www.06820l.com | www.2350n.com | 775081.com | 883399l.com | hy5900.com | www.102666.com | www.48330n.com | www.498266.com | 66300vip41.com | 00048d.com | www.iwin168.net | www.xyh6001.com | www.661661a.com | 22556h.com | 40033ff.com | www.00829a.com | www.38138k.com | www.35155j.com | 3169h.com | 3522600.com | www.09569d.com | www.4078c.com | www.84499q.com | www.167686.com | 1483t.com | www.6033l.com | www.pj928.com | www.62118d.com | www.178736.com | 5350e.com | www.ag9611.com | www.bwinyz27.com | www.911209.com | 316c.cc | www.hga376.com | www.vns6603.com | www.rcw678.com | aobo77777.com | www.dz829.com | www.32688.cc | www.502433.com | rrr5701.com | www.h30226.com | www.jsdc9555.com | www.26878i.com | hg7088.com | www.hg8423.com | www.69465.com | 8040eee.com | www.yh77706.com | www.4996xz.com | www.550417.com | afcp10.com | www.9988619.com | www.m77929.com | 36401133.com | www.9566409.com | www.79095s.com | www.659477.com | 82365u.com | www.hg9168.com | www.168749.com | p1458.com | www.xpj4444.cc | www.xpj8856.com | 1219.com | 32689a.net | www.800544.com | www.278688.com | z8381.com | www.163771.com | www.cp7777b.com | 8538q.com | www.kj07.com | www.857981.com | 4812b.com | www.yh8426.com | www.52303z.com | 047107.com | www.32666x.com | www.77801m.com | 4289e.com | www.hg5532.com | www.26299m.com | bojue5.com | www.644055.com | www.qucp5.com | 51133zzz.com | www.5504y.com | www.394577.com | tt6837.com | www.4996gg.com | 9002r.com | 1064.com | www.37266a.com | 619579.com | 11449193.com | www.7876389.com | 647468.com | www.0686999.com | www.222335.com | 35252e.com | www.900566.com | www.35155h.com | 88119o.com | www.312288a.com | www.593477.com | shun8.com | www.45598b.com | 5003xx.com | www.9996gg.com | www.45258.cc | mm1915.com | www.9737ww.com | www.389244.com | huc288.com | www.1033.app | 582466.com | www.902488.com | www.552432.com | jjjj004.com | www.16065c.com | 3412233.com | www.cp505.com | 3650583.com | www.20.tt | www.982pk.com | xpj61788.com | www.32326.com | xinvip9.com | www.androidappforxgsaimahui.com | www.286967.com | www.js96333.com | www.25688g.com | k00333.com | www.2566y4.com | 55268zf.com | www.58665w.com | hg2017.cc | www.358nn.com | www.544669.com | www.555545.com | www.3552a.com | 8901w.com | www.8905s.com | 4647i.com | www.65066ss.com | 7335x.com | www.3066037.com | 822365.cc | www.pj2598.com | www.320662.com | www.bl45.com | www.616144.com | www.35000.cc | www.826556.com | 2851p.com | www.00840d.com | 2649i.com | www.81233m.com | dx059.com | www.8d868.com | blhkh1679.com | www.ihg5599.com | 22098q.com | www.806765.com | 3568xx.com | www.99094m.com | 3890j.com | www.k98478.com | r14666.com | www.4833044.com | 55797j.com | www.2655268.com | xpj61788.com | www.29178d.com | 55818n.com | www.16wa.com | www.kj638.com | www.599840.com | www.333133n.com | www.196095.com | www.xb0020.com | 22556o.com | www.118sjz.cc | 35543.com | www.662412.com | 5554136.com | www.4521p.com | 38365j.com | www.1429.com? | 2569005.com | www.988046.com | feicai0734.com | www.979500.com | www.dwc4.com | blr6644.com | www.163888nn.com | 118888c.com | www.8099777.com | 3775622.com | www.86267z.com | 5651d.com | www.554363.com | www.f88yule9.com | 3550h.com | www.209752.com | hg792.com | www.xb8899.com | 88113885.com | www.500227.com | www.1829w.com | 80850g.com | www.v1028.com | 80368fa.com | www.clh1.com | www.93yh.cc | 30019xx.com | www.64566.bet | 7893w51.com | www.2188cai.com | www.n22365.com | 4499buyu.com | www.808888c.com | 3890t.com | www.16878d.com | www.hg806.com | www.090392.com | www.911137.com | 2240044.com | www.53531.cc | www.005966.com | 3405aaa.com | www.130256.com | 7989d.com | www.557894.com | www.60333.com | 3304c.com | www.35918r.com | www.w22365.com | 80567d.com | www.bet779.com | qy192.vip | 33sb.com | www.am9888.tw | by309.com | www.375967.com | www.l456x.com | 82365t.com | www.976981.com | www.522118.com | 56560524.com | www.6364v.com | www.xb0022.com | 6868zz.cc | www.77114l.com | www.xh7738.com | 15856h.com | www.86267z.com | www.swin988.mobi | xin98776.com | www.84141.com | www.427567.com | 20776633.com | www.1444ac.com | www.js1108.com | 8015h.com | www.5086c.com | www.3456j.com | ii4255.com | www.986420.com | www.js5599.vip | 33kk8331.com | www.258031.com | www.22cp163.com | 76886d.com | www.025069.com | www.5517.com | www.jh829.com | 3122mm.com | www.88065b.com | www.22235b.com | hwcp2222.com | www.769179.com | www.5099bb.com | 2934x.com | 3556js.com | www.606010.com | www.88837w.com | 69441199.com | www.771645.com | www.hg98029.com | 7945.com | ss8159.cc | www.75538c.com | www.hg7849.com | 0048633.com | www.109027.com | www.5446l.com | www.h7788h.com | 81366j.com | www.710230.com | www.wank3.com | hg91668.com | 80567d.com | www.9155f.cc | www.1222l.com | 83377s.com | 1095528.com | www.68365k.com | www.32666n.com | ggg1915.com | www.444079.com | www.js89h.vip | www.58777w.com | 6487ppp.com | www.66332e.com | www.81608m.com | www.hg5728.com | 91019j.com | 7792g.com | www.08588x.com | www.27363q.com | 1705v.com | 8547s.com | www.513550.com | www.9187m.com | www.yf2112.com | 189788.com | 4136j.com | www.can80.com | www.4996kf.com | www.4625k.com | 3435k.com | 3844t.com | www.5095r.com | www.04567e.com | www.9976799.com | 55967l.com | blm800.com | www.2934o.com | www.6880tt.com | www.tyc717.com | 998w.cc | 2618e.com | www.810609.com | www.0612f.com | www.1829w.com | 7989y.com | 22883g.com | www.77114a.com | www.50051t.com | www.848777p.com | www.7025c.com | by399.cn | 91019h.net | www.251750.com | www.50051hh.com | www.tycyl.cc | www.0860v.com | 80850a.com | 6647v.com | www.87668v.com | www.51331.com | www.k063801.com | www.sancaishop.com | 6403n.com | 8888c9.com | 998l.cc | www.567206.com | www.yun1818.com | www.hg173e.com | www.20161122.com | 55818o.com | p888ab.com | 95766.com | www.594211.com | www.86267w.com | www.80188f.com | www.8422a.com | www.999ldz.com | 22332007.com | 80850qq.com | baizun456.com | www.aa3890.com | www.xpj16688.com | www.174886.com | www.vns3333.cc | 0241.com | swtyyyy.com | 1133589.com | www.025938.com | www.tlcp4.com | www.8977500.com | www.biying900vip.com | www.737770.com | www.98699.com | 4023.com | 2222k7.com | 1036878.com | ylzz6.cc | www.031069.com | www.967333.com | www.80065t.com | www.0600b.cc | www.28000d.com | www.98qxw.com | www.tyc8808.com | 2555.com | youle296.com | hg345.com | pj75.com | 33xx8332.com | 55545f.com | www.2109o.com | www.530.cc | www.3421e.com | www.04567m.com | www.7726e.com | www.76543f.com | 79889b.com | 8905z.com | 11683399.com | 77606j.com | 559805.com | r2490.com | 168cp-h.com | www.50080u.com | www.558413.com | www.am8080.com | www.9478y.com | www.4323r.com | www.62778822.com | www.7036s.com | www.4828668.com | www.caipiao88f.com | www.58atv.com | www.sands6789.com | www.ajs5.com | www.9996ww.com | www.7720q.com | 7935u.com | 9737003.com | 9339999t.com | 9339999f.com | 7003rr.com | 4340s.com | 3765.com | 4196t.com | 4590ii.com | 3405zz.com | 67888c.cc | 23599i.com | 7240t.com | 3640ww.com | nn3336.com | 0729z.com | 23599i.com | 2214o.com | 51133x.com | 9068s.com | n21148.com | 7726018.com | v5429.com | yhjiangxi.vip | bet28o.com | hg5009.com | 13822.com | 88807s.com | v01234.com | 4633344.com | www.ylg2206.com | www.112211b.com | www.654bet.com | www.4972uu.com | www.kelake55.com | www.58767.com | www.346788.com | www.ag6215.com | www.915395.com | www.hg8oo.com | www.cn365d.com | www.xj6005.com | www.blr0044.com | www.28229.com | www.?junzi8888.com | www.15355m.com | www.fcyl0.com | www.623660.com | www.207881.com | 44ss8331.com | 8881240.com | 1463n.com | 64640029.com | 55967q.com | 2864d.com | 5002400.com | www.xpj9878.com | www.848959.com | www.490034.com | www.28000y.com | www.861002.com | www.4988a.cc | www.5854l.cc | www.653436.com | www.33588e.com | 52599g.com | d2127002.com | 40033dd.com | 3434hhh.com | www.xpj3333.cc | www.hg68111.com | www.79900.com | www.969709.com | www.amjs339.com | www.33112m.com | www.739915.com | 58830.com | 4270qq.com | 4590xx.com | e2894.com | www.4111.cc | www.683210.com | www.00773k.com | www.tai1177.com | www.5095p.com | www.493600.com | 4195cc.com | jing7776.com | qmbc4.com | www.lhg555.com | www.292030.com | www.4972j.com | www.77424.com | www.15237.cc | www.383566.com | 0747aa.com | 55323u.com | 66876.com | www.93yh.cc | www.yk222b.com | www.3775e.com | www.66yfz.com | www.43131f.com | 59599o.com | 2146i.com | www.223456m.com | www.78854.com | www.6868.tw | www.995sj.com | 888.tf | 228888u.com | 2019k.cc | www.9785999.com | www.sbbet138.com | www.56011a.com | www.022xj.cc | 60959999.com | 641.com | 8827mm.com | www.135suncity.com | www.06820f.com | www.9356a.com | ribo60.cc | js89w.vip | 4116q.com | www.88597.com | www.07679n.com | www.930xj.com | 1316131.com | 3389.live | www.ylhg0808.com | www.000xy8.com | www.68993253.com | www.579031.com | 1259c.com | 2373y.com | www.77518f.com | www.758908.com | www.177888a.com | 3552c.com | 00ss8331.com | www.vv2649.com | www.32031v.com | www.917052.com | qpby2233.com | 588mmm.cc | www.sands6789.com | www.68888.am | www.685948.com | 138.am | ff555p.com | www.hg6733.com | www.hg6014.com | www.236844.com | q1458.com | www.5554dhy.com | www.7415tt.com | www.1368r.cc | 1294f.com | 8905p.com | www.1114338.com | www.585.cc | 667766x.com | 2jsxxx.com | www.48599.com | www.11599099.com | www.369062.com | 1813r.com | www.zzzz0265.com | www.4521g.com | www.635477.com | 23233i.com | www.5777933.com | www.u80288.com | www.813230.com | 86811vv.com | www.63877b.com | www.2776.cc | www.610330.com | 8040hhh.com | www.8694l.com | www.288582.com | www.305388.com | jjj40033.com | www.226833.com | www.4331b.com | 4694.com | 3304x.com | www.998855j.com | www.2373w.com | 88535g.com | www.7435e.com | www.pjgw55.com | www.460689.com | 4255nnn.com | www.11114100.com | www.CK1432.COM | 4195z.com | xpj70064.com | www.55060j.com | www.607217.com | ll4119.com | www.156kai.com | www.50074b.com | 61999ff.com | www.pjanhui.com | www.aa00668.com | www.71233o.com | 8988r.com | www.97cp456.com | www.995773.com | 9646t.com | www.rf0388.com | www.61655n.com | 00048w.com | www.yh8217.com | www.3775p.com | 6363go.com | 66577.cc | www.07679o.com | 64111g.com | 3016ccc.com | www.http://443598.com/ | www.178352.com | gg3888.com | www.3157e.com | www.309825.com | 01885x.com | www.5099xx.com | www.289917.com | 685555.com | www.bet63q.com | www.77803a.com | 5168555.cc | www.vip9586.com | 1813bb.com | 59599q.com | www.yzqhyz.com | 5443qq.com | www.hg44401.com | www.065925.com | 38238d.com | www.qqqqkkkk.com | www.66376x.com | tzvip2028.com | www.09528.cc | www.c300.vip | 1294d.com | www.6776kk.com | www.87668o.com | js29391.com | www.087l.com | 5004oo.com | www.yh7088.com | www.50048.com | 3640ww.com | www.cp67773.com | www.215602.com | 6977555.com | www.7240a.com | 7894z.com | www.hg30567.com | www.892070.com | 33382l.com | www.91779.com | 2078b.com | www.7111k.com | www.yi765.com | 998v.cc | www.888688.cc | 22571333.com | www.jz352.com | www.c299.com | 20550452.com | www.69567m.com | blhvip9.com | www.hg0780.com | www.739915.com | feicai0532.com | www.666999qipai.com | 1017v.com | www.zfzx365.com | www.187132.com | www.bh22678.com | www.61655m.com | 57157s.com | www.4058hh.com | kk38648.cc | www.49559.com | www.436106.com | www.k8.com | www.36788k.com | 38054913.com | www.dingxin999.xin | 1592.com | www.8886567.com | 51122.com | www.p27229.com | www.c2809.com | ff555e.com | www.ya2019d.com | 3640s.com | www.47506i.com | 88559hd.com | www.640suncity.com | 41178982.com | www.78am9999.com | www.655101.com | 121ccc.com | www.6364l.com | 588qqq.cc | www.CK1432.COM | 4255qqq.com |