VBʵʱ½ØÈ¡´°ÌåºóÃæµÄͼ×÷Ϊ´°Ìå±³¾°
Ò²ÊǾÍVB¼Ù͸Ã÷Ч¹û,ºÇºÇ
Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long Private Sub Form_Load() Me.Hide Me.AutoRedraw = True BitBlt Me.hDC, 0, 0, Screen.Width, Screen.Height, GetDC(0), 0, 0, vbSrcCopy sFile$ = "C:\" & Format(Now, "yyyymmddhhmmss") & ".BMP" SavePicture Me.Image, sFile MsgBox "µ±Ç°ÆÁĻͼÏñÒѾ±£´æµ½" & sFile, 64 End End Sub ½ØÈ¡Ç°£¬½«±¾Éí×îС»¯ http://download.csdn.net/source/987375 ÎÒ·¢µÄÄǸöºÃÏñ²»¶Ô£¬Ò²Ã»×Ðϸ¿´£¬ºÇºÇ http://topic.csdn.net/t/20030725/12/2070709.html 1Â¥´úÂëºÃÏñ²»Ì«ºÏÊÊ ÈýÂ¥µÄ,ÕýÔÚ¿´ ²»ºÏÊÊ˵³öÀ´,ÎÒÔÙ°ïÄãÕÒ ÒýÓà ÈýÂ¥µÄ,ÕýÔÚ¿´ ¿´ÍêÁË,Ò²²»Ì«ÊµÓà ÎÒÔÚ´°ÌåÀï·ÅÁËÒ»¸öflash¿Ø¼þ²¢Éè³É͸Ã÷µÄ£¬ÏÖÔÚÏë°Ñ±³¾°Ò²¸ã͸Ã÷£¬Ö±½Ó͸Ã÷ºÃÏñ×ö²»µ½£¬ËùÒÔÏëµ½ÁËҪʵʱ½ØÆÁ£¬ºÇºÇ£¬ËãÊǷ´°¿Ú͸Ã÷°É ÄÇÊÇÄãû°ÑÎÊÌâ˵Çå³þ Õ¾ÄÚ×Ô¼ºËÑË÷Ò»ÏÂ"͸Ã÷´°Ìå" ÒýÓà ÎÒÔÚ´°ÌåÀï·ÅÁËÒ»¸öflash¿Ø¼þ²¢Éè³É͸Ã÷µÄ£¬ÏÖÔÚÏë°Ñ±³¾°Ò²¸ã͸Ã÷£¬Ö±½Ó͸Ã÷ºÃÏñ×ö²»µ½£¬ËùÒÔÏëµ½Á
Ïà¹ØÎÊ´ð£º
Printer.ScaleMode = 6 6±íʾºÁÃ× Printer.PaperSize = vbPRPSA4 '³õÊ¼×ø±ê x = 1 y = 4 '×î´óµÄÏß¿ð Printer.DrawStyle = 0 Printer.Line (x, y)-(x + 132.5, y) ......
vbдµÄ³ÌÐò±àÒëºó,ÔËÐÐÈô³ö´í,ÈçºÎÖªµÀµ½ÔÚÄÄÒ»ÐÐ? °´Ctrl+F5Ô¤±àÒ룬³ö´íʱ»áÌø×ªµ½´íÎóÐÐ ²»ÊÇÄÇÑùµÄÁË,ÎÒÊÇÒªÇó±àÒë³ÉEXEºóÔËÐÐ,Ìáʾ³ö´íÄÜ·ñÌáʾ´íÔÚÄÄÒ»ÐÐ. ÎÒ±àÒëºóÔÚÎҵĵçÄÔÉÏÔËÐÐûÎÊÌâ,µ«Ô ......
ÒªÓÃvb´òÓ¡Ò»ÌõÏߣ¬³¤¶ÈÊÇ100ºÁÃ×Ôõôд£¿ ¹Ø×¢ VB code: Printer.ScaleMode = vbMillimeters Printer.Line (10, 10)-(110, 10) Printer.ScaleMode = vbMillimeters Print ......
VBżѧµÃ²»´í£¬ÏÖÔÚ´óÒ»£¬¸ßÈýµÄʱºò¾ÍѧVBÁË£¬ÏÖÔÚѧУÀï¶¼ÊÇѧC#ºÍVB.NETµÄÐֵܶࡣ¡£¡£ żҪתÐÐVB.NETÁË~µ±ÄêѧVBѧÁË2Ä꣬¶ÔVBÀïÃæµÄ³£Óú¯Êý¶¼Ê®·ÖÁ˽⡣ Select¡¢If½á¹¹¡¢For NextÑ»·¡¢µÈ¶¼Á˽⡣¡£¡£ ......
"insert into user1(name,age) values('" & Text1.Text & "','" & Text2.Text & "' )" ÎÊÌ⣺¶ÔsqlÓï¾äÖе¥¡¢Ë«ÒýºÅÄ£ºý¡£¼ÈÈ» Text1.Text¾Í±íʾ ......