Re: [ADVANCED-DOTNET] Visual Studio 2005 consumes ALL computer memory (RAM and virtual)

2006-02-02 Thread Ernst Kuschke
Hi Juilie, I am curious. When you maximize it (after minimizing and having the memery usage drop) does memory usage stay low or does it jump right up to around where it was? -Ernst On 1/27/06, Julia Lerman <[EMAIL PROTECTED]> wrote: > > In here was a ref to "no vb.net users on the list". > > I a

Re: [ADVANCED-DOTNET] XSD -> C# classes -> XML

2006-02-02 Thread Ernst Kuschke
If you want to do this from within the Visual Studio IDE, add "Data Set" files to your project. These are what is known as "typed datasets" and it will re-generate the C# (or VB.NET) classes in the background as soon as your schema changes. It does have limitations though, especially when you schem

Re: [ADVANCED-DOTNET] Mixed C++ / C# programming question

2006-02-02 Thread Ted Neward
All of these are good suggestions, but unless there's some reason you *need* to keep that code unmanaged, why not just flip the /clr switch on and see if it recompiles into CLI code cleanly? Then you can use it directly without any wrapper, COM or otherwise. If it doesn't compile cleanly (or there

Re: [ADVANCED-DOTNET] Service description

2006-02-02 Thread Stephen Bub
OK, thanks guys. Can the same thing be done for other service properties, in particular, the recovery actions? How would I do this? Stephen On Thu, 2 Feb 2006 15:27:53 +0100, Thomas Freudenberg <[EMAIL PROTECTED]> wrote: >Yes, the article goes further than what you've asked for. The >informat

Re: [ADVANCED-DOTNET] Oracle client hangs after network error

2006-02-02 Thread Joris Zwaenepoel
Peter, Where you answering my question, or did you answer another question? Because I have no idea how PInvoke and COM-wrappers could solve the issue I have with hanging Oracle client applications. Greetings, Joris -Oorspronkelijk bericht- Van: Discussion of advanced .NET topics. [mail

Re: [ADVANCED-DOTNET] Oracle client hangs after network error

2006-02-02 Thread Joris Zwaenepoel
Hi Eddie, I am already using the DAAB, but the previous version (not from the EntLib). I did not have the time to look at the EntLib yet. Is the DAAB (EntLib version) not using the System.Data.OracleClient library? If yes, then how could it behave differently then my current code that uses the

Re: [ADVANCED-DOTNET] Oracle client hangs after network error

2006-02-02 Thread Eddie Lascu
Hi Joris, I spent a great deal of time trying to find a solution for this problem. Oracle Client is not the issue, but your class that is used to access the database. I was not able to write a good enough class that would manage the connection and would be able to recover from all sorts of network

Re: [ADVANCED-DOTNET] Service description

2006-02-02 Thread Thomas Freudenberg
Yes, the article goes further than what you've asked for. The information you requested is: the description for a Windows service goes to the registry, i.e. the Description value at HKLM\SYSTEM\CurrentControlSet\Services\ Regards, Thomas On 2/2/06, Iain Smallwood <[EMAIL PROTECTED]> wrote: > If y

Re: [ADVANCED-DOTNET] Mixed C++ / C# programming question

2006-02-02 Thread Eames, Andrew
It's better to create a managed C++ wrapper around your unmanaged code - there's no point in using COM unless you have COM clients Andrew -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Peter Ritchie Sent: Thursday, February 02, 2006 8:

Re: [ADVANCED-DOTNET] Mixed C++ / C# programming question

2006-02-02 Thread Steve Johnson
On 2/2/06, Robert Taylor <[EMAIL PROTECTED]> wrote: > > What I'd like to know is what works and what doesn't work. I understand > that > if the C++ native code is COM then you can generate a wrapper for it > (Visual > Studio appears to do this automatically), but what if you have just a > bunch > o

Re: [ADVANCED-DOTNET] Mixed C++ / C# programming question

2006-02-02 Thread Peter Ritchie
You would have to convert your lib project(s) to DLL project(s) in order to P/Invoke them from C# (or any other .NET language). The alternative, as you may have noticed, is to create a COM wrapper for the functions (again, probably within a DLL) and have Visual Studio reference the COM object(s).

Re: [ADVANCED-DOTNET] Oracle client hangs after network error

2006-02-02 Thread Peter Ritchie
You would have to convert your lib project(s) to DLL project(s) in order to P/Invoke them from C# (or any other .NET language). The alternative, as you may have noticed, is to create a COM wrapper for the functions (again, probably within a DLL) and have Visual Studio reference the COM object(s).

[ADVANCED-DOTNET] Mixed C++ / C# programming question

2006-02-02 Thread Robert Taylor
Can anyone point me at a good reference about mixed C++ (managed and/or native) and C# programming. What I'd like to know is what works and what doesn't work. I understand that if the C++ native code is COM then you can generate a wrapper for it (Visual Studio appears to do this automatically),

Re: [ADVANCED-DOTNET] Service description

2006-02-02 Thread Thomas Freudenberg
There's an article at CodeProject how to add a description to a service [1]. Regards, Thomas [1] http://www.codeproject.com/dotnet/dotnetscmdescription.asp On 2/2/06, Stephen Bub <[EMAIL PROTECTED]> wrote: > Hi there. Can anyone tell me how to add a Windows Service description > that will be di

Re: [ADVANCED-DOTNET] Service description

2006-02-02 Thread Iain Smallwood
If you meant what I think you mean (and you may not of course!) then what I do to achieve this is override the Install method of the ProjectInstaller class that a service project automatically creates to add the relevant registry key e.g.: Public Overrides Sub Install(ByVal mySavedState As IDictio

[ADVANCED-DOTNET] Service description

2006-02-02 Thread Stephen Bub
Hi there. Can anyone tell me how to add a Windows Service description that will be displayed in the Windows Computer Management Console? === This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discu