Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-02-2002, 06:18 PM   #1
usual suspect
 
hobey19's Avatar
 
Join Date: Jun 2002
Location: not here
Posts: 2,051
Question visual basic problem

alright, i have a prblem w/ vb in excel, that is what we use in my college course. i am making a program which takes input from a notepad file, and it is on my floppy, the same location as the program itslef. now i type the progrm (here is my statement by the way: open "funds.txt" for input as 1), so it all looks good, and then we have ouput as well. so i close excel to make sure my output worked properly, and then i reopen excel to play w/ teh spacing a bit, and when i try to run teh program it says "error '53' file not found" it says that funds.txt can't be found. does anyone know a way to correct this so i can rerun my program. i would like to mess with it a bit more before i turn it in tomorrow, any help would be very appreciated.
__________________
the universe is against this current wave of success i'm having. -johnny drama, entourage
hobey19 is offline   Reply With Quote
Old 10-02-2002, 07:41 PM   #2
Member (10 bit)
 
GSXdan's Avatar
 
Join Date: Jun 2002
Location: P-burg, Ohio, USA
Posts: 555
Send a message via AIM to GSXdan
adding A:\ in front of funds.txt, so it looks like: open "A:\funds.txt" for input as 1 will fix that. it needs to be specific about where to look unless it is on your hd and in the same folder as the saved excel file.

^dan
GSXdan is offline   Reply With Quote
Old 10-02-2002, 07:43 PM   #3
usual suspect
 
hobey19's Avatar
 
Join Date: Jun 2002
Location: not here
Posts: 2,051
thanx dan, i appreciate it. this worked perfectly, and everything is going just great. problem solved
hobey19 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:24 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2