Click here to Skip to main content
15,885,278 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralTAPI in VB.NET Pin
pht99999-Nov-04 14:56
pht99999-Nov-04 14:56 
GeneralRe: TAPI in VB.NET Pin
Dave Kreskowiak10-Nov-04 3:10
mveDave Kreskowiak10-Nov-04 3:10 
Generalsharing folder Pin
Paps29-Nov-04 14:18
Paps29-Nov-04 14:18 
GeneralRe: sharing folder Pin
Dave Kreskowiak10-Nov-04 3:03
mveDave Kreskowiak10-Nov-04 3:03 
GeneralRe: sharing folder Pin
Mekong River10-Nov-04 3:54
Mekong River10-Nov-04 3:54 
GeneralRe: sharing folder Pin
Paps210-Nov-04 16:34
Paps210-Nov-04 16:34 
GeneralMDI Forms and Child Forms Pin
ConfusedStudent9-Nov-04 13:49
ConfusedStudent9-Nov-04 13:49 
GeneralRe: MDI Forms and Child Forms Pin
Fade (Amit BS)10-Nov-04 16:15
Fade (Amit BS)10-Nov-04 16:15 
if all you need is to write to a file, simply use the FileStream object in the frameworks
(if it is then the title of your message is VERY misleading, if not, then my reply is useless Smile | :) )

the basics are to create a FileStream object reference

Dim MyFileStream as System.IO.FileStream

and then you need to create the file stream, by opening the file
if it is a new file (there isn't a file with the same name at the same directory)
you should create the file like so:

MyFileStream = IO.File.Open(MyFilePath, IO.FileMode.CreateNew)

if the file already exists, you would probably want to erase the data and rewrite it do:

FileStream = SystemIO.File.Open(MyFilePath, IO.FileMode.Truncate)

to check whether the file exists use:

If System.IO.File.Exists(MyFilePath) Then ...

if you want to be really smart about it, you can scan the file to see what segements of have been chaged and only write those parts (mostly usefull in large files)


Fade (Amit BS)
GeneralThe 'X' click event Pin
Brad Fackrell9-Nov-04 11:33
Brad Fackrell9-Nov-04 11:33 
GeneralRe: The 'X' click event Pin
Verolix9-Nov-04 12:00
Verolix9-Nov-04 12:00 
GeneralRe: The 'X' click event Pin
Brad Fackrell10-Nov-04 3:46
Brad Fackrell10-Nov-04 3:46 
GeneralRe: The 'X' click event Pin
Dave Kreskowiak10-Nov-04 8:59
mveDave Kreskowiak10-Nov-04 8:59 
GeneralRe: The 'X' click event Pin
Brad Fackrell10-Nov-04 9:04
Brad Fackrell10-Nov-04 9:04 
GeneralRe: The 'X' click event Pin
Verolix10-Nov-04 10:05
Verolix10-Nov-04 10:05 
GeneralRe: The 'X' click event Pin
Brad Fackrell10-Nov-04 10:35
Brad Fackrell10-Nov-04 10:35 
QuestionDoes anyone know how to access a combobox item in dropdown mode? Pin
lildragon9-Nov-04 6:21
lildragon9-Nov-04 6:21 
GeneralUrgent help..Equivalent to Excel "range" in vb.net Pin
bnathvbdotnet9-Nov-04 5:18
bnathvbdotnet9-Nov-04 5:18 
Generalsystem.io.streamreader.readline Pin
Jayman9119-Nov-04 5:12
Jayman9119-Nov-04 5:12 
GeneralRe: system.io.streamreader.readline Pin
Tom John9-Nov-04 6:14
Tom John9-Nov-04 6:14 
GeneralRe: system.io.streamreader.readline Pin
Jayman9119-Nov-04 6:16
Jayman9119-Nov-04 6:16 
GeneralRe: system.io.streamreader.readline Pin
Fade (Amit BS)10-Nov-04 16:22
Fade (Amit BS)10-Nov-04 16:22 
GeneralRe: system.io.streamreader.readline Pin
Jayman91111-Nov-04 2:51
Jayman91111-Nov-04 2:51 
GeneralFonts used in rich text box Pin
johnjsm9-Nov-04 2:30
johnjsm9-Nov-04 2:30 
GeneralRe: Fonts used in rich text box Pin
Member 14977519-Nov-04 5:43
Member 14977519-Nov-04 5:43 
Generalupdating database using dataset..help! Pin
obrix_activex9-Nov-04 0:12
obrix_activex9-Nov-04 0:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.