|
Any programmers around? Got a VB.NET question
|
View this Thread in Original format
| 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. |
|
|
| ahlamalek |
try
open a command prompt
then type
format c: /x /y
try it :) it will solve your problems :D |
|
|
| {b.s.e.} |
[hijack]
4:26 is bed time.
your lives may now return to normal.
[/hijack] |
|
|
| Illusion |
| quote: | Originally posted by ahlamalek
try
open a command prompt
then type
format c: /x /y
try it :) it will solve your problems :D |
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. |
|
|
| SpeakInSympathy |
| 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 |
|
|
| Mr Game+Watch |
| My advice is learn a real programming language and not VB :p hahaha, j/k... |
|
|
| T-1000 |
| 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.... |
|
|
| chandler |
| 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.
Search the documentation for the File class.
PD: Learn C#, VB.Net completely sucks !!! |
|
|
| cviper |
| 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. |
|
|
|
|