I think vb7 has some weird way of opening a file for input. The same code as vb6 won't work for it
See I got
Open "file1.txt" for input as #1
but it says
'Open' is not declared.
*sigh* If only Microsoft stuck with one standard.
___________________
Courageous, untroubled, mocking and violent; that is what Wisdom wants us to be. Wisdom is a woman, and loves only a warrior.
--Friedrich Nietzsche
___________________
Wave is to particle as zero is to one as bagpipes are to modem noises.
Feb-07-2004 10:30
Illusion
tranceaddict
Registered: Feb 2002
Location: Land of Oz
quote:
Originally posted by ahlamalek
try
open a command prompt
then type
format c: /x /y
try it it will solve your problems
Unfortunatly that procedure doesn't achieve the particular result I'm looking for. But thanks for replying. I know geniuses such as yourself don't have much free time.
___________________
Courageous, untroubled, mocking and violent; that is what Wisdom wants us to be. Wisdom is a woman, and loves only a warrior.
--Friedrich Nietzsche
Feb-07-2004 11:12
SpeakInSympathy
tranceaddict
Registered: Jan 2004
Location: Kentucky, U.S.A.
Damn .net...To tell you the truth, i just stick to 6...i didn't want to relearn everything i knew. You know since .net is so different...Anyway, sorry dude, i can't help...My advice is use vb6
___________________
Currently Working on:
DJ Ecstortionz - Summer Overture trance mix
Feb-07-2004 11:35
Mr Game+Watch
Luka Luka * Night Fever
Registered: Nov 2002
Location: Long Island, NY
My advice is learn a real programming language and not VB hahaha, j/k...
Registered: Jun 2003
Location: In the wrong place at the wrong time
Re: Any programmers around? Got a VB.NET question
quote:
Originally posted by Illusion
I think vb7 has some weird way of opening a file for input. The same code as vb6 won't work for it
See I got
Open "file1.txt" for input as #1
but it says
'Open' is not declared.
*sigh* If only Microsoft stuck with one standard.
I'm sure you'd find answers on Technet/MSDN and abundant other related sites. Just google it....
___________________
Few of my all time favorites:
Benz & MD - Oneric
Madoka - Plataforma
Solid Globe - North Pole
Quivver - Space Maneuvers Part 3
Digital Witchcraft - Brindavan (Grayarea's Purge the Inventory Mix)
Feb-07-2004 22:22
chandler
Senior tranceaddict
Registered: Apr 2001
Location: Web developer ... progressive lover .. full (nigth)time raver !!!
Re: Any programmers around? Got a VB.NET question
quote:
Originally posted by Illusion
Open "file1.txt" for input as #1
but it says
'Open' is not declared.
That's not the way to open a file anymore, with DotNet you have several classes under de System.IO namespace.
Re: Re: Any programmers around? Got a VB.NET question
quote:
Originally posted by chandler
PD: Learn C#, VB.Net completely sucks !!!
Out of all languages, why choose another one invented by microsoft?
If you want to mess with graphics the easy way, learn Java, or if you want to get really serious, look at C/C++. Either way, you'll be able to program on non-windows platforms.
___________________
The fears of the past are the dreams of the future