[DOTNET] App Domain Shutdown

2002-04-27 Thread Juval Lowy
.NETters, Suppose I create a new app domain in my process. What triggers it to shut down? Is it when all objects in it are garbage collected? Thanks, Juval. [EMAIL PROTECTED] IDesign Inc. .NET Design and Business Solutions http://www.idesign.net/ You can read messages from the DOTNET archive,

Re: [DOTNET] Marshalling Issue

2002-04-27 Thread John Bristowe
Mattias, Thank you very much! I was able to sort out these and other marshaling issues (a ton of credit to be given to your post). To everyone on this list: Sorry for the RTFM posting. I locked myself in a room and read the entire marshaling documentation stack last night. I feel much more en

Re: [DOTNET] Disrespect

2002-04-27 Thread Reggie Burnett
What? I didn't catch the origination of this thread but feel compelled to respond. True this is a technical forum which means we use the tools discussed in this forum to solve our problems. It does not mean that we are all employees of Microsoft or agree with all of their decisions. It is very

Re: [DOTNET] Confirm string GetHashCode reflects string, not object

2002-04-27 Thread Peter Stephens
> Ian Griffiths spake: > MD5 is believed to > be a good hash algorithm, and it has a length of 128 bytes (i.e. > 1024 bits) Actually MD5 is 128 *bits*, that is 16 bytes... -- Peter You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor list

Re: [DOTNET] Question: DataGrid Paging

2002-04-27 Thread Matt Milner
Sure, just use a wrapper control like the placeholder (no runtime rendering) or the panel (renders as a div or span I believe) and set the visible property on that. When a server side control has it's visible property set to false, it won't render, and therefore the child controls within it also

Re: [DOTNET] Cannot start Ms .NET Framework Configuration pr.

2002-04-27 Thread Amit Bahree
Why can't you just use the .NET Framework Conig from Start => Programs => Admin Tools ? You can copy this shortcut and put it on the Desktop or the Quick Launch, atleast saves you the trouble of adding the snap-in every time. Regards. You can read messages from the DOTNET archive, unsubscribe fr

[DOTNET] Disrespect

2002-04-27 Thread Brad Wilson
Michael Weller wrote: > M$ Dev Environment 2002 v7.0.9466 > M$ .NET Framework 1.0 v1.0.3705 Can you please show proper respect when posting to a technical forum? This sort of behavior is fitting of adolescents, not professionals. Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You

Re: [DOTNET] How to create an upgrade project?

2002-04-27 Thread Srihari Angaluri
Thanks Matt! I will try this procedure. -Srihari You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] .NET Framework on Itanium?

2002-04-27 Thread Srihari Angaluri
Is .NET Framework available for the Itaniums? If yes, where can I download it from? There is no information about itanium support on the .NET download site. If it's not there yet, then when will it be? Thanks, -Srihari You can read messages from the DOTNET archive, unsubscribe from DOTNET, or

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Michael Weller
hi! > > Sounds like you're using an old book. There were some changes between > the betas and release candidates -- you'll probably want to find one > that's more recent. M$ Dev Environment 2002 v7.0.9466 M$ .NET Framework 1.0 v1.0.3705 i think it's all up to date (i just missed to look into t

[DOTNET] Best way to pass object between tiers

2002-04-27 Thread Anye M. Sellers
This isn't specifically a .NET question because it could apply to any OO development but since I'm developing in .NET I'm interested in the answer specifically as it pertains to .NET. If I have a class (we'll call it Product) that has a number of scalar properties and a data access class (we'll c

Re: [DOTNET] why IE 5.01

2002-04-27 Thread Reggie Burnett
Thanks for the links. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Rich Armstrong Sent: Saturday, April 27, 2002 2:56 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] why IE 5.01 As I understand it, you need to build your own IE installer via the IE Ad

Re: [DOTNET] C# Ascii, Asc, Char, Chr functions?

2002-04-27 Thread Joel Mueller
How about: int charCode = (int)'m'; char letter = (char)charCode; > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] > On Behalf Of Weakliem, Gordon > Sent: Tuesday, April 23, 2002 8:14 AM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] C# Ascii, Asc, Char, Chr fu

Re: [DOTNET] Confirm string GetHashCode reflects string, not object

2002-04-27 Thread Ian Griffiths
To answer your original question though, the string's hash function *has* to be based on the string value, not the object identity. (So interning or lack thereof will not affect you.) This is because the String class overrides Equals. Any class that overrides Equals is *required* to override Ge

Re: [DOTNET] lock - how expensive is it to call?

2002-04-27 Thread Ian Griffiths
"Henk de Koning" wrote: > if (bNeedInit) { > lock(this) { > if (bNeedInit) { > > bNeedInit = false; > } This is the classic double check lock for lazy initialization strategy. Unfortunately, according to the strict definition

Re: [DOTNET] AxHost and IDocHostUIHandler: Check this new book out

2002-04-27 Thread Ted Faison
There is a complete example of WebBrowser customization in the new book "Component-based development with Visual C#", available at http://www.amazon.com/exec/obidos/ASIN/0764549146/qid=1019945959/sr=1- 1/ref=sr_1_1/104-7524942-0873504 Chapter 8 shows how to add IDocHostUIHandler and other interf

Re: [DOTNET] Cannot start Ms .NET Framework Configuration pr.

2002-04-27 Thread Henrik Enemark Rasmussen
I have the same problem. Don't know why or when this happened, but try to launch mmc first, then use the 'add/remove snapin' menu to add the '.NET Framework Configuration' snapin. This works for me, but if I save the console and reload it, it fails again, so I use this method every time. Regards

Re: [DOTNET] AW: [DOTNET] Windows authentication and Netscape

2002-04-27 Thread Henk de Koning
> Hi, > thats not right - IIS has to be a domain member - not controller - however > you have to specify "use reversible hash" in Active Directory which poses a > possible security risk. > Duh. Sure, please read this as "installed in a domain". My bad. The point stays though that you don't want

[DOTNET] Impersonation, COM and ASP.NET

2002-04-27 Thread Jeff Dunmall
Hi, I'm wondering if someone could shed some light on what seems to be very unusual behaviour with ASP.NET. This has been driving me nuts for days... I've setup windows authentication and impersonation in my web.config file. I'm using Keith Brown's utility [1] to confirm that impersonation is

Re: [DOTNET] config file for console app

2002-04-27 Thread John Sands
>> this.sqlConnection1.ConnectionString = >> (string) System.Configuration.ConfigurationSettings.AppSettings["YourSetting"] >> string connectString = >> ConfigurationSettings.AppSettings["sqlConnectionString"]; That's it. It's working - thanks Ingo and Deepak. You can read messages from the

Re: [DOTNET] config file for console app

2002-04-27 Thread Deepak Rao
using System.Configuration; ... string connectString = ConfigurationSettings.AppSettings["sqlConnectionString"]; ... your config file would look like HTH Deepak > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of

Re: [DOTNET] config file for console app

2002-04-27 Thread Ingo Rammer
Hi John, As far as I can remember, this should be this.sqlConnection1.ConnectionString = (string) System.Configuration.ConfigurationSettings.AppSettings["YourSetting"] HTH, -Ingo Author of "Advanced .NET Remoting" http://www.dotnetremoting.cc > -Original Message- > From: John Sands [m

Re: [DOTNET] config file for console app

2002-04-27 Thread John Sands
>> If you console app is myapp.exe, name the file myapp.exe.config >> If you are using VS.Net, then just add the config file to your project >> as app.config. VS.Net will then automagically copy that file as > app name>>.exe.config This worked, thanks. But I still can't access the setting from co

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Deepak Rao
Program Files -> Microsoft Visual Studio.Net -> Microsoft Visual Studio.Net Documentation > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > Michael Weller > Sent: Saturday, April 27, 2002 3:20 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] [begin

Re: [DOTNET] why IE 5.01

2002-04-27 Thread Rich Armstrong
As I understand it, you need to build your own IE installer via the IE Admin Kit in order to redistribute it. General information is available at http://www.microsoft.com/windows/ieak/. If you poke around this site a while, you'll eventually reach http://www.microsoft.com/windows/ieak/downloads/r

Re: [DOTNET] config file for console app

2002-04-27 Thread Deepak Rao
If you console app is myapp.exe, name the file myapp.exe.config If you are using VS.Net, then just add the config file to your project as app.config. VS.Net will then automagically copy that file as .exe.config > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On

[DOTNET] config file for console app

2002-04-27 Thread John Sands
I haven't use a .config file before but it looks like just what I need. Sadly, it seems to be intended only for Windows and Web applications. Has anyone used this feature with a Console app? Thanks, John You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to othe

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Jeff Key
Michael, Sounds like you're using an old book. There were some changes between the betas and release candidates -- you'll probably want to find one that's more recent. -jk -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Michael Weller Sent: Saturday,

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Michael Weller
hi! thanks buddies! i was able to find, finally! > Also remember that all classes live in a namespace, so the full path name > for Form is: > System.Windows.Form > (if that is in fact the one you want). > now it works. the book must be wrong... cheers! -mw > -John > > You can read messages

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Bill Johnson (n8)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h tml/cpref_start.asp -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Michael Weller Sent: Saturday, April 27, 2002 11:19 AM To: [EMAIL PROTECTED] Subject: [DOTNET] [beginner] api-d

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread John Burkhardt
Wow, a question even I can answer! You should be able to go to the help index, and type 'Form'. If not maybe you didn't install all the help files? There is extensive online help that normally installs with VS.NET. You can filter it based on languages too. There's also intellisense so you can

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Bill Schmidt
Michael -- The easiest way to get into the documentation is to actually start Visual Studio, then go to the Help menu. All of the built-in documentation (which is very extensive) is available through the Help menu. On Sat, 27 Apr 2002 21:20:28 +0200, Michael Weller <[EMAIL PROTECTED]> wrote: >

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Graeme Foster
You can't miss it! It should be: 1) In your Start menu as "Microsoft Visual Studio .NET Documentation" 2) On the VS.Net Help menu (try Contents...) 3) Available by pressing F1 in VS.NET That topic can be found in your local copy of the help at: Visual Studio .NET/.NET Framework/Reference/Class L

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Michael Weller
hi! thanks: that's the page i was searching for! > http://msdn.microsoft.com/library/en-us/cpref/html/cpref_start.asp?frame > =true > > May I suggest you spend quite a bit of time in the .NET Framework docs > before posting more questions... This documentation also ships with > Visual Studio. ye

Re: [DOTNET] [beginner] api-docs?

2002-04-27 Thread Graeme Foster
http://msdn.microsoft.com/library/en-us/cpref/html/cpref_start.asp?frame =true May I suggest you spend quite a bit of time in the .NET Framework docs before posting more questions... This documentation also ships with Visual Studio. Good luck! G. -Original Message- From: dotnet discuss

[DOTNET] [beginner] api-docs?

2002-04-27 Thread Michael Weller
hi! i'm new to the m$ world and willing to learn c#. now i got this visual studio .net installed, started reading the oreilly book and tried to compile the examples. that didn't work so i tried searching for some kind of api docs to find out if a class "Form" exists and which package it belongs to

Re: [DOTNET] why IE 5.01

2002-04-27 Thread Reggie Burnett
Yes, I know of that page but there are some special command line switches you have to give to the setup file that gets downloaded. Those switches tell it to download the installer rather than install it. I found the switches by searching Microsoft's site. You can read about it here: http://suppo

Re: [DOTNET] Send data with SendMessage

2002-04-27 Thread Steve Loughran
- Original Message - From: "Axel Heitland" <[EMAIL PROTECTED]> Sent: Friday, April 26, 2002 05:23 Subject: Re: Send data with SendMessage >I don't know if I remember correctly, but maybe a HGLOBAL allocated with >GlobalAlloc(GHND) could give you a appropriate piece of memory; but >that'

Re: [DOTNET] Help! How can I hyperlink from Windows datagrid?

2002-04-27 Thread Fred J. Vandervelde
You should be able to derive a class from DataGridTextBoxColumn to do what you want. The only problem I've had with this technique is that my painting code is not called when a cell is in edit mode - does anyone know any way to solve this? -Original Message- F

Re: [DOTNET] why IE 5.01

2002-04-27 Thread Brad Wilson
Reggie Burnett wrote: > Any idea where I can get a full install of IE 5.01 that I can ship on my > products cd? It is possible/likely that some of my clients may not have > active net connections at the time of installation. The only way you're allowed to redistribute IE is by signing up for th

Re: [DOTNET] why IE 5.01

2002-04-27 Thread Jeff Key
http://www.microsoft.com/windows/ie/downloads/archive/default.asp It's not hard to find. Go to the IE page, click "Downloads", then "5.x Versions". -jk -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Reggie Burnett Sent: Saturday, April 27, 2002 10:18

Re: [DOTNET] why IE 5.01

2002-04-27 Thread Reggie Burnett
Any idea where I can get a full install of IE 5.01 that I can ship on my products cd? It is possible/likely that some of my clients may not have active net connections at the time of installation. Reggie -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of G

Re: [DOTNET] why IE 5.01

2002-04-27 Thread Reggie Burnett
I can understand Win95 a bit but I just wish I had a better understanding of why IE 5.01 is required and not IE 5.0. One would hope there is a technical reason but with M$ you never know. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Graeme Foster Sent

Re: [DOTNET] Question: DataGrid Paging

2002-04-27 Thread João Pedro Martins
At 15:47 26-04-2002 -0500, you wrote: >Just add LinkButton commands where you want them and in the server side code >for their click event, increment or decrement the page index. The catch is >that you need to keep track of the current page index. I do this by setting >the command argument of the

Re: [DOTNET] VS.NET settings worth keeping?

2002-04-27 Thread Keith Wedinger
When I want to move my VS .NET settings from one PC to another, I usually save the following: Everything under HKCU\Software\Microsoft\VisualStudio\7.0 %USERPROFILE%\application data\microsoft\visualstudio\7.0\devenv.xml (contains window layout) %USERPROFILE%\application data\microsoft\visualstud

Re: [DOTNET] why IE 5.01

2002-04-27 Thread Graeme Foster
Customers seem fairly happy to accept that Win95 is not supported any more. Not had any complaints, at least. Same goes for IE. G. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Reggie Burnett Sent: 27 April 2002 06:28 To: [EMAIL PROTECTED] Subject: w

Re: [DOTNET] VS.NET settings worth keeping?

2002-04-27 Thread Smith, Eric V.
Tab settings. > -Original Message- > From: Chris Sells [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 8:16 PM > Subject: VS.NET settings worth keeping? > > > If I were to write an add-in/utility for exporting and > importing VS.NET settings, which settings would I want to