Microsoft
Software
Hardware
Network
Question : Visual Basic .Net, Need the Specific reason an IOException was thrown.
Is there an equivilant to C's errno in catching an IOException in .Net? I have an app that tests for locks, and I want to make sure I am waiting because the error was a locking problem, not another problem ("Access Denied", etc.). I do not want to parse the error string (could change, not language independent) or retrieve process list and look for my file (too much CPU). Is there a feature of .Net that works like errno?
Thanks.
Answer : Visual Basic .Net, Need the Specific reason an IOException was thrown.
Possibly?
Marshal.GetLastWin32Error,
or Err.LastDllError
Random Solutions
show me everything after the dot in excel
Image as link...how to allign to text bottom?
SERVERPROPERTY('SERVERNAME
') & SERVERPROPERTY('MACHINENAM
E')
how to remote wipe iPad from Exchaneg 2007 server?
How do I prevent Navigation Pane from expanding when I activate a command button?
Simple File Sharing Question
Word doesn't open file that's setup with VB- error: could not load some objects because they are not available on this machine
Problem moving Wordpress site from one domain to another, and on a new webserver.
Downgrade 2008 R2 TO R1 OEM
Local administrator rights are required while logged into a sbs 2008 server.