Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8305511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:07:56+00:00 2026-06-08T18:07:56+00:00

I am relatively new to Visual Basic. Currently working on visual studio 2005. I

  • 0

I am relatively new to Visual Basic. Currently working on visual studio 2005. I have an application that sends text message to a client (on our domain) using TcpClient in Visual Basic. As far as text is concerned, I can send it with ease and the client receives it. However, I am intending to send pictures to the client and force them to save at a specific location. Any suggestions regarding how to do this in VB. Many Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:07:57+00:00Added an answer on June 8, 2026 at 6:07 pm

    Read the picture into a byte array, send the byte array and then save the byte array to file at the other end. Some (untested) sample code from this site to do the conversion:

    Private Function BytesToImage(ByVal ImageBytes() As Byte) As Image
        Dim imgNew As Image
        Dim memImage As New System.IO.MemoryStream(ImageBytes)
        imgNew = Image.FromStream(memImage)
        Return imgNew
    End Function
    
    Private Function ImageToBytes(ByVal Image As Image) As Byte()
        Dim memImage As New System.IO.MemoryStream
        Dim bytImage() As Byte
    
        Image.Save(memImage, Image.RawFormat)
        bytImage = memImage.GetBuffer()
    
        Return bytImage
    End Function
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working in Visual Studio 2005 and have added a text file that needs
I am still relatively new at VB.Net and Visual Studio and I'm assuming that
I'm relatively new to using C/C++. I'm currently using Visual Studio 2010 and am
I am relatively new to Visual Basic. When it comes to logging, in Java
I am a relatively new user of Visual Studio and I am trying program
We have a relatively new database project that we have been writing views and
I have to create an application for testing that is relatively simple. If a
Visual Studio 2008 - framework 3.5 - Visual Basic Hi! I have a problem
Ok, I'm relatively new to using the mysqlpp library that is used in Visual
Good morning all. I'm relatively new to the Visual Basic realm (although a traditional

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.