Click here to Skip to main content
15,897,093 members
Home / Discussions / C#
   

C#

 
GeneralRe: Emergency. problems in serial communication Pin
Nick Parker23-Jul-04 11:08
protectorNick Parker23-Jul-04 11:08 
GeneralRe: Emergency. problems in serial communication Pin
Heath Stewart23-Jul-04 11:12
protectorHeath Stewart23-Jul-04 11:12 
GeneralNeed handle to ComboBox dropdown button Pin
ddelapasse23-Jul-04 4:20
ddelapasse23-Jul-04 4:20 
GeneralRe: Need handle to ComboBox dropdown button Pin
Heath Stewart23-Jul-04 6:17
protectorHeath Stewart23-Jul-04 6:17 
GeneralRe: Need handle to ComboBox dropdown button Pin
ddelapasse23-Jul-04 6:48
ddelapasse23-Jul-04 6:48 
GeneralRe: Need handle to ComboBox dropdown button Pin
Nick Parker23-Jul-04 7:58
protectorNick Parker23-Jul-04 7:58 
GeneralRe: Need handle to ComboBox dropdown button Pin
Heath Stewart23-Jul-04 8:39
protectorHeath Stewart23-Jul-04 8:39 
GeneralDirecroty search Pin
Ronni Marker23-Jul-04 4:03
Ronni Marker23-Jul-04 4:03 
Hello All,
Have a "minor" issue that i hope someone here can help me with.

I have the following code [Example below] that runs throu all directories to find specific files (eg. doc files).

When the code is run from a user who have admin right, then there are no issues. but if its run as a user with no rights whatsoever i get into trouble.

Running in the directory C:\documents and settings with the folders Administrator, Admin, Lousy User, Teds & BillG.

When the code is run in standard user mode, it will stop executing the folders in that thread when there is no access rights on a folder - in this case it will begin with Administrator folder first, and stop search in that directory. meaning it will newer get to search the users own folder "Lousy User".

Is there any was to get over this issue?

hope u all understood my meaning by this.

<code>
try
{
foreach (string d in Directory.GetDirectories(sDir))
{
foreach (string f in Directory.GetFiles(d, filetype))
{
FileInfo fs = new FileInfo(f);
view.Items.Add(itm);
}
}
}
catch (System.Exception excpt)
{
// Console.WriteLine(excpt.Message);
}</code>
GeneralRe: Direcroty search Pin
Colin Angus Mackay23-Jul-04 4:54
Colin Angus Mackay23-Jul-04 4:54 
GeneralReturning objects to another class Pin
Paul Kiddie23-Jul-04 1:19
Paul Kiddie23-Jul-04 1:19 
GeneralRe: Returning objects to another class Pin
Heath Stewart23-Jul-04 9:05
protectorHeath Stewart23-Jul-04 9:05 
Generalcapturing the modifications in a datagrid Pin
samithas23-Jul-04 0:29
samithas23-Jul-04 0:29 
GeneralRe: capturing the modifications in a datagrid Pin
Heath Stewart23-Jul-04 8:59
protectorHeath Stewart23-Jul-04 8:59 
GeneralRe: capturing the modifications in a datagrid Pin
samithas23-Jul-04 19:35
samithas23-Jul-04 19:35 
GeneralRe: capturing the modifications in a datagrid Pin
Heath Stewart26-Jul-04 2:25
protectorHeath Stewart26-Jul-04 2:25 
GeneralOnTimedEvent Pin
karanba22-Jul-04 21:48
karanba22-Jul-04 21:48 
GeneralRe: OnTimedEvent Pin
Bill Dean23-Jul-04 8:16
Bill Dean23-Jul-04 8:16 
General.NET framework theories Pin
TalkingBabb0t22-Jul-04 17:17
TalkingBabb0t22-Jul-04 17:17 
GeneralRe: .NET framework theories Pin
Michael P Butler23-Jul-04 5:10
Michael P Butler23-Jul-04 5:10 
GeneralRe: .NET framework theories Pin
TalkingBabb0t23-Jul-04 9:25
TalkingBabb0t23-Jul-04 9:25 
GeneralNavigate from Child to Parent Pin
KKCodePro22-Jul-04 16:31
KKCodePro22-Jul-04 16:31 
GeneralRe: Navigate from Child to Parent Pin
Dave Kreskowiak22-Jul-04 16:54
mveDave Kreskowiak22-Jul-04 16:54 
GeneralRe: Navigate from Child to Parent Pin
KKCodePro22-Jul-04 16:58
KKCodePro22-Jul-04 16:58 
GeneralRe: Navigate from Child to Parent Pin
exhaulted23-Jul-04 0:46
exhaulted23-Jul-04 0:46 
GeneralRe: Navigate from Child to Parent Pin
Dave Kreskowiak23-Jul-04 1:21
mveDave Kreskowiak23-Jul-04 1:21 

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.