Results 1 to 2 of 2

Thread: transparency, BitBit() and number sorting

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Location
    UK
    Posts
    38

    transparency, BitBit() and number sorting

    1. Transparency
    Will a gif with a transparent background still have a transparent background on a form? If not then how can i get transparent backgrounds?

    2. BitBit()
    Unless it is very complicated and hard to explain could you show how to use BitBit() for animation?

    3. number sorting
    i have this code:
    VB Code:
    1. Dim dblAns As String
    2. Dim intDig As Integer
    3. Dim dbl As String
    4. dblAns = "2856457889"
    5.  
    6. For intNum = 1 To Len(dblAns)
    7.      intDig = Mid(dblAns, intNum, 1)
    8.          
    9.      If (intDig Mod 2) = 0 Then
    10.           If Len(dbl) Then
    11.                dbl = dbl & ", " & Format(intDig)
    12.           Else
    13.                dbl = Format(intDig)
    14.           End If
    15.      Else
    16.            dbl = dbl & Format(intDig)
    17.      End If
    18. Next intNum
    19.  
    20. MsgBox "The numbers are:" & dbl
    it splits the number 2856457889 into 2, 85, 6, 457, 8, 89
    even numbers start a new number
    rather than putting the split numbers into a string and displaying it in a msgbox i want it to load a new txtbox eg. txtNum fo each number.

    thnx 4 help and i hope this post is more successful than last time

  2. #2

    Thread Starter
    Member
    Join Date
    Mar 2002
    Location
    UK
    Posts
    38
    also is there some code so you can shut down the computer when you click on a command button?

    might come in useful...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width