Re: [DOTNET] Components, Designer and Dispose

2002-04-18 Thread Mark Boulter
One correction: For Non-modal forms Dispose is called when the form is closed. For modal forms Dispose is not called and so you have to call it explicitly mark -Original Message- From: Ian Griffiths [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 13, 2002 4:04 PM To: [EMAIL PROTECTED] S

Re: [DOTNET] Setting MyBase.Text for TextBox not processing

2002-04-18 Thread Mark Boulter
Apologies - to correct myself Enter fires before GotFocus. The rest of my comments stand mark -Original Message- From: Mark Boulter [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 11:26 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Setting MyBase.Text for TextBox not processin

Re: [DOTNET] Setting MyBase.Text for TextBox not processing

2002-04-18 Thread Mark Boulter
GotFocus fires before Enter which explains what you are seeing I think. Why have you put code in both? My suggestion would be to use the Enter event and ignore GotFocus. Another good event to use is Validating or Validated mark -Original Message- From: Roy Higgs [mailto:[EMAIL PROTECTED]

[DOTNET] Retrieving user properties from a WinNT provider using .Net

2002-04-18 Thread george antony
Hi guys , I have a query here . We are developing an application which needs to find the users of a particular group in the WinNT Domain . I could get connected to the WinNT provider using the DirectoryEntry class. But I couldn't find any sample to retrieve the users of the object . I am confused

[DOTNET] Emergency!!Help me

2002-04-18 Thread Zhao Lei
I download dotnet sdk,and setup it.But,to my surprise,my OracleService cannot be started,why?So i have to unremove sdk buz I work by oracle8i. how to solve this problem,please help me,thanks a lot You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other Develo

[DOTNET] DataGrid index

2002-04-18 Thread Subash
hi, We have developed a datagrid tied to a dataset (using batch update, where all changes - multiple deletes, inserts, updates are done on the disconnected dataset first). The problem we are facing is that we cannot ensure that the item index of the grid is correctly mapped to the index of the da

Re: [DOTNET] Find Directory Control

2002-04-18 Thread Poupko, Avraham
Thanks!! It worked perfectly. /Abe -Original Message- From: Gagne, Chris [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 6:42 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Find Directory Control Search the archives for FolderNameEditor and FolderBrowser. You should turn up r

[DOTNET] VB.NET, Private Types, and Case Sensitivity

2002-04-18 Thread Jason Bock
Let's say there's a public class called ThisType in an assembly under the VBNET.IsFun namespace. The GetThisType() method on a SomeObject instance will return an instance of ThisType. However, there's also a private class called THISTYPE in the same namespace. So...when I try to do this: D

Re: [DOTNET] ANN: .NET Remoting open source projects & Call for action!

2002-04-18 Thread Peter Stephens
> Ingo Rammer spake: > > This mail is also a call for action! > If you already implemented channels or sinks or have some great > ideas about > doing so, please don't hesitate to contact me This is great! I am currently out of the remoting phase of my app and am under fairly tight deadline for co

[DOTNET] Please help: Web Service's namespace resolution in WinGUI

2002-04-18 Thread Cameron Cameron
Hi, I have defined a Web Service and have added it to WinGUI project but when I compile WinGUI, it cannot resolve the Web Service class under Web Reference (localhost in my case) that is defined in Web Service project. What reference.cs should look like and where can I find any info on MSDiscoCo

[DOTNET] Channel sinks and remoting configuration

2002-04-18 Thread Wilson Chiesa
Hello guys, I already developed a channel sink to encrypt data passed from the proxy client to the remoting server. The channel sink uses the RSACryptoServiceProvider base class to create and RSA key pair to work in an asymmetric encryption environment. The issue is that I want to configure remo

Re: [DOTNET] dotNET in W98...

2002-04-18 Thread kojiishi
There's remote debug available for W98. Insert VS.NET CD to W98 machine and you'll see the option. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Shu Shen Sent: Friday, April 19, 2002 3:19 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] dotNET in W98...

[DOTNET] ToolboxData and TagPrefix issues

2002-04-18 Thread Cox, Stuart
I'm creating a custom control and I want to change the default signature of the control using the TagPrefixAttribute. It seems to be working fine, but it does not respect the order of the attributes I'm defining in the TagPrefix. This is the attribute I have defined: [ToolboxData("<{0}:MyContr

Re: [DOTNET] How to render HTML in WinForms without AxWebBrowser?

2002-04-18 Thread Rolls, Robert
Exactly what we thought of writing! Now that would Rock! -Original Message- From: Brad Wilson [mailto:[EMAIL PROTECTED]] Sent: Friday, 19 April 2002 8:23 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] How to render HTML in WinForms without AxWebBrowser? Hofmeister, Holger wrote: > I need

Re: [DOTNET] SP1 and trusting an assembly?

2002-04-18 Thread franklin gray
"This did not happen under SP0." I too didn't see this problem until SP1 came out. -Original Message- From: Chris Sells [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 6:20 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] SP1 and trusting an assembly? Nope. I've reset the secur

Re: [DOTNET] SP1 and trusting an assembly?

2002-04-18 Thread Chris Sells
Nope. I've reset the security policy to the default so that it has never heard of that assembly and I get the same behavior. This did not happen under SP0. Chris Sells http://www.sellsbrothers.com/ > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > B

Re: [DOTNET] SP1 and trusting an assembly?

2002-04-18 Thread Brent E. Rector
This is just a guess but the effective security policy is the intersection of the policies for four different levels: Enterprise, Machine, User and AppDomain. This basically means that each level can only further restrict the effective policy established by the other levels. Maybe you're trying to

[DOTNET] ANN: .NET Remoting open source projects & Call for action!

2002-04-18 Thread Ingo Rammer
Peter Drayton, Simon Fell and I are proud to announce a set of open source .NET Remoting projects. We have planned this for some time now and after Simon created the CVS repository last week, I finally got the time to create a web site about them. http://www.dotnetremoting.cc/projects We have cu

[DOTNET] web service returning poor xml.

2002-04-18 Thread Phill Tornroth
Hola. I have a web method defined : [WebMethod] public string PostData(string data) { } If the method succeeds I return to the caller "SUCCESS" which according to the generated harness, should return " http://bridgemedical.com";>SUCCESS" Instead, I'm not getting the element, and instead I

Re: [DOTNET] SP1 and trusting an assembly?

2002-04-18 Thread franklin gray
I think it has something to do with the level of security you have set for intranet in IE. I may be mistaken, but I think the security we set using the config wizard is only for managed apps and that we can't set a higher level then what is available in the over all security settings. Just a

[DOTNET] Can't add children to controls from ParseControl

2002-04-18 Thread Erick Thompson
I'm writing a custom web control, using ParseControl quite a bit. Create a new WebForm, with nothing in the form element. Then, add the following in the Page_Load event handler. Control panel = ParseControl(""); Control newctrl = ParseControl(""); panel.Controls.Add(newctrl); foreach (Control ctr

Re: [DOTNET] SP1 and trusting an assembly?

2002-04-18 Thread Sean Greer (SBI-Chico)
I experienced the same problem when attempting to test my HTTP deployed application (which uses a database connection). The assembly is stong named and I couldn't get it to trust "this one assembly" or all with same public key. I ended up giving Local Intranet full trust so that I could move on

[DOTNET] SP1 and trusting an assembly?

2002-04-18 Thread Chris Sells
When attempting to trust an assembly on my intranet (on my machine, actually) using the Trust an Assembly wizard, if I choose to just trust "This one assembly", the next page says: "Due to your existing security policy, the wizard is unable to increase the level of trust for this assembly. No cha

Re: [DOTNET] How to render HTML in WinForms without AxWebBrowser?

2002-04-18 Thread Brad Wilson
Hofmeister, Holger wrote: > I need to display some html thats constructed in code. The Genghis[1] project has this slated as a feature for the future, but nobody has offered to write it yet. I might. I haven't decided. ;) Brad [1] http://www.genghisgroup.com/ -- Read my web log at http://www.

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Brad Wilson
Francesco Sanfilippo wrote: > Nutscrape 4.x is still used by almost 10% of visitors (as much as we shudder > at the thought)...maybe it's time to write more backwards compatible code, > no? Not for my site. Netscape is essentially non-existent, even though my web site is Netscape compatible. Per

Re: [DOTNET] How do you set a method variable from within a switch statement ? - Newbie Question

2002-04-18 Thread Greg Reinacker
Here's an example (some of your code, edited) of how to fix the compiler warnings you're getting; just move the return to the end of the function. private string PathToDocument(string entryType, string xmlPath) { string filePath; switch(entryType) { case "

[DOTNET] Checked list box loosing state..

2002-04-18 Thread Alex Henderson
I've got a DataTable with two fields: groupId and groupDescription ... I then do this: DataSet dsGroups; ... initialize dataset ... cbGroups.DataSource = dsGroups.Tables[0]; cbGroups.ValueMember = "groupId"; cbGroups.DisplayMember = "groupDescription"; It all works fine, however when I drop it o

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Greg Reinacker
Here's a terrifying (to me ;-) statistic - On one of my clients' sites, Netscape 4.x accounts for 38% of the traffic. Yikes! -GR -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Francesco Sanfilippo Sent: Thursday, April 18, 2002 10:49 AM To: [EMAIL PR

Re: [DOTNET] Remoting Security : Ingo's Book

2002-04-18 Thread Christian Weyer
So Ingo, didn't you write a Web Service with Remoting that is always listing the top five of the online book sellers? ;-) Cheers, Christian - .NET XML Web Services Repertory http://www.xmlwebservices.cc/ - Steve Johnson wrote:

Re: [DOTNET] Remoting Security : Ingo's Book

2002-04-18 Thread Alex Ivanoff
You could get it for even less: http://www.bookpool.com/.x/dqomkrm924/ss/1?qs=1590590252 -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Myrick, Joe M. Sent: Thursday, April 18, 2002 17:00 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Remoting Security :

Re: [DOTNET] How do you set a method variable from within a switch statement ? - Newbie Question

2002-04-18 Thread John Mandia
I used methods to set the values. This is my first class and I handled the problem this way. It is complaining about un-reachable code (Because I use return in the switch statement) but I think that it's unavoidable (Just a begininner so there probably is a better way). This is my completed cla

Re: [DOTNET] Copy XmlNode tag contents

2002-04-18 Thread Marsh, Drew
Erick Thompson [mailto:[EMAIL PROTECTED]] wrote: > Is there a good way to copy an XmlNode element's tag > contents? What I need to do is take something like att="one">Some text, and return only. Sure is. Have a look at XmlNode::CloneNode. In your case you want to pass false for the "deep" para

Re: [DOTNET] Attribute Question: How Many?

2002-04-18 Thread Marsh, Drew
Scott Densmore [mailto:[EMAIL PROTECTED]] wrote: > // how many attributes and how do they look is this correct? > [Serializable] > [MyCustomAttr] > class Forr > { Not sure about any limit (though if there is one I'm sure it's way more than you'd ever need), but that's the correct syntax for mult

Re: [DOTNET] Remoting Security : Ingo's Book

2002-04-18 Thread Myrick, Joe M.
Thanks, but I pre-ordered it from Amazon and got the $34.95 price. ;;) They finally shipped it last night. -Original Message- From: Ingo Rammer [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 3:38 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Remoting Security : Ingo's Book

[DOTNET] Attribute Question: How Many?

2002-04-18 Thread Scott Densmore
This may be an easy / obvious question but I was wondering is there a limit on the number of attributes you can have on a class / method / property? eg // how many attributes and how do they look is this correct? [Serializable] [MyCustomAttr] class Forr { } thanks, scott You can read message

Re: [DOTNET] Remoting Security : Ingo's Book

2002-04-18 Thread Steve Johnson
> In the meantime: it's also available at B&N > [http://service.bfast.com/bfast/click?bfmid=2181&sourceid=39395790&bfpid > =159 > 0590252&bfmtype=book] for 39.96. $32.95 at Bookpool http://www.bookpool.com/.x/thwy881r0m/ss/1?qs=Ingo+Rammer -- Steve Johnson 3t Systems You can read messages fro

Re: [DOTNET] BinaryWriter.Write( string )

2002-04-18 Thread John Lam
Thanks guys. I just wanted a reality check. I'm moving some data from C# to C++ code, so I'll just have to duplicate that algorithm over on the C++ side of things. Cheers, -John http://www.iunknown.com -Original Message- From: Henk de Koning Se

Re: [DOTNET] Remoting Security : Ingo's Book

2002-04-18 Thread Ingo Rammer
> Your book must be selling like mad. Amazon kicked the price > back up to $49.99 from their introductory $34.95 price. I've already seen it today ... In the meantime: it's also available at B&N [http://service.bfast.com/bfast/click?bfmid=2181&sourceid=39395790&bfpid=159 0590252&bfmtype=book] f

[DOTNET] Copy XmlNode tag contents

2002-04-18 Thread Erick Thompson
Is there a good way to copy an XmlNode element's tag contents? What I need to do is take something like Some text, and return only. At the moment, I creating a stringbuilder, and then looping through the attributes, but this seems error prone. Is there a built in way to do this? StringBuilder s

Re: [DOTNET] BinaryWriter.Write( string )

2002-04-18 Thread Henk de Koning
7 bit int encoding is a wellknown variable lengtrh encoding. You can find the definition of it in the Java class file format (and some other places ;-);-). -- Henkk - Original Message - From: "Marsh, Drew" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 10:28 P

Re: [DOTNET] BinaryWriter.Write( string )

2002-04-18 Thread Marsh, Drew
John Lam [mailto:[EMAIL PROTECTED]] wrote: > With short strings, it does write out the length as a single > byte. With longer strings, it does expand it to a word. Now, > when reading this thing back in, how does one determine > whether the length prefix is one or two bytes John, While I do

Re: [DOTNET] IIS Managed Classes

2002-04-18 Thread Marsh, Drew
Edward Ferron [mailto:[EMAIL PROTECTED]] wrote: > How do you GetObject("IIS://servername/w3svc") in C#? Have a look at the System.DirectoryServices namespace. > How do you create a virtual directory in C# for IIS? I provided a sample for this very thing in the list's archives[1]. HTH, Drew [

Re: [DOTNET] Remoting Security : Ingo's Book

2002-04-18 Thread Myrick, Joe M.
Your book must be selling like mad. Amazon kicked the price back up to $49.99 from their introductory $34.95 price. Congrats. -Original Message- From: Ingo Rammer [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 2:17 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Remoting Secur

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Young, Corey A
When is AOL switching to the Mozilla browser? -Original Message- From: Brian G. Vallelunga [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 11:01 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] To Frame or Not to Frame >>maybe it's time to write more backwards compatible code, no

[DOTNET] IIS Managed Classes

2002-04-18 Thread Edward Ferron
Are there any managed classes for IIS? I would like to create virtual directories from my C# code using IIS. I already know how to do it in COM using ADSI but I do not know how to perform the GetObject call in C# like I you would do in VB. How do you GetObject("IIS://servername/w3svc") in C#?

[DOTNET] Setting MyBase.Text for TextBox not processing

2002-04-18 Thread Roy Higgs
I have created a class that inherits from System.Windows.Forms.TextBox so I can add some functionality like a date mask, validating numeric types, etc. I have this block of code that handles MyBase.Enter and MyBase.GotFocus and does some stuff when the type of the textbox is Date. Basically what t

[DOTNET] Detecting Enabled Cookies?

2002-04-18 Thread Rick Casey
I am currently using one page to set a cookie, redirect to another page and see if the cookie is still enabled and the value matches the original. Any way I can wrap this up in a Class with properties such as bool AreCookiesAvailable and use it with ASP.NET? I can't imagine anything since I am u

[DOTNET] BinaryWriter.Write( string )

2002-04-18 Thread John Lam
Is it just me, or is this method totally non-deterministic? The docs claim: "A length-prefixed string represents the string length by prefixing to the string a single byte or word that contains the length of that string." With short strings, it does write out the length as a single byte

Re: [DOTNET] Load Icons

2002-04-18 Thread James Johnson
First you need to make the icon an embedded resource, select the icon in VS.NET then change the Build Action to "Embedded Resource". Icon myIcon = new Icon(GetType(), "myicon.ico"); Assuming the type is in the same assembly as the icon. HTH, James Johnson -Original Message- From: dotn

Re: [DOTNET] Remoting Security

2002-04-18 Thread Ingo Rammer
Hi Marina, you need to keep it in an application-scope variable, not a session scope one. But you're right ... it should work this way ;) HTH, -Ingo Author of "Advanced .NET Remoting" http://www.dotnetremoting.cc > -Original Message- > From: Marina Zlatkina [mailto:[EMAIL PROTECTED]] >

Re: [DOTNET] Remoting Security

2002-04-18 Thread Marina Zlatkina
I don't have that file because i have asp.net files written from scratch, nto the IDE, I guess I'll either put it there, or maybe just keep a session variable for now that keeps track of whether or not remoting has been configured... You can read messages from the DOTNET archive, unsubscribe from

Re: [DOTNET] Remoting Security

2002-04-18 Thread Ingo Rammer
Hi Marina, > I called it only once in the page, but now realize I need to shut down > asp.net every time i reload the page in order to debug...what > a pain... No you don't have to! Just put the call to remotingconfiguration.configure() in the global.asax's method Application_Start() ... this wi

Re: [DOTNET] Remoting Security

2002-04-18 Thread Marina Zlatkina
I called it only once in the page, but now realize I need to shut down asp.net every time i reload the page in order to debug...what a pain... Thanks, Marina You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develo

Re: [DOTNET] Remoting Security

2002-04-18 Thread Matt Milner
Make sure you only call configure once in your applictaion, probably in the application_onstart method in your global.asax file. Otherwise, if you do it in say a page, then you are trying to re-register the channel(s). HTH, Matt -Original Message- From: Marina Zlatkina To: [EMAIL PROTEC

Re: [DOTNET] Serviced Components and New()

2002-04-18 Thread Peter Foreman
--- Steve Holak <[EMAIL PROTECTED]> wrote: > If it's an object that maintains state, then there's no problem. If it's a > stateless COM+ component, then no. I do recommend ditching the Intit > method and initializing the property values in the constructor call : Doh! We're going round in circl

[DOTNET] Add-In Command Not Executing

2002-04-18 Thread Alejandro Mezcua
Hi, i'm going kind of crazy over this, so maybe someone can help me out. I'm developing an addin and want to have custom commands that i register using AddNamedCommand. I can register the commands on the OnConnection event and remove them on the OnDisconnection event. The AddIn loads fine, creat

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Peter Foreman
Although every other browser except IE holds a small market share (even if you add them all together), Netscape 4.7, Web TV, etc need to be supported by commercial applications. It's not nice, but it is a commercial fact IMHO. Could you imaging the uptake in ASP.Net if they had left these beh

Re: [DOTNET] Serviced Components and New()

2002-04-18 Thread Peter Foreman
On Thu, 18 Apr 2002 17:10:03 +0100, Alan Williams <[EMAIL PROTECTED]> wrote: >Could you try to clarify something for me, Peter. > >I will create a New() object. >I will then call Init() on that object to set some properties. Init() >will DisableCommit to keep the object active after the Init() ret

Re: [DOTNET] dotNET in W98...

2002-04-18 Thread Shu Shen
For simple applications, you can use CorDbg. Otherwise, you can use remote debugging. You'll need to install DCOM on Win9x. More help can be found at: ms-help://MS.VSCC/MS.MSDNVS/vsdebug/html/vxoriRemoteDebuggingSetup.htm Shu -Original Message- From: Thomas Tomiczek [mailto:[EMAIL PRO

Re: [DOTNET] Serviced Components and New()

2002-04-18 Thread Steve Holak
If it's an object that maintains state, then there's no problem. If it's a stateless COM+ component, then no. I do recommend ditching the Intit method and initializing the property values in the constructor call : Dim objMyObject as New TransactionalObject(x,y,z) . . .etc. IIRC, the Init funct

Re: [DOTNET] Sample Code

2002-04-18 Thread Cameron Cameron
Thanks for the reply. Duwamish is good but I'm stuck with accessing web services from WinGUI project and I can't find any example using webservices from WinGUI. Thanks, Cameron >From: Federico Mesplet <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED]

Re: [DOTNET] InputBox in C#?

2002-04-18 Thread Marsh, Drew
Smiley, Shawn [mailto:[EMAIL PROTECTED]] wrote: > Basically I need a small dialog box to popup and ask the user > to enter a single value (from a WinForms application). I > hate to create a custom dialog box if there is something > built into the framework that I could use. There's nothing buil

[DOTNET] InputBox in C#?

2002-04-18 Thread Smiley, Shawn
I just noticed that there doesn't appear to be an equivalent of the VB6 InputBox or Jscript prompt() dialog boxes in C#/.net Framework. Looking through the framework docs, it appears that the command InputBox() has been maintained in VB.net for backwards compatibility. However this function does

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Marshall Harrison
I tried the photo album and everytime I clicked on a thumbnail iamge I got a Javascript error - Line:17 Error: Expected ';' I'm using IE6. I'm not complaining as I liked you site but this is just FYI. Marshall Harrison -Original Message- From: Brian G. Vallelunga [mailto:[EMAIL PROTECT

Re: [DOTNET] Remoting Security

2002-04-18 Thread Ingo Rammer
Marina, Hmm .. Maybe you already have a web.config in place which already registered this channel. HTH, -Ingo Author of "Advanced .NET Remoting" http://www.dotnetremoting.cc > -Original Message- > From: Marina Zlatkina [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 18, 2002 7:19 PM

Re: [DOTNET] The error page of ASPNET

2002-04-18 Thread C, Langlois
Thanks but there is nothing in the innerexception that help me. Do you know where the aspnet error page get this information. I mean the lines of code they show in the pages, it is not the line number i need, i already got this one. Like the example here: Source Error: Line 150: Line 151:

Re: [DOTNET] Remoting Security

2002-04-18 Thread Marina Zlatkina
So, by following one of the examples on MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en- us/cpguide/html/cpconremotingexamplehostinginiis.asp) , I was able to sort of get things workinguntil, I wanted to try using remoting from an asp.net page and not from a console app. In

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Sean Greer (SBI-Chico)
>> maybe it's time to write more backwards compatible code, no? If I was going to recoup the development cost from the 10% increase in traffic, then perhaps. If supporting NN 4.7 is worth it to you or your clients, great. I'll be faced with this decision (which browsers to support) in a few mon

Re: [DOTNET] Serviced Components and New()

2002-04-18 Thread Brent E. Rector
You don't have to create a new object but it will need to be initialized again. When your transaction commits/aborts, the COM+ runtime deactivates your object (basically either destroys or pools it). When you make a subsequent method call, the COM+ runtime automatically creates a "new" object (ei

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Brian G. Vallelunga
>>maybe it's time to write more backwards compatible code, no? No. But seriously, I have the luxury of not dealing with "customers," as this is a personal site. If I were you, I would try to find a happy medium. Design the site with correct coding practices and the use of CSS. Try to make the

Re: [DOTNET] Serviced Components and New()

2002-04-18 Thread Alan Williams
Could you try to clarify something for me, Peter. I will create a New() object. I will then call Init() on that object to set some properties. Init() will DisableCommit to keep the object active after the Init() returns (Done bit = false). I will then call a transactional method that uses the con

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Francesco Sanfilippo
Believe me, I'm all for modern browsers and I wish everyone in the world used IE 6.x, but they don't.yet. I still try to develop pages that look good on NS 4.7 because almost 10% of visitors still use it, unfortunately. Probably in 2003, I'll drop NS 4.7 from my compatibility list and develo

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Francesco Sanfilippo
Nutscrape 4.x is still used by almost 10% of visitors (as much as we shudder at the thought)...maybe it's time to write more backwards compatible code, no? Francesco >From: "Sean Greer (SBI-Chico)" <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Su

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Brian G. Vallelunga
Francesco, Netscape 4.7... ha ha ha Actually, my site should not use any styles at all with Netscape 4.7, and it shouldn't because Netscape only partially implements style sheets, and it does a horrible job at that. So, yes, the photo browser won't work in NS 4.7. The rest of the pages should

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Sean Greer (SBI-Chico)
Time to upgrade... -Original Message- From: Francesco Sanfilippo [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 8:51 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] To Frame or Not to Frame Your site crashes horribly on Netscape 4.7... Francesco >From: "Brian G. Vallelung

Re: [DOTNET] Using System.Reflection to create Extensible Apps

2002-04-18 Thread Chris Rolon
I've already created a UI framework based on the same strategy. It works very well. My MDI parent window is written in C# and I have "application modules" that are dynamically discovered when the exe is started. The container application, on startup, looks for assemblies that implement the interf

Re: [DOTNET] Remoting Security

2002-04-18 Thread Marina Zlatkina
I dont' know much about DCOM, but I believe the reason we are not using it now is that too many ports would have to be open if there was a firewall. We even had a Microsoft guy come in, and basically tell us it wasn't going to happen using that technology. Marina You can read messages from the D

Re: [DOTNET] dotNET in W98...

2002-04-18 Thread Thomas Tomiczek
Please not - I mean, I work with DirectShow, and I get a format not compatible error (propably some filter), and you tell me there is NO REMOTE DEBUGGING? Ups. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: franklin gray [mailto:[EMAIL

[DOTNET] DevExpress ASPxGrid experience?

2002-04-18 Thread John
Hi, Wondering if any of the beta users of this product can give any feedback on its quality, features, performance, etc.. Also, anyone know when it's supposed to be released? (Yes, I have emailed DevExpress sales with that question) Thanks, John You can read messages from the DOTNET archive,

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Francesco Sanfilippo
Your site crashes horribly on Netscape 4.7... Francesco >From: "Brian G. Vallelunga" <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] To Frame or Not to Frame >Date: Thu, 18 Apr 2002 11:24:28 -0400 > >These days, if you're goin

Re: [DOTNET] how asp.net handles aspx page?

2002-04-18 Thread ChongQing Xiao
Hi,Jim: Thanks a lot. To look at the generated source code is just what I want. Chong -Original Message- From: Jim Arnold [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 10:27 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] how asp.net handles aspx page? Usually in C:\WINNT\

Re: [DOTNET] Remoting Security

2002-04-18 Thread Ron Jacobs
Why don't you just use DCOM with the ServicedComponent (COM+). This way there will be fewer layers to pass through, the protocol is binary and offers a wide range of security options and can be addressed to specific ports on the firewall. Additionally, it will flow security and transaction conte

Re: [DOTNET] how asp.net handles aspx page?

2002-04-18 Thread Jim Arnold
Usually in C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\ The easiest way to see the source code (after parsing but before compilation) is to put a deliberate syntax error into your code and click "Show Complete Compilation Source" in debug mode. Jim > -Original Messag

Re: [DOTNET] dotNET in W98...

2002-04-18 Thread franklin gray
Sounds like you will need to create a log and write to the log a lot. I've had to do this with a Windows service because of the multithreading aspect of it. -Original Message- From: Thomas Tomiczek [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 11:01 AM To: [EMAIL PROTECTED]

Re: [DOTNET] how asp.net handles aspx page?

2002-04-18 Thread Henk de Koning
BTW, compiled code is not by definition faster than interpreted code. The code bloat created by traditional compiled dlls can actually make them slower than interpreted code. The magic of the .Net runtime is that it will only compile the stuff it needs (unless you ngen your assembly of course). -

Re: [DOTNET] Devexpress Grid!

2002-04-18 Thread Dan Souk
Pretty picky:) I don't think I've seen a collection class that use Add like this. Nearly all allow you to pass in an object of the appropriate type to be added. Perhaps this is their way of ensuring the collection is type-safe; they add the item for you internally then give you a reference to so y

[DOTNET] dotNET in W98...

2002-04-18 Thread Thomas Tomiczek
I have an app that blows on 98 :-) Anyone any clue how to debug it? VS does not install on 98 :-) Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://di

Re: [DOTNET] Find Directory Control

2002-04-18 Thread Gagne, Chris
Search the archives for FolderNameEditor and FolderBrowser. You should turn up results that will lead you in the right direction. If not email me directly and I can share a solution that I had come up with. Best of luck. Chris Gagne MCP Programmer Analyst Information Technology Group Richard I

Re: [DOTNET] The error page of ASPNET

2002-04-18 Thread Jason Lavigne
If you compile your code in debug mode this may be possible. Catch an exception then drill down in to InnerException of your exception to see if this information is useful. But as soon are you compile as a release you lose this line numbers and other debug information in return for much better per

Re: [DOTNET] Using System.Reflection to create Extensible Apps

2002-04-18 Thread Jay Ayliff
Hello again Peter, I checked it out again. The reason it didn't work was I was casting to Form, but calling a Connect() method on our base class. Now I am casting to our base class and it works fine. We now also have the added safeguard that forms not based on the base class will fail. Thanks ag

Re: [DOTNET] Devexpress Grid!

2002-04-18 Thread franklin gray
Hey, want do you knowI just got 2 replies from emails I sent Tuesday morning. I guess they heard me complaining :)~ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Devexpress Grid!

2002-04-18 Thread franklin gray
I know I am being picky here, but if one were to follow the vb.net structure, wouldn't clm = cv.Columns.Add() be clm = cv.NewColumn or cv.CreateColumn (much like the XMLDoc.CreateElement)? This .Add() with nothing in the brackets is just confusing. Oh BTW, this is from one of their examples.

Re: [DOTNET] Serviced Components and New()

2002-04-18 Thread Peter Foreman
--- Alan Williams <[EMAIL PROTECTED]> wrote: > But could you tell me why I should DisableCommit for JIT activated > objects. I should really have said for transactional components. (Since you are using transactions you are also using JIT activation implicitly). You'll never want to commit a tr

[DOTNET] Find Directory Control

2002-04-18 Thread Abraham Poupko
I need a dialog control that is like the 'open file' dialog , but that allows the user to select a directory rather then a file. Anyone know of such a thing? /Abe You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.de

Re: [DOTNET] The error page of ASPNET

2002-04-18 Thread Thomas Tomiczek
Not easily, and definitly NOT in a production application. You talk of compiled code here. Line numbers and code references are not part of the compiled code when making an optimised build. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From

[DOTNET] The error page of ASPNET

2002-04-18 Thread C, Langlois
Hi, i am writing a centralize error handler in a httpmodule. I need to gather some informations in order to log that information in the event log. I would like to have the same informations that the error page of aspnet gave me. I was able to gather almost everything i need except the source err

Re: [DOTNET] how asp.net handles aspx page?

2002-04-18 Thread Thomas Tomiczek
No clue - nether cared. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: ChongQing Xiao [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 18. April 2002 17:23 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] how asp.net handles aspx page? Hi,Thom

Re: [DOTNET] how asp.net handles aspx page?

2002-04-18 Thread Bill Conroy
Try: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files -Bill Conroy Architect Extreme Logic -Original Message- From: ChongQing Xiao [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 11:23 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] how asp.net handles aspx

Re: [DOTNET] Serviced Components and New()

2002-04-18 Thread Alan Williams
Actually I have just found a brief answer in the MSDN but any further elaboration would be welcome. Alan -Original Message- From: Alan Williams Sent: 18 April 2002 16:06 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Serviced Components and New() Pete, thanks. I am going the "Init" route

Re: [DOTNET] To Frame or Not to Frame

2002-04-18 Thread Brian G. Vallelunga
These days, if you're going to use CSS (which you should) you can get a frames effect, without the actual use of frames. Basically, you set the overflow property for a div to "scroll" or "auto" and you'll have what looks like a frameset. To see this technique in action, you can check out my photo

  1   2   >