Click here to Skip to main content
16,012,843 members
Home / Discussions / C#
   

C#

 
AnswerRe: Scanner and Keyboard Pin
coolvinx16-May-06 11:48
coolvinx16-May-06 11:48 
GeneralRe: Scanner and Keyboard Pin
AmitG7716-May-06 21:59
AmitG7716-May-06 21:59 
GeneralRe: Scanner and Keyboard Pin
coolvinx17-May-06 5:03
coolvinx17-May-06 5:03 
GeneralRe: Scanner and Keyboard Pin
AmitG7717-May-06 18:20
AmitG7717-May-06 18:20 
Questionmulticasting problem Pin
snouto16-May-06 1:10
snouto16-May-06 1:10 
QuestionComboBox cursor setting Pin
fracalifa16-May-06 1:06
fracalifa16-May-06 1:06 
AnswerRe: ComboBox cursor setting Pin
coolestCoder16-May-06 1:57
coolestCoder16-May-06 1:57 
QuestionFolder Permissions and auto-update Pin
IAmChris16-May-06 0:55
IAmChris16-May-06 0:55 
Hello,

I am building a simple auto-update component to my application that downloads the latest exe file (depending on the version) using the WebClient class and a webservice to get the URL. The download works fine but I am currently saving to the All Users\Application Data\My App folder but not all users have write access to that folder, resulting in a failed download. Also my app saves some config details in an xml file in the same folder, and again this is raising an exception.

I'm thinking about using the Current_User_ID\Application Data\My App folder instad as I know I'll have write access, but I don't really want the exe to be stored there as then it will be part of the user profile, which I don't want. Also, the xml config file that is created is machine-specific, not user specific, so that def can't be part of the user profile.

What would be the best way to do this? How do apps get around the problem of folder permissions when performing auto-updates? Any suggestions would be appreciated.

By the way it's for XP and 2000, so I can't just use XP BITS for the updates.

Thanks,
Chris
QuestionProblem with access Database.. Pin
hdv21215-May-06 23:56
hdv21215-May-06 23:56 
QuestionJPEG in CMYK Pin
KrIstOfK15-May-06 23:53
KrIstOfK15-May-06 23:53 
GeneralRe: JPEG in CMYK Pin
Guffa16-May-06 0:50
Guffa16-May-06 0:50 
GeneralRe: JPEG in CMYK Pin
Rizwan Bashir16-May-06 2:32
Rizwan Bashir16-May-06 2:32 
GeneralRe: JPEG in CMYK Pin
J4amieC16-May-06 2:50
J4amieC16-May-06 2:50 
AnswerRe: JPEG in CMYK Pin
Rizwan Bashir16-May-06 2:35
Rizwan Bashir16-May-06 2:35 
GeneralRe: JPEG in CMYK Pin
KrIstOfK16-May-06 3:13
KrIstOfK16-May-06 3:13 
QuestionAdvice needed (about creating a TextBox like control) Pin
Cristoff15-May-06 23:45
Cristoff15-May-06 23:45 
AnswerRe: Advice needed (about creating a TextBox like control) Pin
KrIstOfK15-May-06 23:57
KrIstOfK15-May-06 23:57 
GeneralRe: Advice needed (about creating a TextBox like control) Pin
Cristoff16-May-06 1:11
Cristoff16-May-06 1:11 
AnswerRe: Advice needed (about creating a TextBox like control) Pin
sathish s16-May-06 0:02
sathish s16-May-06 0:02 
GeneralRe: Advice needed (about creating a TextBox like control) Pin
Cristoff16-May-06 1:13
Cristoff16-May-06 1:13 
GeneralRe: Advice needed (about creating a TextBox like control) Pin
J4amieC16-May-06 1:33
J4amieC16-May-06 1:33 
GeneralRe: Advice needed (about creating a TextBox like control) Pin
Cristoff16-May-06 5:39
Cristoff16-May-06 5:39 
GeneralRe: Advice needed (about creating a TextBox like control) Pin
J4amieC16-May-06 9:17
J4amieC16-May-06 9:17 
Questionmigration from 2003 to 2005 and right to left main menu Pin
xshift15-May-06 22:57
xshift15-May-06 22:57 
Questioncan not start debugging on web server Pin
V.V.Thakur15-May-06 22:15
V.V.Thakur15-May-06 22:15 

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.