LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 380 users online 221746 members 516 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Solomon Grundy
Cool Things: Sainsbury's home brand Cider. Han...
Mood: Plain
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
4 online / 18 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

vb6 run time error 13
Replies: 0Last Post Feb. 9, 2007 1:52am by Link01
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( Link01 )


Time Lord

Patron
Reply

Code:
Open "games.csv" For Input As #1

totvalue = 0

While Not EOF(1)
       
   totvalue = totvalue + cost
   
   Input #1, Console, Game, price, Age, Genre, cost, Condition, quantity

 
lstGame.AddItem Console & Game & price & Age & Genre & cost & Condition & quantity
   
   Console(x) = Console(x) + "                 "
   
   Console(x) = Left(Console(x), 19)
   
   Game(x) = Left(Game(x) + "               ", 16)
   
   price(x) = Left(price(x) + "              ", 14)
   
   Age(x) = Left(Age(x) + "              ", 16)
   
   Genre(x) = Left(Genre(x) + "              ", 17)
   
   cost(x) = Left(cost(x) + "              ", 14)
   
   price(x) = Left(price(x) + "              ", 14)
   
   quantity(x)=left (quantity(x) "   ",3)

   Wend

I keep getting runtime error 13. I have done a similar program before. So i baes it on that it won't work help.

-------
Doctor who - Wibbly Wobbly Timey Wimey!
used to show time travel's effects.


1:52 am on Feb. 9, 2007 | Joined: Feb. 2006 | Days Active: 1,045
Join to learn more about Link01 Wales | Straight Male | Posts: 37,840 | Points: 48,133
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic