<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.72890.com | www.hg77750.com | 3522cc.com | www.81233y.com | 28yuce.wang | www.329477.com | www.hg7857.com | 1463m.com | www.984706.com | vipvip2222.com | www.bxcp3.com | www.4625x.com | www.91233e.com | www.045888.com | l15666.com | www.839282.com | 99111ii.com | www.965160.com | www.272424.com | 11989m.com | www.83377t.com | 28288p.com | www.775377.com | www.11p1.cc | yqw998.com | www.hg1115.com | 0080i.com | www.395477.com | www.48968.com | 4995g.com | www.1368g.cc | www.ii7966ii.com | 8557i.com | www.99788q.com | www.yl78776.com | 68228j.com | www.w32031.com | s47479.com | www.364343.com | www.85857n.com | 22098q.com | www.fcyl2.com | www.3844k.com | 7894j.com | www.hg810.com | www.3569f.com | 00885004.com | www.525995.com | www.j85757.com | 66300vip37.com | www.18456.com | www.4123020.com | 22883z.com | www.07679u.com | oo5144.com | d7cc | www.81608e.com | www.8124h.com | 921350.com | www.37377t.com | www.v3304.com | 22749.com | www.55228g.com | www.3421n.com | 9030a.com | www.3890f.com | www.xpj2033.com | 00048i.com | www.332930.com | www.00778n.com | vnsr44888.com | 6js345.com | www.ampj3436.com | www.xpj63.com | 205115.com | www.153918.com | www.30350y.com | www.8494x.com | 7744ddd.com | www.lczg8.com | www.35252l.com | 131sss.net | 22299mm.com | www.vip4331.com | www.9679j.com | hhgz98.com | www.420421.com | www.1754m.com | www.63877z.com | 2019kk.cc | www.661661a.com | www.3333yh.vip | www.86611z.com | jdb58.com | www.igcp6.com | www.2350.com | www.333222u.com | 38365h.com | www.730265.com | www.33678gg.com | www.msc44.la | 67877a.com | 2618w.com | www.46689.com | www.17711.com | p7890.com | xpj677z.com | www.80075w.com | www.k948k.com | 2268.com | sha134.com | www.616383.com | www.0600k.cc | www.396789.com | yf2111.com | 118888x.com | www.qbwc2.com | www.4058ff.com | www.v1878.com | 65560066.com | 66775004.com | www.984jc.com | www.1851136.com | www.333133h.com | 49964.com | 81511d.com | www.2155.cc | www.http://459155.com/ | www.3335js.com | yy38648.com | 0234u.com | www.871660.com | www.14168d.com | www.hnjxjd.cn | 7945kk.com | 22299kk.com | www.135125.com | www.60108g.com | www.00773b.com | www.330099i.com | 66136xpj.com | 99151s.com | zz180.com | www.8039n.com | www.v00888.com | www.hg6266.com | www.g6tk.com | 2141133.com | x48m.com | 80850bb.com | www.927877.com | www.520860.com | www.xy045.com | www.7545q.com | 1077ee.com | 4289r.com | bojue009.com | 496oo.com | www.912486.com | www.908296.com | www.10999s.com | www.27177c.com | www.bh33345.com | hg77703.com | s99345.am | 2677eee.com | www.805595.com | www.6653e.com | www.32638.com | www.9ag88.com | www.vns6036.com | 6218w.com | 7042004.com | 44p88.cc | 3522pp.com | 1147.com | www.287916.com | www.544bb.cc | www.88065b.com | www.0055sun.com | www.4212m.com | www.66050.com | www.dzc67.com | www.qian00.com | p2824.com | ii8159.cc | 2544411.com | 08530003.com | 1429m.com | www.139670.com | www.808910.com | www.59191.cc | www.909938.com | www.9187d.com | www.8884hj.com | www.49936.com | www.2846hh.com | www.39695u.com | www.0686222.com | 3180.com | 3089m.com | 8765blr.com | 7003d.com | www.5049x.com | www.6y7y.cc | www.1594k.com | www.0860n.com | www.yyy7777.com | www.7435e.com | 1654o.com | 2848bbb.com | mgm3242w.com | 11ll8331.com | 3770099.com | 56787ff.com | 4242hd.com | 647768.com | 3202h.com | 1408v.com | dzj15.com | 1305009.com | 914910.com | 3473z.com | 2757r.com | 1389w.com | bj2222.com | 67890jjj.com | 1331ee.com | 2jsaaa.com | 2021.com | 5219z.com | j7726.com | 5856ooo.com | 55967u.com | 82997.com | 4809l.com | 922310.com | 35252.com | 58801.com | www.pj5907.com | www.pjfujian.com | www.ra1116.com | www.jnh885.com | www.8882244.com | www.63msxfptb.com | www.56655c.com | www.85jsjs.com | www.bwinyz32.com | www.29977.com | www.707772.com | www.ampj.com | www.50026p.com | www.022bj.cc | www.610330.com | www.339713.com | 1697.com | 78116655.com | 7508w.com | 5856s.com | 8722eeee.com | 4634455.com | www.8694n.com | www.6178007.com | www.90903.com | www.hwx66.com | www.dzj0110.com | www.44118i.com | www.8998828.com | www.60007p.com | www.c6449.com | www.196501.com | LXYL365.com | 52688s.com | 54146688.com | 3838jsc.com | www.55268tt.com | www.000943.com | www.d32939.com | www.56011a.com | www.49956p.com | www.763605.com | 6150h.com | 3778dd.com | yhgansu.vip | 1305444.com | www.mng44.com | www.957938.com | www.792063.com | www.89338.com | www.hcw778.com | 767365.com | 66665.biz | da611.com | www.333133g.com | www.59505e.com | www.w84v.com | www.5xce.com | www.68568u.com | 18438333.com | y2537.com | www.vn89969.com | www.378878.com | www.63606m.com | www.5522q.cc | 0109js.com | 8015r.com | 667766d.com | www.amzr33.com | www.4963j.com | www.hg99976.com | www.756059.com | 0033g.cc | 635288.com | www.7669h.net | www.67df.com | www.15355e.com | www.444081.com | blr878.com | 7942.com | www.10050813.com | www.566733.com | www.2109i.com | 2012bet5.com | 38365w.com | www.pj5901.com | www.c44jj.com | www.2418n.com | www.444059.com | 1259h.com | 22556b.com | www.49484.com | www.pj88p.com | www.635852.com | 1222r.com | 7141yy.com | www.817711.com | www.68993258.com | www.234329.com | feicai0790.com | hwcp33.com | www.0063501.com | www.69567c.com | www.972283.com | xl4166.com | 11pp8332.com | www.446677.com | www.1764.com | www.375736.com | 44335156.com | www.234374.com | www.bwinyz32.com | www.778811aa.com | u4212.com | 1479u.com | www.j4042.com | www.50026t.com | 2649x.com | 2127123.com | www.77333.com | www.33311.com | v7742.com | 777659111.com | www.tyc528.com | www.4331w.com | js848.vip | 655661122.com | www.33224066.com | www.321.ceo | 4338099.com | a5429.com | www.474922.com | www.68568s.com | 9912304.com | 8036kk.com | www.1168s.com | www.wct3.com | rf036.com | www.hg8707.com | www.hg6833.com | www.110832.com | 0559688.com | www.766577.com | www.52511.com | x48n.com | www.39695s.com | www.833bbb.com | amxsyl0.com | 00bb8331.com | www.4963h.com | www.807266.com | 3957u.com | www.00868.com | www.53900k.com | 8988ll.com | www.223456j.com | www.858674.com | 9121902.com | 3222p.cc | www.083377.com | www.027079.com | 62222p.com | www.79500i.com | www.717671.com | 30019jj.com | www.zuqiu988.com | www.717772.com | 4018zz.com | www.86778.com | www.927150.com | c82365.com | www.345446.com | www.918361.com | 992222m.com | www.hv588.com | www.684544.com | 7742cc.com | www.tyc723.com | www.215077.com | 59889w.com | www.8645004.com | bet365yazhou.com | www.fh6666.com | www.68993239.com | y6840.com | www.g32365.com | www.977hf.com | 57157t.com | www.44c668.com | www.439863.com | 37570a.com | www.8c666.com | 2851b.com | www.7111d.com | www.1035aa.com | 3775l.com | www.o32939.com | 65366.com | www.4444wnsr.com | www.68568s.com | 3412288.com | www.a7793.com | www.254499.com | 75991q.com | www.48330c.com | gg2949.com | www.343888.com | www.399047.com | 66300vip27.com | www.hg118444.com | n72227.com | www.http://976880.com/ | www.77114e.com | www.js522.com | www.73736c.com | 67890o.com | www.hjdc2005.com | 3178zz.com | www.30370000.com | www.529121.com | 69.am | www.50074g.com | 3405ff.com | www.b7764.com | 33382c.com | www.xx4499.com | www.035069.com | www.bwin599.com | www.lu126.com | 30007w.com | www.63683.com | 4018m.com | www.456vip.com | 7249.com | www.uuuu9999.com | youfa99.vip | www.13558u.com | www.511622.com | www.060xpj.com | www.75gcw.com | 2851k.com | www.6126.com | a6622.com | www.abc3588.com | 20778800.com | www.9895y.com | 2490a.com | www.hga22200.com | yyh914.com | www.c555.cc | 10050532.com | www.dzcp1111.com | 2019a.cc | www.i92776.com | 3304mm.com | www.b526688.com | 8742f.com | www.79500.net | 111122aa.com | www.19019q.com | 38238y.com | www.4136r.com | 670916.com | www.7415t.com | 6322.com | www.115527q.com | 7893w19.com | www.97994c.com | 4488qq.com | www.4361.co | 50099h.com | www.7239e.com | jjj8827.com | www.61233q.com | 0033t.cc | www.832793.com | www.76543i.com | www.239644.com | www.901008.com | 0011886.com | www.5588135.com | 0434344.com | www.b35bb.com | 7742ee.com | www.x98478.com | 8989774.com | www.8499j.com | www.laok222.com | www.570126.com | www.sun3388.com | 61329999.com | www.938d.cc | g67890.com | www.38775pp.com | 8801885.com | www.36788y.com | 5429o.com | www.446769.com | www.y0001.cc | hd229.cc | www.792050.com | 66185a.net | www.5854c.cc | www.hg008808.com | qq365d.com | www.85857s.com | y6660.com | www.7256.com | 1770g.com | www.235892.com | www.hv866.com | rbbet22.com | www.hg0295.com | feicai0410.com | www.599487.com | www.118668.com | 6175t.com | www.4520088.com | 8036h.com | www.375951.com | www.d6969.com | 71372225.com | www.23636vip.com | www.p8867.com | 1018xpj.com | www.86339r.com | 023280.com | www.342377.com | www.i7793.com | shen6600.com | www.7793m.com | www.5y.cc | 0015rr.com | www.flb907.com | 4546vip4.com | 75991h.com | www.7225e.com | 6572g.com | www.508433.com | www.39277.com | js4136.com | www.782w.com | www.236js.com | 0554xc.com | www.50054p.com | www.7025y.com | yhningxia.vip | www.959320.com | www.hg6513.com | 3614a.com | www.798344.com | www.030xpj.com | 67877p.com | www.v0066.tv | www.63877v.com | www.50052i.com | www.666107.com | 44488x.com | 4488622.com | www.r999990.com | www.yz488.com | 148535.com | www.68993258.com | www.56520a.com | 4066qq.com | www.50051x.com | www.888vip7.com | 4675j.com | www.c177.com | www.77731v.com | a5aaa.com | www.202423.com | www.704904.com | www.5000bjl.com | cp36936.com | www.81678q.com | www.hg7033.cc | pp4119.com | www.675066.com | www.19019p.com | 28758c.com | vip66702.com | www.hg1177.com | www.632042.com | w14666.com | www.328806.com | www.88325i.com | www.hg8880.biz | x8519.com | www.1wcp.com | www.7779799.com | feicai0358.com | 23225.com | www.550021p.com | www.xpj1507.com | 5003bb.com | www.csw288.com | www.1764a.com | www.06797r.com | 3568o.com | www.c67801.com | www.668puj.com | www.9679z.com | 5888.ch | www.52072q.com | www.9989589.com | www.66146.net | e72227.com | 188qq33.com | www.78949h.com | www.883122dd.com | 0080y.com | 3304mm.com | www.ch8234.com | www.38138a.com | www.vns994.cc | 61789d.com | www.209703.com | www.bjl917.com | www.gf949888.com | 2997700.com | 66300vip39.com | www.ch8345.com | www.45598h.com | www.r8867.com | 32555a.com | 272yy.net | www.3890r.com | www.9737mm.com | www.7893w28.com | 3534h.com | 99888p.me | www.26878q.com | www.8850w7.com | www.1366i.com | 4255ff.com | 2820c.com | www.ya160.com | www.104665.com | www.1hg88.us | 3178kk.com | 1705l.com | www.377591.com | www.975510.com | www.51500.com | www.am0677.com | dz3222.com | 1408c.com | www.569829.com | www.9533888.com | www.668hyc.com | www.y1155.com | 9309208.com | h4255.com | www.582833.com | www.633594.com | www.98698v.com | www.09569u.com | 7989.com | 074o7.com | 7792x.com | www.943077.com | www.1115.com | www.lyjcp.cc | www.5651e.com | 4997q.com | 1017.com | 2127kk.com | www.576120.com | www.81678h.com | www.77658yy.com | www.558575.com | www.3aobo.com | 54241133.com | 66300vip41.com | 6668009.com | www.941718.com | www.9192666.com | www.7788msc.com | www.404msc.com | www.vns6266.com | 2234yh.com | 30175544.com | 70.net | www.137101.com | www.flcb4.com | www.0601h.com | www.ao3399.com | www.856046.com | www.yh6118.com | 22556u.com | 88993v.com | pjxinjiang.com | 2140099.com | www.160326.com | www.hy2733.com | www.7714b.com | www.074546.com | www.l5504.com | www.03688.com | www.32126d.net | nn2205.com | 3404t.cc | 115959.com | 61320099.com | 1483u.com | www.186372.com | www.926799.com | www.50051r.com | www.sd58qp.com | www.80188g.com | www.7779566.com | www.ym777.cc | www.5955333.com | www.zr9933.com | 2543009.com | dz576.com | 3552s.com | y7454.com | 88850dd.com | 4255hhh.com | 8988444.com | www.178275.com | www.769117.com | www.371v.cc | www.50026y.com | www.959595.bet | www.3421b.com | www.s80288.com | www.5099vv.com | www.998855m.com | www.89790.com | www.ozhou7.com | www.vns8489.com | www.817368.com | www.bb1365.com | www.yqf2.com | 6177004.com | 30006n.com | 923930.com | 4131.com | 2359.com | 518cp1.com | 983888m.com | 655660044.com | df8l.com | 00048f.com | v2351.com | 11683355.com | hga018.com | 58-mm.com | yhfujian.vip | 2490u.com | 5804w.com | 2545.com | 76543y.com | 66876u.com | 88905151.com | k83377.com | www.3435222.com | www.1941vip.com | www.18735528058.com | www.3983139.com | www.060xpj.com | www.js662.com | www.1xinhao.com | www.benz4455s.com | www.xpj88001.com | www.zr305.com | www.js36022.com | www.tyc1116.com | www.dbz9.com | www.agcpw.com | www.9b001.com | www.1851113.com | www.m2894.com | www.99094d.com | www.pj99e.com | www.86267q.com | www.3479r.com | www.979683.com | www.618477.com | www.87668a.com | 2019ii.cc | 6594tt.com | 88335156.com | 9679j.com | v1778.com | 009900q.com | www.737.am | www.7607633.com | www.777567.com | www.27363h.com | www.r1432.com | www.198a56.com | www.07163u.com | www.779zf.com | www.652631.com | www.68689e.com | vv2649.com | 4255lll.com | 7555i.com | 44ff940.com | www.kk2233.com | www.lianhua1.com | www.www335505.com | www.7334g.com | www.bb4625.com | www.ttcp88.co | www.857380.com | www.51515o.com | 4066r.com | 867wn.com | 2018mxc.com | www.df4566.com | www.8888888b.com | www.hdcp886.com | www.38775zz.com | www.80767w.com | www.910883.com | HB97399.com | 3678w.com | 3352.com | bm1394.com | www.1495s6.com | www.ck555.com | www.siji.ceo | www.5095a.com | www.209983.com | 1408d.com | r1915r.com | 0311v.com | www.443709.com | www.365066.bet | www.882918.com | www.cp718.vip | 34311.com | 00773c.com | 3245j.com | www.55268xx.com | www.9418cp.com | www.29468.com | www.cp67.cc | 3544p.com | 66287d.com | lehu556.com | www.js423.com | www.689660.com | www.23636vip.com | www.76520i.com | 6002r.com | 2247i.com | www.006083.com | www.10999i.com | www.50732p.com | www.039079.com | JS1388g.com | 26444a.com | www.0153.com | www.60886h.com | www.fh7577.com | 7935a.com | 6664553.com | www.pjdc1188.com | www.01885f.com | www.68993237.com | www.620239.com | 0234k.com | 046967.com | www.77888js.com | www.47506l.com | www.085wy.com | 61652c.com | 7202004.com | www.sb279.com | www.89677n.com | www.9478r.com | 6446dd.com | 167605.com | www.h7788h.com | www.10999h.com | www.1368a.cc | 6150d.com | 80368b.com | www.mgm777l.com | www.5700666.com | www.901068.com | 35252l.com | 2373k.com | www.hg8249.com | www.2418r.com | www.112028.com | 89777a.com | www.256333.com | www.10999i.com | www.gyfc8.com | 320006.com | 2381t.com | www.lj558.com | www.99677q.com | yh777.com | 00048y.com | www.1010160.com | www.h6640.com | www.030953.com | 4255aa.com | www.pj3364.com | www.p94600.com | www.299078.com | 4955p.com | www.55268ww.com | www.js89q.vip | www.376513.com | 4136k.com | www.677100.com | www.9350.vip | www.kc88y.com | jjj4165.com | www.6137f.com | www.0601s.com | express.com | mf705.com | www.n9478.com | www.5578w.com | 33432o.com | www.un1515.com | www.3066zz.com | www.603614.com | aa4119.com | www.xhtd05.com | www.708wb.com | 5598510.com | 6177009.com | www.686102c.com | www.584511.com | 7555r.com | www.88528oo.com | www.50064q.com | 2355e.com | www.20088hg.com | www.565548.com | www.m.cp533pc.vip | 98955b.com | www.55526s.com | www.c3069.com | 89777a.com | www.1294xi.com | www.50052l.com | 500000597.com | www.4x0048.com | www.68993276.com | 30019xx.com | www.o168a.com | www.52062p.com | 9645nn.com | 21866i.com | www.31361.com | 55331hh.com | ff555w.com | www.9895a.com | 31325e.com | jjjj004.com | www.63606y.com | love102.com | www.sjs05.com | www.42456688.com | 76548.com | www.hg00188.com | www.3333bj.com | 1407j.com | www.330099h.com | www.50051s.com | 5622d.com | www.9411.am | www.hcjt0.com | 1860365.com | www.r456x.com | www.305922.com | 2290.com | www.44118k.com | dj0009.com | www.25673d.com | www.919699.com | 032656.com | www.50tyc.com | www.811257.com | 52599s.com | www.10999r.com | 23800u.com | www.85770x.com | www.25688e.com | 18438r.com | www.166663.com | www.451599.com | am9.cc | www.e63568.com | 61828.info | www.feilipu4.com | www.937160.com | ojbk188.com | www.5182889.com | 83377p.com | www.4972hh.com | www.7782x.com | 4255jj.com | www.4136v.com | x5505.com | www.00829b.com | www.5441h.com | 00773p.com | www.18955.bet | 3928722.com | www.5888868.com | www.758786.com | 7935g.com | www.6889771.com | blhvip66.com | www.155417.com | 9694i.com | www.21365uu.com | www.cpyz1.com | bopaihang.com | www.057v.com | y7742.com | www.qj2.co | 082373.com | www.hg8475.com | www.642977.com | 8185v.com | www.67258b.com | 3467h.com | www.vnsr378.com | hg2018.cc | www.2945j.com | 2677eee.com | www.16297744.com | www.535267.com | www.sjs06.com | www.5095x.com | 7508a.com | www.5555bj.com |