Results 1 to 2 of 2

Thread: Problem in reading and writing files

  1. #1
    HowardAllen is offline Senior Member
    Join Date
    Dec 2009
    Posts
    196
    Rep Power
    3

    Default Problem in reading and writing files

    Problem in reading and writing files in VB6

    I am writing a program in VB, in that I try to open and change the text file, I do not get any problems, until Discovery also has no problems at closing, as well as there is a problem when I started to edit this file and click To save the changes that time I face this problem, I unable to save any changes to these files, can any give me a code or sample code to solve this problem, and Also tell me why I stand before the problem of reading and writing Files in VB6?

  2. #2
    MyersGray is offline Senior Member
    Join Date
    Dec 2009
    Posts
    197
    Rep Power
    3

    Default

    1) I give you short but simple code to use it and try the code in your project, it will help you to reduce the compile time and also reduce the code of line, each time write short but useful code it will help you to decreasing the compile time of your application.

    Dim txtstrmtr As String
    Open FILNAM For Input As #1
    txtstrmtr = Input(LOF(1), #1)
    Close #1

Similar Threads

  1. Problem deleting some files
    By Daevon Vettori in forum Hard Disk
    Replies: 0
    Last Post: 08-03-2009, 10:39 AM
  2. Problem when writing ISO images
    By Garrison Bravo in forum Windows Vista
    Replies: 1
    Last Post: 07-24-2009, 10:13 AM
  3. The drive for reading and writing DVD-DL
    By Devante Swann in forum Hard Disk
    Replies: 4
    Last Post: 06-17-2009, 01:09 PM
  4. Replies: 4
    Last Post: 05-02-2009, 10:43 AM
  5. Problem in reading a DVD disc
    By alfie57 in forum Everything Else
    Replies: 1
    Last Post: 04-20-2009, 11:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48