Results 1 to 7 of 7

Thread: String to Image

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2007
    Posts
    1

    String to Image

    How can i Convert String To Image in VB 6.0 OR VB.Net

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: String to Image

    Welcome to the forums.

    A string to an image?

    You mean convert "Welcome to the forums" to an Image?

    I think we need more details on your request.

  3. #3
    New Member
    Join Date
    Nov 2007
    Posts
    8

    Re: String to Image

    Simple if statements would surely be the solution...

    Code:
    If text1 = "string1" then
         picture1.visible = true
    else
         If text1 = "string2" then
              picture2.visible = true
         else
         End If
    End If

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: String to Image

    Ahhhhh.....if that is what the OP meant, then I understand. I would take a different approach however. Something like
    Code:
    Select Case Text1.Text
         Case "String1"
               Picture1.Visible = True
         Case "String2"
               Picture2.Visible = True
    'etc
    End Select
    @sudeshksd: Is this what you mean?

  5. #5
    Lively Member
    Join Date
    Aug 2005
    Posts
    126

    Re: String to Image

    Perhaps he means something similar to 'Wordart' in Word

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: String to Image

    How does that work?

  7. #7
    Frenzied Member
    Join Date
    Oct 2003
    Posts
    1,301

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