|
-
May 22nd, 2016, 02:46 PM
#1
Thread Starter
PowerPoster
[RESOLVED] Problem moving File using vb 6
I have manually moved the file
I am trying to move a text file( Customer.dat) to a new location and cannot get get the LOF(miFilenumber) to stop displaying 0
Public Sub LoadMyFile
Open cusfile For Random As #miFilenumber Len = Len(gCustomer)
Debug.Print Len(cusfile) ' displays 94
Debug.Print Len(gCustomer) ' displays 547
Debug.Print LOF(miFilenumber) ' displays 0 should display 48230
path to old file location C:\Program Files (x86)\Microsoft Visual Studio\VB15\addressbook\AppFolder\Customer.dat
path to new file location: C:\Users\Public\Documents\Personal\Contacts\Customer.dat
what am i doing wrong ?
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|