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

vbÑéÖ¤ÂëÖÆ×÷ÇóÖú

Private Sub CreateValidImage(ByVal checkCode As String)
  Dim iWidth As Integer = checkCode.Length * 15
  Dim image As New Bitmap(iWidth, 25) 'ͼƬ´óС
  Dim g As Graphics = Graphics.fromImage(image)
  g.Clear(Color.White)
  Dim c As Color() = {Color.Black, Color.Red, Color.DarkBlue, Color.Green, Color.Red, Color.Brown, Color.DarkCyan, Color.Purple}
  Dim font As String() = {"Verdana", "System", "Comic Sans MS", "Arial", "ËÎÌå"}
  Dim rand As New Random()
  Dim j As Short
  For j = 0 To checkCode.Length - 1
  Dim tmpPoint = New Point()
  Dim cIndex As Short = rand.Next(8)  
 Dim fIndex As Short = rand.Next(5)  
 Dim f As New Font(font(fIndex), 12, FontStyle.Regular) '12°õ£¬Ð±Ì壩
  Dim b As New SolidBrush(c(cIndex))  
  Dim dg = rand.Next(10, 50)
  If (rand.Next(0, 2) = 0) Then
  tmpPoint.x = 12
  tmpPoint.y = -6
  Else
  dg = -dg + 1
  tmpPoint.x = -10
  tmpPoint.y = 6
  End If
  g.RotateTransform(dg)
 


Ïà¹ØÎÊ´ð£º

vb crystalreport - .NET¼¼Êõ / VB.NET

Private Sub btnPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPrint.Click
  MouseWait()
  Dim ClearTempTabelSQL As String
  'If Not ......

vb - VB / »ù´¡Àà

vbÖÐ ÏÖÔÚÎÒÒª°ÑÊý¾Ý¿âÀï´æ´¢µÄÒ»¸ö¸½¼þµÄÄÚÈÝÌæ»»ÁË£¬Ôõô×ö£¬Ö»ÊÇÌæ»»ÎÒÖ¸¶¨µÄλÖ㬲»ÊÇÈ«²¿Ìæ»»
Ç뽫ÎÊÌâ˵Ã÷°×£¬´æ´¢×ֶθñʽ£¬Èç¹ûÊÇBinary¸ñʽµÄ±È½ÏÂé·³£¬Èç¹ûÊÇ×Ö´®£¬Ö±½ÓÌæ»»¡£×îºÃ²»Òª½øÐÐÖ¸¶¨Î»ÖÃÌæ»»¡ ......

vb - VB / »ù´¡Àà

Êý¾Ý¿âÀïÓÐÒ»¸ö×ֶεÄÄÚÈÝÊǶþ½øÖÆ£¬Ôõô²ÅÄܰÑÕâ¸ö¶þ½øÖƶÁ³öÀ´
ʹÓÃ×Ö½ÚÁ÷¶ÔÏó¿ÉÒÔʵÏÖ

ÀýÈçÏÖÔÚÊý¾Ý¿âÀïÓиö×ֶεÄÄÚÈÝÊÇ0x504B03040A0000000800407F263C3B02465390000000820000000A0000006273CECACCE22E7478 ......

vb ÖÐ - VB / »ù´¡Àà

dim a as string,b as string£¬c as string
a="¹¤³Ì±àºÅ,µ¥Î»¹¤³ÌÃû³Æ,·Ö²¿¹¤³Ì±àºÅ"
b="µ¥Î»¹¤³ÌÃû³Æ"
c="µ¥Î»"
Ôõô²ÅÄÜÅжϳöa×Ö·û´®ÖдæÔÚb×Ö·û´®£¬¶ø²»´æÔÚc×Ö·û´®

¿´¿´i ......

vb and tc - VB / »ù´¡Àà

ÇëÎÊÒ»ÏÂvbºÍtcµÄÆ­ÒëÓïÎÊÓÐʲô¾ßÌåµÄÇø±ð¡£
                                      & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ