dcsimg
Results 1 to 7 of 7

Thread: String to Image

Hybrid View

  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
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    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.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  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
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    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?
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  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
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: String to Image

    How does that work?
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  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
  •  



Featured


Click Here to Expand Forum to Full Width