Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: Better RichTextBox (or custom textbox) Pin
Pete Bassett3-Nov-02 7:47
Pete Bassett3-Nov-02 7:47 
GeneralRe: Better RichTextBox (or custom textbox) Pin
Philip Fitzsimons1-Nov-02 6:54
Philip Fitzsimons1-Nov-02 6:54 
GeneralRe: Better RichTextBox (or custom textbox) Pin
Stephane Rodriguez.1-Nov-02 7:07
Stephane Rodriguez.1-Nov-02 7:07 
GeneralPassword in a Propertygrid Pin
Andy Hampshire1-Nov-02 4:00
Andy Hampshire1-Nov-02 4:00 
GeneralRe: Password in a Propertygrid Pin
Stephane Rodriguez.1-Nov-02 7:12
Stephane Rodriguez.1-Nov-02 7:12 
GeneralRe: Password in a Propertygrid Pin
Andy Hampshire1-Nov-02 7:23
Andy Hampshire1-Nov-02 7:23 
GeneralRe: Password in a Propertygrid - HELP !! Pin
Andy Hampshire1-Nov-02 14:22
Andy Hampshire1-Nov-02 14:22 
GeneralRe: Password in a Propertygrid - HELP !! Pin
leppie1-Nov-02 21:16
leppie1-Nov-02 21:16 
GeneralRe: Password in a Propertygrid - HELP !! Pin
Feng Qin3-Nov-02 21:24
Feng Qin3-Nov-02 21:24 
GeneralNot able to fetch first row of excel...... Pin
Saroj31-Oct-02 23:33
Saroj31-Oct-02 23:33 
GeneralRe: Not able to fetch first row of excel...... Pin
Stephane Rodriguez.1-Nov-02 1:59
Stephane Rodriguez.1-Nov-02 1:59 
Generalabout visual soucesafe6.0c Pin
Anonymous31-Oct-02 21:18
Anonymous31-Oct-02 21:18 
GeneralRe: about visual soucesafe6.0c Pin
TigerNinja_1-Nov-02 11:33
TigerNinja_1-Nov-02 11:33 
Generaldowncasting Object types Pin
Bilal31-Oct-02 20:33
Bilal31-Oct-02 20:33 
GeneralRe: downcasting Object types Pin
SimonS31-Oct-02 21:14
SimonS31-Oct-02 21:14 
GeneralRe: downcasting Object types Pin
Bilal31-Oct-02 21:19
Bilal31-Oct-02 21:19 
GeneralRe: downcasting Object types Pin
Eric Gunnerson (msft)1-Nov-02 12:01
Eric Gunnerson (msft)1-Nov-02 12:01 
GeneralRe: downcasting Object types Pin
John Fisher1-Nov-02 12:40
John Fisher1-Nov-02 12:40 
GeneralRe: downcasting Object types Pin
Bilal1-Nov-02 15:17
Bilal1-Nov-02 15:17 
GeneralRe: downcasting Object types Pin
Paul Riley1-Nov-02 0:23
Paul Riley1-Nov-02 0:23 
GeneralRe: downcasting Object types Pin
Feng Qin3-Nov-02 21:33
Feng Qin3-Nov-02 21:33 
GeneralMD5withRSA signature verification Pin
bluestn31-Oct-02 15:39
bluestn31-Oct-02 15:39 
GeneralCryptoAPI - Cryptography - Com Pin
delcorral31-Oct-02 12:33
delcorral31-Oct-02 12:33 
GeneralRe: CryptoAPI - Cryptography - Com Pin
ian mariano1-Nov-02 7:32
ian mariano1-Nov-02 7:32 
GeneralDelete/Copy files from another machine! Pin
KoRn31-Oct-02 9:41
KoRn31-Oct-02 9:41 
Hi I have written an windows app with C# witch is supposed to syncronize 2 folders e.g

FROM: C:\Project\Project
TO: \\server\d$\my.project.com

I have made the entire source witch delete files/folders on TO and copy/create files if they don't exists.

My problem is when it tries to copy/delete files, I get permissions denied, I am running the program when I am logged in as administrator and I have administrations access on target machines.

I can open explorer and edit/delete the files witch it complains about.

What can I do to allow my app to copy/overwrite/delete files on the TO machine ?

Somehow as far as I can see, I can overwrite *.dll and *.pdb, but not *.aspx and *.cs

I have tried almost everything:

System.Security.Permissions.FileIOPermission

int token1;

WindowsIdentity mWI1 = WindowsIdentity.GetCurrent();
token1 = mWI1.Token.ToInt32();
IntPtr token2 = new IntPtr(token1);
ImpersonateLoggedOnUser(token2);

And many more, can it maybe be because the IIS is blocking those aspx files, in that case what can I do to overrule?

Because I have one similiar program with the name "InSync" with does overwrite the files when I run it with.

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.