Click here to Skip to main content
15,914,419 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: RPC Server Unavailable Pin
Dave Kreskowiak7-Mar-05 1:07
mveDave Kreskowiak7-Mar-05 1:07 
Questionvb6 cursor direction problem? Pin
a_yosef6-Mar-05 0:23
a_yosef6-Mar-05 0:23 
GeneralPrinter Setting In VB Or C#.Net Pin
| Muhammad Waqas Butt |5-Mar-05 23:09
professional| Muhammad Waqas Butt |5-Mar-05 23:09 
GeneralUsning Datagrid in vb.net Pin
Mr Dabbah5-Mar-05 21:59
Mr Dabbah5-Mar-05 21:59 
Generalcombo box Pin
cds.toecuter5-Mar-05 19:29
cds.toecuter5-Mar-05 19:29 
GeneralRe: combo box Pin
rwestgraham5-Mar-05 21:01
rwestgraham5-Mar-05 21:01 
GeneralBinary trouble Pin
Christopher Schaefer5-Mar-05 11:27
Christopher Schaefer5-Mar-05 11:27 
GeneralRe: Binary trouble Pin
Dave Kreskowiak5-Mar-05 17:15
mveDave Kreskowiak5-Mar-05 17:15 
disks86@gmail.com wrote:
I need to use binary because i don't want people editing the file

So what? It can still be edited! A little hex editor and time and...


disks86@gmail.com wrote:
the problem is it throws an error when I try to open the file in the second program

And that error would be?

First, don't open the file in the first program as FileShare.Read. You don't want a serialized object being read while it's still being written.

Second, after your done writing the file, .Flush(), .Close()</code), then <code>.Dispose() the FileStream object. Calling .Dispose() will garantee the underlying unmanaged file handle is released when you want it to be, not when the Garbage Collector gets around to it.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Generalvb.net script to delete contence of temp internet folder Pin
chris89625-Mar-05 1:44
chris89625-Mar-05 1:44 
GeneralRe: vb.net script to delete contence of temp internet folder Pin
Dave Kreskowiak5-Mar-05 4:10
mveDave Kreskowiak5-Mar-05 4:10 
GeneralRe: vb.net script to delete contence of temp internet folder Pin
chris89625-Mar-05 5:07
chris89625-Mar-05 5:07 
Questionread any sector in VB6? Pin
a_yosef4-Mar-05 22:12
a_yosef4-Mar-05 22:12 
AnswerRe: read any sector in VB6? Pin
Dave Kreskowiak5-Mar-05 9:43
mveDave Kreskowiak5-Mar-05 9:43 
GeneralDisable file download dialog box in IE Pin
mecracked4-Mar-05 18:01
sussmecracked4-Mar-05 18:01 
GeneralRe: Disable file download dialog box in IE Pin
Dave Kreskowiak5-Mar-05 4:03
mveDave Kreskowiak5-Mar-05 4:03 
GeneralRe: Disable file download dialog box in IE Pin
mecracked5-Mar-05 21:19
sussmecracked5-Mar-05 21:19 
GeneralRe: Disable file download dialog box in IE Pin
rwestgraham6-Mar-05 0:38
rwestgraham6-Mar-05 0:38 
GeneralRe: Disable file download dialog box in IE Pin
Dave Kreskowiak6-Mar-05 13:22
mveDave Kreskowiak6-Mar-05 13:22 
GeneralRe: Disable file download dialog box in IE Pin
mecracked6-Mar-05 18:54
sussmecracked6-Mar-05 18:54 
GeneralRe: Disable file download dialog box in IE Pin
Dave Kreskowiak7-Mar-05 0:55
mveDave Kreskowiak7-Mar-05 0:55 
GeneralGlobal Variables Pin
Melvin_MCW4-Mar-05 17:28
Melvin_MCW4-Mar-05 17:28 
GeneralRe: Global Variables Pin
Dave Kreskowiak5-Mar-05 4:01
mveDave Kreskowiak5-Mar-05 4:01 
GeneralFiles and folders Pin
nitin_ion4-Mar-05 16:55
nitin_ion4-Mar-05 16:55 
GeneralRe: Files and folders Pin
Dave Kreskowiak5-Mar-05 3:49
mveDave Kreskowiak5-Mar-05 3:49 
GeneralRe: Files and folders Pin
nitin_ion6-Mar-05 16:17
nitin_ion6-Mar-05 16:17 

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.