No announcements
Found 2879066 threads
-
41 Votes
How to detect if a file exists
is currently no way of detecting if a file exists without throwing exception, or opening the file, creating a stream on it and checking the stream length.Answered | 32 Replies | 42814 Views | Created by DamianMehers - Thursday, September 22, 2011 9:39 PM | Last reply by Rob Caplan [MSFT] - Monday, December 22, 2014 11:44 PM -
1 Votes
Detect whether file exists
If your programs instances are running at the same time then not all can be accessing log file at the same time if they find out it exists.Answered | 4 Replies | 708 Views | Created by Helge Larsen - Friday, July 29, 2016 11:51 AM | Last reply by Helge Larsen - Wednesday, August 3, 2016 1:49 PM -
0 Votes
How to detect BrowserWindow Existence
Hi All How do I detect if there's a browser already running?Answered | 2 Replies | 3522 Views | Created by BigIan - Tuesday, May 17, 2011 10:36 AM | Last reply by BigIan - Tuesday, May 17, 2011 12:39 PM -
0 Votes
How to detect the codepage/encoding of a file?
"I don't know if it guesses or it has a proper solution to detect the encoding of the file.Answered | 6 Replies | 5880 Views | Created by cplusplusdev - Thursday, March 6, 2014 8:45 AM | Last reply by Mike Danes - Friday, March 7, 2014 6:45 AM -
1 Votes
c# to detect if mouse and keyboard exist?
How to check programatically if keyboard is connected or not?Answered | 3 Replies | 5556 Views | Created by Anthony2007 - Sunday, February 14, 2016 2:10 AM | Last reply by Sabah Shariq - Monday, February 15, 2016 9:35 AM -
0 Votes
how to detect that a specific file is present in system32 folder ?
if Not System.IO.File.Exists("c:\windows\system32\backupfile.bak" then ' Does not Existelse 'existsend ifArjun PaudelAnswered | 2 Replies | 3392 Views | Created by fireblade123 - Sunday, March 15, 2009 5:04 AM | Last reply by Arjun Paudel - Sunday, March 15, 2009 5:45 AM -
0 Votes
how to detect file extension?
Hi all, how i can detect for eg: c:\test.xls?Answered | 1 Replies | 3661 Views | Created by yanyee - Wednesday, January 27, 2010 6:33 AM | Last reply by yanyee - Wednesday, January 27, 2010 6:36 AM -
0 Votes
How to detect Target of a url file
Hello Jagz, 1) Url File Format URL file is just an Ini file.Answered | 1 Replies | 4302 Views | Created by Jagz Viruz - Tuesday, April 14, 2009 9:35 AM | Last reply by Jijo Raj - Tuesday, April 14, 2009 10:34 AM -
3 Votes
Detect changes for an already existing property
For existing DPs you might use OverrideMetadata or AddOwner and pass new Metadata instance with your PropertyChanged callback.Answered | 3 Replies | 1613 Views | Created by F Starred - Friday, February 22, 2013 2:40 PM | Last reply by F Starred - Saturday, February 23, 2013 4:43 PM -
4 Votes
C# - How to detect if an image exists or not in a remote server?
One that checks for existence of just the one file.Answered | 7 Replies | 15430 Views | Created by iHandler - Wednesday, December 16, 2015 3:42 AM | Last reply by Andy ONeill - Saturday, December 19, 2015 1:43 PM -
1 Votes
how to check for existing files
Simple way is just try to open file in read mode, if it got succeed then you can assume file already existAnswered | 14 Replies | 1687 Views | Created by SLborn - Friday, March 29, 2013 8:22 PM | Last reply by SLborn - Thursday, April 4, 2013 5:50 PM -
0 Votes
File.Exists is not working for me to detect a file
That is because you are dealing with an FTP based file, not a system based file.Answered | 3 Replies | 657 Views | Created by friendsaa - Thursday, April 18, 2013 6:57 PM | Last reply by TSoftware-Old - Thursday, April 18, 2013 7:55 PM -
1 Votes
Detect encoding of the file
The problem is that most of the libraries that guess text encoding can only detect up to a certain accuracy.Answered | 3 Replies | 13750 Views | Created by pink_star - Wednesday, June 22, 2016 3:15 AM | Last reply by cheong00 - Thursday, June 23, 2016 1:49 AM -
0 Votes
if file exists
(see the file name: C:\inetpub\ftproot\INFILES\WEB-RETAILER.csv) And if that file doesnt exists it could be a real problem.Answered | 20 Replies | 9345 Views | Created by DotNet Global - Monday, August 16, 2010 3:31 PM | Last reply by DotNet Global - Monday, August 16, 2010 10:16 PM -
1 Votes
How check if file exists?
You can add the Windows IF EXIST command to the command string: DECLARE @del varchar(255) DECLARE @filename varchar(255) SET @filename = ...Answered | 4 Replies | 7212 Views | Created by Lasha89 - Friday, September 3, 2010 11:22 AM | Last reply by Dan Guzman - Saturday, September 4, 2010 12:35 AM -
0 Votes
Detect .Net framework in batch file
How to detect the .NET Framework 2.0 or greater in batch file?Answered | 4 Replies | 14634 Views | Created by Prafulla Udade - Saturday, January 10, 2009 9:40 AM | Last reply by Duvernet Vincent - Thursday, October 15, 2015 6:21 PM -
2 Votes
How do I detect a file is already open?
FileClose(Fnum) Is there a way to detect if the file specified by myFilename is already open?Answered | 3 Replies | 1533 Views | Created by JellicleMime - Wednesday, January 29, 2014 3:40 PM | Last reply by Kareninstructor - Wednesday, January 29, 2014 6:51 PM -
0 Votes
Detecting if it exists.
RSACryptoServiceProvider first checks if a key container exists.Answered | 7 Replies | 12888 Views | Created by KevinBurton - Thursday, August 26, 2010 8:22 PM | Last reply by Sean78423169813286 - Thursday, September 15, 2011 3:02 PM -
0 Votes
Detect file type?
It doesn't detect swf's or flv's but does pretty much every other well known format + you can get a hex editor and add more files it can detect.Answered | 13 Replies | 31346 Views | Created by paoloTheCool - Wednesday, September 26, 2007 7:19 PM | Last reply by Meaning Of Lights - Monday, April 19, 2010 6:24 AM -
1 Votes
How to overrite the file if it already exist?
As other post, you can copy, move, and delete files by using C# programming.Answered | 4 Replies | 1389 Views | Created by Asma Thabassum - Wednesday, February 12, 2014 5:39 AM | Last reply by Sofiya Li - Thursday, February 13, 2014 3:11 AM - Items 1 to 20 of 2879066 Next ›
No announcements