Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sort / Find on BindingList Pin
Chris Losinger13-Mar-06 7:26
professionalChris Losinger13-Mar-06 7:26 
QuestionBuilding DotnetNuke module Using C# 2.0 Pin
Chandana Subasinghe10-Mar-06 7:37
Chandana Subasinghe10-Mar-06 7:37 
AnswerRe: Building DotnetNuke module Using C# 2.0 Pin
Colin Angus Mackay10-Mar-06 12:51
Colin Angus Mackay10-Mar-06 12:51 
QuestionFileInfo.Exists returns False even if the file exists Pin
chopinrlz10-Mar-06 6:23
chopinrlz10-Mar-06 6:23 
AnswerRe: FileInfo.Exists returns False even if the file exists Pin
Dan Neely10-Mar-06 6:53
Dan Neely10-Mar-06 6:53 
AnswerRe: FileInfo.Exists returns False even if the file exists Pin
Stefan Troschuetz10-Mar-06 6:55
Stefan Troschuetz10-Mar-06 6:55 
AnswerRe: FileInfo.Exists returns False even if the file exists Pin
Guffa10-Mar-06 7:10
Guffa10-Mar-06 7:10 
AnswerRe: FileInfo.Exists returns False even if the file exists Pin
FocusedWolf10-Mar-06 8:42
FocusedWolf10-Mar-06 8:42 
This is probably not related, but it could be security restrictions on the computer.

Today i wrote some code on a computer that should of worked...the file most definately existed at the path, but creating a stream to the file and testing if it existed with File.Exists kept on reporting that the file did not exist...even though Assembly.Load on a file, even though the file existed,and
Directory.GetFiles showed it...

Look here was the output,...the paths in beginning were files in directory

<br />
C:\Documents and<br />
Settings\jah4\Desktop\Projects\WindowsApplication1\bin\Debug\ClassLibrary1.dll<br />
C:\Documents and<br />
Settings\jah4\Desktop\Projects\WindowsApplication1\bin\Debug\ClassLibrary1.pdb<br />
C:\Documents and<br />
Settings\jah4\Desktop\Projects\WindowsApplication1\bin\Debug\WindowsApplication1.exe<br />
C:\Documents and<br />
Settings\jah4\Desktop\Projects\WindowsApplication1\bin\Debug\WindowsApplication1.pdb<br />
<br />
File or assembly name C:\Documents and<br />
Settings\jah4\Desktop\Projects\WindowsApplication1\bin\Debug\ClassLibrary1.dll,<br />
or one of its dependencies, was not found.<br />


So it turned out some security thing prevented me from loading a file...theirs probably some api i could dllimport to get around that bug Big Grin | :-D , at the very least i could just run notepad which has the sorta access i need to read the file...then to a byte array and my Assembly.Load would probably work...but i'm to lazy for that Big Grin | :-D
QuestionImage with transparent background Pin
stu8310-Mar-06 5:33
stu8310-Mar-06 5:33 
QuestionImage with transparent background Pin
stu8310-Mar-06 5:24
stu8310-Mar-06 5:24 
QuestionControl visible changed event Pin
malharone10-Mar-06 4:28
malharone10-Mar-06 4:28 
AnswerRe: Control visible changed event Pin
Office Lineman10-Mar-06 6:10
Office Lineman10-Mar-06 6:10 
GeneralRe: Control visible changed event Pin
malharone10-Mar-06 7:36
malharone10-Mar-06 7:36 
GeneralRe: Control visible changed event Pin
Office Lineman10-Mar-06 7:56
Office Lineman10-Mar-06 7:56 
GeneralRe: Control visible changed event Pin
malharone10-Mar-06 8:07
malharone10-Mar-06 8:07 
GeneralRe: Control visible changed event Pin
Office Lineman10-Mar-06 8:43
Office Lineman10-Mar-06 8:43 
GeneralRe: Control visible changed event Pin
godvicien13-Oct-10 20:53
godvicien13-Oct-10 20:53 
QuestionGrid Veiw Pin
papa198010-Mar-06 4:19
papa198010-Mar-06 4:19 
AnswerRe: Grid Veiw Pin
ToddHileHoffer10-Mar-06 8:12
ToddHileHoffer10-Mar-06 8:12 
GeneralRe: Grid Veiw Pin
papa198011-Mar-06 22:39
papa198011-Mar-06 22:39 
QuestionDynamic Menu Pin
vatzcar10-Mar-06 3:56
vatzcar10-Mar-06 3:56 
AnswerRe: Dynamic Menu Pin
eggsovereasy10-Mar-06 7:40
eggsovereasy10-Mar-06 7:40 
GeneralRe: Dynamic Menu Pin
vatzcar10-Mar-06 22:17
vatzcar10-Mar-06 22:17 
AnswerRe: Dynamic Menu Pin
Luis Alonso Ramos12-Mar-06 17:52
Luis Alonso Ramos12-Mar-06 17:52 
Questionserializing a class containing hash table as one of its objects Pin
Anupam Mazumdar10-Mar-06 3:33
Anupam Mazumdar10-Mar-06 3:33 

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.