Results 1 to 2 of 2

Thread: using a text string as object

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2009
    Posts
    21

    using a text string as object

    hi,

    i have an online file with the text "Version_Label=1.2.3"

    now i want to use the returned data from:
    Code:
    versiontext = split(webclient1.downloadstring("www.blabla.com/version"), "=")(0)
    for

    Code:
    versiontext.text = split(webclient1.downloadstring("www.blabla.com/version"), "=")(1)
    and then Version_label has as text "1.2.3"

    any idea how to?

    thnx

    Greets, Marco

    Edit: I'm using .net framework 3.0

  2. #2
    PowerPoster keystone_paul's Avatar
    Join Date
    Nov 2008
    Location
    UK
    Posts
    3,327

    Re: using a text string as object

    I've no idea what the question is.. can you elaborate?

    Your two code snippets are basically the same except the first one presumably sets a string variable called "verisiontext" to "Version_Label", and the second snippet sets the text property (presumably of a textbox) to "1.2.3"

    You say that you want Version_label to have as text 1.2.3 - what is Version_label? The only reference to anything like that in your example is the actual content of the text file.

    What are you actually trying to do?

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