Creating Files in .NET
Creating Files in .NET
Creating Files in .NET
Creating Files in .NET
Creating Files in .NET
Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET
Creating Files in .NET Creating Files in .NET
Creating Files in .NET
Go Back  Xtreme Visual Basic Talk > > > Creating Files in .NET


Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2004, 09:43 PM
SolarCoasters SolarCoasters is offline
Centurion
 
Join Date: Oct 2002
Location: Florida
Posts: 164
Default Creating Files in .NET


I'm new to VB.NET and am a bit confused because it seems very different then V.6. Is creating and opening a file done differently in .NET because i tried the old code:

Code:
Dim intFNum As Integer intFNum = FreeFile Open "path" For Output As #intFNum Print #intFNum, value Close #intFNum

and that doesn't seem to work. How is saving and loading of files done in .NET?
Thank you
Reply With Quote
  #2  
Old 01-22-2004, 10:21 PM
Optikal's Avatar
OptikalCreating Files in .NET Optikal is offline
Codeaholic

Retired Leader
* Guru *
 
Join Date: Oct 2002
Location: Winnipeg, MB, Canada
Posts: 4,543
Default

In .Net is is done VERY differently. Rather than try and give you a tutorial here, I'll just give you a pointer to the appropriate section in MSDN, it explains everything you could want to know about File I/O in .Net.

http://msdn.microsoft.com/library/en...asicfileio.asp
__________________
There are 10 types of people in this world, those that understand binary, and those that don't.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Creating Resource Files in Visual Basic Glade Tech Discussions 1 12-07-2007 02:52 AM
Creating Form to export data to 2 text files. jlegan General 1 04-16-2003 10:37 AM
Creating files. meteo General 7 08-15-2002 01:07 AM
Required files burningodzilla General 11 09-12-2001 05:51 PM
Creating HTML help files Roscoe General 1 04-03-2001 02:51 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Creating Files in .NET
Creating Files in .NET
Creating Files in .NET Creating Files in .NET
Creating Files in .NET
Creating Files in .NET
Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET Creating Files in .NET
Creating Files in .NET
Creating Files in .NET
 
Creating Files in .NET
Creating Files in .NET
 
-->