Results 1 to 5 of 5

Thread: How to append to prn file

  1. #1

    Thread Starter
    Fanatic Member pradeepkrao's Avatar
    Join Date
    Sep 2001
    Location
    New Jersey
    Posts
    534

    How to append to prn file

    I dont know where to ask this question...

    any way here it is..


    how to apppend a prn file to another prn file..
    So that I canview it in Ghost Viewer..


    Thanks,
    Pradeep
    Learn by others experience as you cannot live long to experience them all.
    www.freewebs.com/pradeepkrao

    LOOK AT MY GAMES AT MY WEB SITE.

  2. #2
    Lively Member Algar's Avatar
    Join Date
    Jun 2003
    Location
    A place that never existed
    Posts
    127
    VB Code:
    1. Dim var1 As String
    2.  
    3. Open "C:\File.prn" For Input As #1
    4.     var1 = Input$(LOF(1), 1)
    5. Close #1
    6.  
    7. Open "C:\FileToWriteTo.prn" For Append As #1
    8.     Print #1, var1
    9. Close #1

  3. #3

    Thread Starter
    Fanatic Member pradeepkrao's Avatar
    Join Date
    Sep 2001
    Location
    New Jersey
    Posts
    534

    Hae

    Hae..

    Can i then view it in Ghost Viewer..
    Learn by others experience as you cannot live long to experience them all.
    www.freewebs.com/pradeepkrao

    LOOK AT MY GAMES AT MY WEB SITE.

  4. #4
    Lively Member Algar's Avatar
    Join Date
    Jun 2003
    Location
    A place that never existed
    Posts
    127
    You'd have to use Shell to open Ghost Viewer and then open the file with SendMessage.

  5. #5

    Thread Starter
    Fanatic Member pradeepkrao's Avatar
    Join Date
    Sep 2001
    Location
    New Jersey
    Posts
    534

    Hi

    Well i'll give a try..
    Learn by others experience as you cannot live long to experience them all.
    www.freewebs.com/pradeepkrao

    LOOK AT MY GAMES AT MY WEB SITE.

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