Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] Can´t send strings + list of strings
#2
I don't understand exactly what you are trying to do, but I understand the error. The function GetFileList doesn't return a string but a list of strings meaning a collection of strings. So, you can't concatenate a string with a list. However, if you wanted to do the SendData for each item in the GetFileList here is the correct code:
Code:
For Each str as String in GetFileList(SplitData(1)) 'we loop through all items in the list returned by GetFileList
  SendData("Add|" & str) 'we call SendData individually for each item
Next
I hope this helps.
My software company: Porosis Software
Games: Terrantula
Apps: Mathanasis, ColorGrabber
Reply


Messages In This Thread
RE: [NEED HELP] Can´t send strings + list of strings - by thanasis2028 - 08-02-2010, 11:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Visual Basic] Send An Email [Tutorial] Coding Support 9 3,908 06-29-2011, 09:27 AM
Last Post: Black Ghost
  [How to] Create random strings(upper,lower and integers)[Src] Modestep 11 2,948 05-14-2011, 02:17 AM
Last Post: モrainee
  [TUT] How to make a program that send emails [VB.Net] Yoshi 42 19,674 04-14-2011, 05:34 PM
Last Post: Emily
  [Tut] Generating Random Strings (200 Random Results = LIMIT) [Tut] Resistance 7 1,861 04-12-2011, 03:18 PM
Last Post: Resistance
  [Tut] How To Save Settings and Strings in Your Form [Tut] Resistance 7 1,860 03-26-2011, 11:05 AM
Last Post: Resistance

Forum Jump:


Users browsing this thread: 2 Guest(s)