GetFolderPath Problem

  • Thread starter Thread starter Bryan Tang
  • Start date Start date
B

Bryan Tang

Dear all professional,

I have problem. the 1st statement can return the path of Windows system
folder however the 2nd statement doesn't return the path of "Favorites". Why
this will happen? Any solution?

public string myFavorites =
Environment.GetFolderPath(Environment.SpecialFolder.System);
public string myFavorites =
Environment.GetFolderPath(Environment.SpecialFolder.Favorites);


Bryan
 
Bryan Tang said:
Dear all professional,

I have problem. the 1st statement can return the path of Windows system
folder however the 2nd statement doesn't return the path of "Favorites". Why
this will happen? Any solution?

public string myFavorites =
Environment.GetFolderPath(Environment.SpecialFolder.System);
public string myFavorites =
Environment.GetFolderPath(Environment.SpecialFolder.Favorites);

Then what does the 2nd statement return to you?
 
I did something wrong in IIS. I building a web application host in IIS.
Sometime I will work in my house, sometime in office. For convenience, I
copy the whole virtual directory in IIS to synchronize the changes. I think
I should only copy those changed codes and forms. I solve the problem by
re-build the virtual directory of my web application.
 
Back
Top