Click here to Skip to main content
15,892,072 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to get a value to return in a textbox Pin
Rotted Frog8-Apr-11 22:29
Rotted Frog8-Apr-11 22:29 
Questionthread.interrupt only working once Pin
Member 74021668-Apr-11 10:40
Member 74021668-Apr-11 10:40 
AnswerRe: thread.interrupt only working once Pin
davidnz8-Apr-11 12:13
davidnz8-Apr-11 12:13 
AnswerRe: thread.interrupt only working once Pin
Ganesh Kumar Kaki13-Apr-11 1:27
Ganesh Kumar Kaki13-Apr-11 1:27 
QuestionGlobal Hook : need help with SysMsgProc Pin
moums8-Apr-11 8:12
moums8-Apr-11 8:12 
QuestionQuerying LDAP from an application: get a search result when one attribute of a multiple attribute matches Pin
Bernhard Hiller8-Apr-11 1:28
Bernhard Hiller8-Apr-11 1:28 
AnswerRe: Querying LDAP from an application: get a search result when one attribute of a multiple attribute matches Pin
Ravi Bhavnani8-Apr-11 9:10
professionalRavi Bhavnani8-Apr-11 9:10 
QuestionWindow 7 and WebClient Class Pin
Wolfram Steinke7-Apr-11 17:32
Wolfram Steinke7-Apr-11 17:32 
I have come across problem for which I'm looking for permanent solution.

Some software I'm working needs to have a version checking mechanism for update checking and disabling the installed version if necessary. It was decided to that a server be provided from which a small encrypted xml file is downloaded and checked.
I thought, "not too complex with Webclient", simply download the file decrypt and check it and then delete it. If an Exception then status is Unverified. Works file on XP machines when the file is removed from the server the exception happens like expected.
On the Windows 7 machine however it continues to succeed and even when the network is disconnected. NO exception is raised. I even took out the try/catch to confirm that - NO crash.
If set
client.CachePolicy = new RequestCachePolicy(RequestCacheLevel.NoCacheNoStore);

just incase, because I wanted to ensure the file was downloaded every time.
It is still coming from somewhere. I'm confused!!!!!

If anyone has an idea about this I would be interested in knowing about it.
Happy programming!!

AnswerRe: Window 7 and WebClient Class Pin
Bernhard Hiller7-Apr-11 21:58
Bernhard Hiller7-Apr-11 21:58 
GeneralRe: Window 7 and WebClient Class Pin
Wolfram Steinke9-Apr-11 0:20
Wolfram Steinke9-Apr-11 0:20 
AnswerRe: Window 7 and WebClient Class Pin
#realJSOP8-Apr-11 8:07
mve#realJSOP8-Apr-11 8:07 
AnswerRe: Window 7 and WebClient Class Pin
Ravi Bhavnani8-Apr-11 11:27
professionalRavi Bhavnani8-Apr-11 11:27 
QuestionA problem with ListView in VB.Net [modified] Pin
yoh.asakura7-Apr-11 7:12
yoh.asakura7-Apr-11 7:12 
GeneralRe: A problem with ListView in VB.Net Pin
Pete O'Hanlon7-Apr-11 7:16
mvePete O'Hanlon7-Apr-11 7:16 
GeneralRe: A problem with ListView in VB.Net Pin
Colin Angus Mackay8-Apr-11 14:09
Colin Angus Mackay8-Apr-11 14:09 
GeneralRe: A problem with ListView in VB.Net Pin
Pete O'Hanlon9-Apr-11 4:24
mvePete O'Hanlon9-Apr-11 4:24 
GeneralRe: A problem with ListView in VB.Net Pin
Colin Angus Mackay10-Apr-11 23:41
Colin Angus Mackay10-Apr-11 23:41 
GeneralRe: A problem with ListView in VB.Net Pin
Pete O'Hanlon11-Apr-11 0:38
mvePete O'Hanlon11-Apr-11 0:38 
AnswerRe: A problem with ListView in VB.Net PinPopular
Luc Pattyn7-Apr-11 7:35
sitebuilderLuc Pattyn7-Apr-11 7:35 
GeneralRe: A problem with ListView in VB.Net Pin
Mycroft Holmes7-Apr-11 22:21
professionalMycroft Holmes7-Apr-11 22:21 
AnswerRe: A problem with ListView in VB.Net Pin
#realJSOP8-Apr-11 8:08
mve#realJSOP8-Apr-11 8:08 
AnswerRe: A problem with ListView in VB.Net Pin
Dalek Dave9-Apr-11 4:56
professionalDalek Dave9-Apr-11 4:56 
QuestionMessage Removed Pin
7-Apr-11 2:34
fififlowertot7-Apr-11 2:34 
AnswerRe: Regular Expresssion [modified] Pin
Pete O'Hanlon7-Apr-11 2:47
mvePete O'Hanlon7-Apr-11 2:47 
GeneralRe: Regular Expresssion Pin
fififlowertot7-Apr-11 2:48
fififlowertot7-Apr-11 2:48 

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.