Results 1 to 3 of 3

Thread: Insert Image into a text file

  1. #1

    Thread Starter
    Hyperactive Member ravi15481's Avatar
    Join Date
    Aug 2002
    Location
    INDIA
    Posts
    421

    Red face Insert Image into a text file

    hi friends,

    i have a form in vb where i am taking some images(gif,jpeg) along with some other info and then i need to save the info as well as those images in a single file(it is a proprietary file)

    can anyone help me how can i insert images into a singel file and again i need to retrive those images also from that single file.

    thank u

  2. #2
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818
    Do you have to store the images in the file ?

    If not, you could use the Resource Editor to store them, where each picture is given a unique number, and then you could recall them as and when necessary.

    Obviously this is no good if you HAVE to store them with the file, but I thought I'd ask

  3. #3
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    VBNET has sample code for combining an image into text in one file:

    http://www.mvps.org/vbnet/code/file/combine1.htm

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