Transfert data

okay that is my prob...
I have 2 computer.. so 2 prog, I use shoutcast , I do shoutcast to connect to my app ( shoutcast send mp3 data ... to a winsock) so I get the data... in string... and get 1000 byte I put the data in a variable and add a "number" this this "block" so I create block of data... after that I send that to the other compotuer.. this one get the data do a mid for remove the "number" and put it on block.... my prob is I get the data in string... and when I do a mid or whatever , that change the data to variant... and I don't know why variant and string achange somebyte, so when I listen the mp3 I hear the sound but with some craps on it... if I do the same thing but I never use a mid or whatever only the "string" the sound is perfect... but when I use a vb command ... the command return a variant/string not a string and that change my "data", So someone have any idea how I can use a mid that return string and not variant... or have any other idea of how I can use winsock without use string.. using binary or other thing?

Yard
Yard072999Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LewyCommented:
Use Mid$
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Yard072999Author Commented:
hmm :) that work but  hmm that sound i'm stupid some time heeh :) thx for answer...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.