Click here to Skip to main content
16,013,322 members
Home / Discussions / C#
   

C#

 
QuestionHow RunAs handle exception Pin
Johny Ng28-Mar-05 16:03
Johny Ng28-Mar-05 16:03 
AnswerRe: How RunAs handle exception Pin
Judah Gabriel Himango28-Mar-05 18:12
sponsorJudah Gabriel Himango28-Mar-05 18:12 
GeneralRe: How RunAs handle exception Pin
Johny Ng29-Mar-05 6:51
Johny Ng29-Mar-05 6:51 
GeneralUsing jar file in c# Pin
CNU28-Mar-05 15:18
CNU28-Mar-05 15:18 
GeneralRe: Using jar file in c# Pin
Sebastian Schneider28-Mar-05 21:00
Sebastian Schneider28-Mar-05 21:00 
GeneralMore info on get desktop folder problem Pin
Christian Graus28-Mar-05 15:13
protectorChristian Graus28-Mar-05 15:13 
GeneralRe: More info on get desktop folder problem Pin
Ashok Dhamija28-Mar-05 17:15
Ashok Dhamija28-Mar-05 17:15 
GeneralRe: More info on get desktop folder problem Pin
Dave Kreskowiak29-Mar-05 4:17
mveDave Kreskowiak29-Mar-05 4:17 
I've got a question: Is you Log file being opened, written, flushed, and closed every time you write to it? If not, you're could be losing at least one line at the bottom of the log.

Environment.SpecialFolder.Desktop returns the virtual folder, which might not exist on that notebook. This could be because of some rights issue or a COM screw up for the Desktop.

I hate to say to it Wink | ;) , but the first thing I'd do is garantee that your getting the physical path to the current desktop folder with
SpecialFolder.DesktopDirectory.  <br />
<br />
It looks like <code>Global.DataLocation
and/or Consts.LocalPhotoFolder didn't return what you thought they should. You might want to add a little code to debug those return values.
Logging.Log("Getting Location");
 
Logging.Log("    GDL=" + Global.DataLocation);
Logging.Log("    LPF=" + Consts.LocalPhotoFolder);
string link = Path.Combine( Global.DataLocation, Consts.LocalPhotoFolder );



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

GeneralRe: More info on get desktop folder problem Pin
Christian Graus29-Mar-05 12:17
protectorChristian Graus29-Mar-05 12:17 
GeneralListBox owner drawing Pin
Bojan Rajkovic28-Mar-05 14:04
Bojan Rajkovic28-Mar-05 14:04 
GeneralRe: ListBox owner drawing Pin
Luis Alonso Ramos28-Mar-05 14:23
Luis Alonso Ramos28-Mar-05 14:23 
GeneralProblem getting desktop folder Pin
Christian Graus28-Mar-05 12:23
protectorChristian Graus28-Mar-05 12:23 
GeneralRe: Problem getting desktop folder Pin
Ashok Dhamija28-Mar-05 17:01
Ashok Dhamija28-Mar-05 17:01 
GeneralRe: Problem getting desktop folder Pin
Christian Graus28-Mar-05 17:10
protectorChristian Graus28-Mar-05 17:10 
GeneralRe: Problem getting desktop folder Pin
Ashok Dhamija28-Mar-05 17:17
Ashok Dhamija28-Mar-05 17:17 
GeneralRe: Problem getting desktop folder Pin
Christian Graus28-Mar-05 17:33
protectorChristian Graus28-Mar-05 17:33 
GeneralList the virual diectories in IIS Pin
Johny Ng28-Mar-05 11:49
Johny Ng28-Mar-05 11:49 
GeneralRe: List the virual diectories in IIS Pin
J4amieC28-Mar-05 22:48
J4amieC28-Mar-05 22:48 
GeneralCrysta Reports problems when update VS 2002 to 2003 Pin
machocr28-Mar-05 8:27
machocr28-Mar-05 8:27 
GeneralUsing the DAO pattern Pin
wweiss125828-Mar-05 7:55
wweiss125828-Mar-05 7:55 
GeneralGetting Size of a Process Pin
Peter Vertes28-Mar-05 6:13
Peter Vertes28-Mar-05 6:13 
GeneralRe: Getting Size of a Process Pin
Peter Vertes28-Mar-05 17:25
Peter Vertes28-Mar-05 17:25 
GeneralUsing WshShell to create shortcut - COMException Pin
DanielBr28-Mar-05 5:13
DanielBr28-Mar-05 5:13 
GeneralEvent Handler and ctrl.Update() questions... Pin
new_phoenix28-Mar-05 4:49
new_phoenix28-Mar-05 4:49 
Questionhow to make the area of desktop behind this area accesble by user from within this area ? Pin
Sabry190528-Mar-05 3:44
Sabry190528-Mar-05 3:44 

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.