Click here to Skip to main content
15,897,518 members
Home / Discussions / C#
   

C#

 
GeneralRe: Logon screen Pin
Nick Parker5-Aug-04 10:10
protectorNick Parker5-Aug-04 10:10 
QuestionKeyDown event for a button?? Pin
misterbear5-Aug-04 2:46
misterbear5-Aug-04 2:46 
AnswerRe: KeyDown event for a button?? Pin
Heath Stewart5-Aug-04 3:38
protectorHeath Stewart5-Aug-04 3:38 
Generaltransparent gif images showing wrong background Pin
ddelapasse5-Aug-04 2:43
ddelapasse5-Aug-04 2:43 
GeneralRe: transparent gif images showing wrong background Pin
ddelapasse5-Aug-04 3:01
ddelapasse5-Aug-04 3:01 
GeneralRe: transparent gif images showing wrong background Pin
Heath Stewart5-Aug-04 3:19
protectorHeath Stewart5-Aug-04 3:19 
GeneralWeb Services: FileNotFoundException Pin
Escroto5-Aug-04 2:14
Escroto5-Aug-04 2:14 
GeneralRe: Web Services: FileNotFoundException Pin
Heath Stewart5-Aug-04 2:34
protectorHeath Stewart5-Aug-04 2:34 
What I said to pelos still applies, though: quit using the CAPICOM interop assembly. Why marshal and use .NET-unfriendly APIs (more so than what's in the BCL, at least) when .NET can only load X.509 cert files and PKCS12 structures from disk?

The problem here is that ASP.NET Web Application (in which XML Web Services run) have additional restrictions (especially in .NET 1.1 and newer) and don't always use the same environment as assemblies loaded with the executable loader in Windows. Additionally, ASP.NET - by default - runs under the restricted user ASPNET, though you can configure this to run as SYSTEM (extremely bad idea) or as another user of your liking (has to then use a coded password in the machine.config or root Web.config file, though).

Files don't also resolve the same as they would in web applications. Be sure to use MapPath (several classes expose this, like the HttpServerUtility and the Page classes) to map the file to a physical path. The virtual path - depending on a number of factors - won't map to the right file path.

 

Microsoft MVP, Visual C#
My Articles
GeneralJetBrains ReSharper. The Most Intelligent Add-In To VisualStudio.NET Pin
Anonymous5-Aug-04 1:52
Anonymous5-Aug-04 1:52 
GeneralRe: JetBrains ReSharper. The Most Intelligent Add-In To VisualStudio.NET Pin
Roger Alsing5-Aug-04 3:20
Roger Alsing5-Aug-04 3:20 
GeneralCorrect way to reset the modem Pin
Serge Lobko-Lobanovsky5-Aug-04 1:35
Serge Lobko-Lobanovsky5-Aug-04 1:35 
GeneralRe: Correct way to reset the modem Pin
Heath Stewart5-Aug-04 3:09
protectorHeath Stewart5-Aug-04 3:09 
GeneralRe: Correct way to reset the modem Pin
Serge Lobko-Lobanovsky5-Aug-04 3:17
Serge Lobko-Lobanovsky5-Aug-04 3:17 
GeneralRe: Correct way to reset the modem Pin
Heath Stewart5-Aug-04 3:24
protectorHeath Stewart5-Aug-04 3:24 
GeneralRe: Correct way to reset the modem Pin
Squeaker5-Aug-04 7:24
Squeaker5-Aug-04 7:24 
Questionis it possible to forcE thumbnail view in open dialog? Pin
misterbear5-Aug-04 1:33
misterbear5-Aug-04 1:33 
QuestionWhich richTextBox Event to use ? Pin
evdoxos5-Aug-04 1:16
evdoxos5-Aug-04 1:16 
AnswerRe: Which richTextBox Event to use ? Pin
Heath Stewart5-Aug-04 2:55
protectorHeath Stewart5-Aug-04 2:55 
GeneralRe: Which richTextBox Event to use ? Pin
evdoxos5-Aug-04 3:09
evdoxos5-Aug-04 3:09 
GeneralRe: Which richTextBox Event to use ? Pin
Heath Stewart5-Aug-04 3:14
protectorHeath Stewart5-Aug-04 3:14 
GeneralRe: Which richTextBox Event to use ? Pin
evdoxos5-Aug-04 3:24
evdoxos5-Aug-04 3:24 
QuestionProbably Reflection... but how? Pin
matthias s.5-Aug-04 1:05
matthias s.5-Aug-04 1:05 
AnswerRe: Probably Reflection... but how? Pin
Heath Stewart5-Aug-04 2:47
protectorHeath Stewart5-Aug-04 2:47 
GeneralRe: Probably Reflection... but how? Pin
matthias s.5-Aug-04 3:26
matthias s.5-Aug-04 3:26 
GeneralRe: Probably Reflection... but how? Pin
Heath Stewart5-Aug-04 3:35
protectorHeath Stewart5-Aug-04 3:35 

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.