[ADVANCED-DOTNET] Winforms & Not enough storage is available to process this comman d error

2004-10-12 Thread Ret Martin
Hi, I'm experiencing following problem: I have complex Winforms application (Some forms maybe 100 controls). When running the application for extended period of time, I experience degrading performance. After some time I was able to tear down the application with "Not enough storage is avail

Re: [ADVANCED-DOTNET] Assembly.Load() and app.config

2004-02-01 Thread Ret Martin
ConfigurationSettings.AppSettings always uses configuration file of actual app. domain that is in your case the assembly performing Assembly.Load() To load configuration from configuration file named according to your loaded assembly you need to write the process for your own or use something like

Re: [ADVANCED-DOTNET] .NET question...

2004-01-28 Thread Ret Martin
Try using CryptDecodeObjectEx CryptoAPI function to get Modulus and Exponent part and afterwards to remove ANS.1 envelope on both. -Original Message- From: Ramesh [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 4:32 PM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] .NET quest

Re: [ADVANCED-DOTNET] Adding functions to Windows service

2002-07-18 Thread Ret Martin
You cannot expose windows service this way. Your windows service is from point of view of your application another application domain, so you have to use some communication protokol like .net remoting to invoke functions. It's not verry difficult: Try to sepatate all the functions to separate cl

Re: [ADVANCED-DOTNET] Smart card

2002-07-17 Thread Ret Martin
As far as I know, there is no support in .net framework for working with certificate stores or smart cards. You have to call CryptoAPI functions or use CAPICOM wraper... It's quite easy... M > -Original Message- > From: Marek Grolms [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2

Re: [ADVANCED-DOTNET] Using HTTPWebRequest to make SSL connection fails calling for ASP.NET

2002-06-12 Thread Ret Martin
Is the server you are targeting correctly configured? Is the certificate accepted (if used for example from Internet explorer)? I had simmilar problem when I configured listening IIS to require client certificate and to use Windows integrated security without defining mapping rules certificate ->