Re: [DOTNET] Problem with 2 ImageButtons and 1 Validator

2002-05-14 Thread Michael Weinhardt
João, > >When I click the _Query's_ "Ok" button, my validator >gets called (client-side) and tells me the email is invalid. > > >How can I go around this, keeping the client-side >validation? You can set the CausesValidation property to False on your _query_ OK buttons. This way, only the _emai

Re: [DOTNET] DataGrid limitation?

2002-05-14 Thread Kirk Jackson
You could do it in the SQL / Stored proc, truncating the field (so that the data isn't needlessly transferred), or you could do it in your databinding expression: <%# MaxLength(30,DataBinder.Eval(Container.DataItem, "Alias")) %> Where MaxLength is some function to trim the length of a string to

[DOTNET] DataGrid limitation?

2002-05-14 Thread Tom Archer
I have a Web form with a datagrid that is bound to a column in a database with extremely wide values. Is there any way in this scenario to limit the text retrieved for that database column? For example, I'd like to state that I want the grid to truncate any value greater than 30 characters. You c

Re: [DOTNET] CLR execution

2002-05-14 Thread Henk de Koning
The reason I only mentioned code bloat is because that's the only aspect (no pun intended) I'm sure they will never be able to resolve in NGEN. Without jit-ing there's no way to accurately predict which parts of your code are actually executed (yeah, there's dead code elimination and all that good

Re: [DOTNET] get Holidays in an Year

2002-05-14 Thread Dean Cleaver
Problem is (as Thomas pointed out) that the Holidays depend on the Country, State and in New Zealand, your "city" or region, as we don't have states here but do have regional holidays - like Auckland Anniversary Day, which is not the "city" of Auckland per se, but the general area. Not impossible

[DOTNET] Porting VC6 ATL Composite controls to VC7

2002-05-14 Thread Scott Prugh
I am in the process of porting all of our VC6 ATL Composite Controls to VC7. Everything seems to recompile, but I am getting problems at runtime. If I take one of these legacy controls and drop it onto an MFC Dialog, it does not get created correctly when the window is created. Basically, OnInitDi

[DOTNET] help!!An .sdk frame setup question

2002-05-14 Thread Zhao Lei
I download dotnet sdk,and setup it.But,to my surprise,An service (OracleService + A database which i have created) cannot be started,why?So i have to unremove sdk buz I work by oracle8i,and manipulate my database. how to solve this problem,please help me,thanks a lot!!! And ,In event error,event

Re: [DOTNET] RCW for IFilter and LoadIFilter

2002-05-14 Thread Erick Thompson
Ok, I think I sent this last email too quickly. If I try to use the PROPVARIANT struct as defined, it blows up on me when the type is loaded. An unhandled exception of type 'System.TypeLoadException' occurred in felix.dll Additional information: Could not load type PROPVARIANT from assembly Ever

Re: [DOTNET] AOP & .Net

2002-05-14 Thread Kanter, Kevin L
Peter, I imagine you have read the MSDN article -- "Aspect-Oriented Programming Enables Better Code Encapsulation and Reuse" by Dharma Shukla, Simon Fell, and Chris Sells, March 2002. http://msdn.microsoft.com/msdnmag/issues/02/03/AOP/AOP.asp. You have already received the answers I would have g

[DOTNET] An oracle question on .net sdk framework

2002-05-14 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!!! And ,In event error,event source:WinMgmt ID: 37 WMI ADAP can't load perfproc.dll £¬because an unkn

Re: [DOTNET] AOP & .Net

2002-05-14 Thread John Lam
AspectJ represents one possible interpretation of AOP. For an interesting look at another interpretation of AOP, you should definitely look at Hyper/J to round out the "shipping" implementations that are out there. These two implementations differ rather radically in terms of how they view the us

Re: [DOTNET] DataGrid and scrollbars

2002-05-14 Thread kojiishi
I guess there could be several causes for that, but if you're seeing the same problem as I had before, it's caused by z-order of controls. DockStyle.Fill control must be in front of other DocStyles. On form designer, right click on your filled DataGrid and click "Bring to front". Hope this helps.

[DOTNET] Customizing .NET Symmetric Algorithms wrappers ?

2002-05-14 Thread Valentina Shkolnikov
Does anybody know: 1. How to specify two different keys, which I want to use with 'TripleDESCryptoServiceProvider' wrapper? 2. If they should be concatenated in one 'Key' property, is it possible to use two separate 128-bit keys, despite there are legal lengths for a key as 128 and 192 bits on

[DOTNET] Remoting, CollectionBase and Soapsuds

2002-05-14 Thread Scott Mewett
To all, Has anyone had any experience with remoting collections derived from CollectionBase ? My server has an exposed method that accepts a collection derived from CollectionBase. Once I compile the server code, I run the soapsuds tool over the assembly to extract a proxy that can then be refer

Re: [DOTNET] CLR execution

2002-05-14 Thread John Lam
>> Although interpreting is probably slower than executing jit'ed code and pre-jit-ing will bloat your image to some extent. << It should also be noted that pre-jit-ing (or NGEN-ing) your code will actually cause the code to run ever so slightly *slower* *today*. This is due to the fact that cert

Re: [DOTNET] Shift-Tab in custom control derived from Control

2002-05-14 Thread Chris Kinsman
Any comments on where to find it in ContainerControl because I surely couldn't! Very odd that tab works and not Shift-Tab however... You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] RCW for IFilter and LoadIFilter

2002-05-14 Thread Erick Thompson
Mattias, Thanks, this looks great. I should have thought of the everything_else pointer. It certainly saves a lot of work :) Erick - Original Message - From: "Mattias Sjögren" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 14, 2002 2:15 PM Subject: Re: [DOTNET] RCW for I

Re: [DOTNET] Variant VAR type

2002-05-14 Thread Brent E. Rector
.NET long is equivalent to Variant type VT_I8 - which is only support AFAIK on recent versions of COM automation, such as XP. -- Brent Rector, .NET Wise Owl Demeanor for .NET - an obfuscation utility http://www.wiseowl.com/Products/Products.aspx -Original Message- From: Mark A. Grego

Re: [DOTNET] Variant VAR type

2002-05-14 Thread Sean Greer (SBI-Chico)
Well, in the old C++, automation days it was VT_I4...of course, longs are 64 bits in the CLR, so it seems you will lose precision in interop cases. VT_R8 is a double precision floating point. -Original Message- From: Mark A. Gregory [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002

[DOTNET] ImageList, Transparency, and Inheritance

2002-05-14 Thread Chris Kinsman
I have run into something I am fairly sure is a bug. Create form1 Place an imagelist on it Load a couple images Set the transparent color property make sure the imagelist is set to protected instead of private Create form2 inerited from Form1 Place a toolbar on it Set the imagelist property to t

[DOTNET] Variant VAR type

2002-05-14 Thread Mark A. Gregory
I'm lost with converting a LONG to a Variant type Should it be VT_R8 [V][T][P][S] // 8-byte real. Thank you Mark You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] OT: Design clarification.

2002-05-14 Thread Rolls, Robert
Hi all, I've got to write an NT service (c#) that has to monitor a MSMQ queue also poll a database to see if records have been added (looking at using extended stored procs to publish event notifications rather) In the OnStart I issue an asynchronous beginreceive then start a timer then exit the

Re: [DOTNET] AOP & .Net

2002-05-14 Thread Serdar Kilic
John Lam has been doing some work with AOP. Take a look at http://www.iunknown.com Regards, Serdar Kilic | skilic.com - Original Message - From: "Peter Foreman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 2:44 AM Subject: [DOTNET] AOP & .Net > 1) Is anyone

Re: [DOTNET] get Holidays in an Year

2002-05-14 Thread franklin gray
Sounds like a good Web Service project for somebody to get their name known. -Original Message- From: Chad Yost [mailto:[EMAIL PROTECTED]] Sent: Tue 5/14/2002 2:39 PM To: [EMAIL PROTECTED] Cc: Subject: Re: [DOTNET] get Holidays i

Re: [DOTNET] CLR execution

2002-05-14 Thread Sam Gentile
Ah, that's it. Thanks. >From: Pradeep Tapadiya <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] CLR execution >Date: Tue, 14 May 2002 13:46:20 -0700 > >Although the VES does not directly execute the IL code, >it has plenty of othe

Re: [DOTNET] RCW for IFilter and LoadIFilter

2002-05-14 Thread Mattias Sjögren
Erick, >Now, the PROPVARIANT is a huge mess of an object, and it appears under the >general COM section of the SDK. I assume that it's related to the VB variant >datatype. Is there a .net version/wrapper for this struct already defined >somewhere? Try this [StructLayout(LayoutKind.Explicit)] s

Re: [DOTNET] RCW for IFilter and LoadIFilter

2002-05-14 Thread Peter Stephens
> Erick Thompson spake: > > Peter, > > Thanks for your great suggestions. I eventually ended up using the last > method, the one that explicitly created the char array using AllocHGlobal. > Is this method going to impact performance at all, or is using > AllocHGlobal > actually going to speed thin

Re: [DOTNET] RCW for IFilter and LoadIFilter

2002-05-14 Thread Erick Thompson
I'm now going through and filling out the RCW for IFilter. The next method is GetValue, with the following signature. SCODE GetValue( PROPVARIANT ** ppPropValue ); ppPropValue [out] Pointer to an output variable that receives a pointer to the PROPVARIANT structure that contains the value-type p

Re: [DOTNET] CLR execution

2002-05-14 Thread Pradeep Tapadiya
Although the VES does not directly execute the IL code, it has plenty of other responsibilities. The VES (referred to as the Execution Engine (EE) under CLR) consists of several different components such as the assembly loader, metadata validator, the JITter and so on, each of which has a specifi

Re: [DOTNET] CLR execution

2002-05-14 Thread Kevin Burton
This may be off topic for this list but this link is a direct excerpt from ".NET Common Language Runtime Unleashed" not "Sams Teach Yourself C# in 21 Days" as indicated by the hyperlink at the beginning of the article. Kevin Burton .NET Common Language Runtime Unleashed -Original Message

Re: [DOTNET] RCW for IFilter and LoadIFilter

2002-05-14 Thread Erick Thompson
Peter, Thanks for your great suggestions. I eventually ended up using the last method, the one that explicitly created the char array using AllocHGlobal. Is this method going to impact performance at all, or is using AllocHGlobal actually going to speed things up? Thanks, Erick - Original M

Re: [DOTNET] CLR execution

2002-05-14 Thread Slavomir Furman
Hello! Check this text. "The Common Language Runtime - Overview of the Runtime Environment" (http://www.csharphelp.com/archives2/archive299.html) Maybe there will be some info on this topic. hth, Slavo. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of

Re: [DOTNET] get Holidays in an Year

2002-05-14 Thread Chad Yost
If you follow the link below, there is a great resource on how to determine holidays. I don't know if this is everything you need, but it is a start... http://home.wnm.net/~debi/dates.htm Chad On Tue, 14 May 2002 03:40:48 -0500 "Fernando, Chaminda non Unisys" <[EMAIL PROTECTED]> wrote: >Hi al

Re: [DOTNET] CLR execution

2002-05-14 Thread Henk de Koning
Ca depends. Most of the nice features you see in your programs, like garbage collection (some people consider that a nice feature ;-), a smooth linear self-compacting heap, CAS, reflection, are actually an interoperation between the runtime environment and instructions inserted by the jitter. The

Re: [DOTNET] CLR execution

2002-05-14 Thread Brad Wilson
Sam Gentile wrote: > Right-) Guess I meant in-directly executed by the VES. So In Windows, the > VES does nothing? IL is never executed by it? That question I can't answer. That's a new term for me... Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read messages from the D

Re: [DOTNET] CLR execution

2002-05-14 Thread Sam Gentile
Right-) Guess I meant in-directly executed by the VES. So In Windows, the VES does nothing? IL is never executed by it? >From: Brad Wilson <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] CLR execution >Date: Tue, 14 May 2002 12:3

Re: [DOTNET] CLR execution

2002-05-14 Thread Brad Wilson
Sam Gentile wrote: > But does it ever really "process" or "execute" CIL in its VES since all > .NET code is JIted and always runs native code? In MS's .NET implementations, CIL is never directly executed. However, if you use the Mono interpreter (MINT), then it is (I assume that's what you mean

Re: [DOTNET] Serialization and Forms

2002-05-14 Thread Eric Burley
Yeah, the designer is the crux of my problem. I don't want to loose the benefits, but I wish provisions were made to tell the designer when to lay off. I'm working on an alternate solution that I'll post here if it pans out. It doesn't use the normal serialization route, which I don't like, but

[DOTNET] CLR execution

2002-05-14 Thread Sam Gentile
Even after 2 years in .NET I still get confused about this. We say that all CLR compilers emit CIL or MSIL and that's what gives the ability to interoperate so nicely between CLR languages. The CLR is an abstract stack based machine that supposedly executes CIL. But does it ever really "process" o

[ADVANCED-DOTNET] Suggestions for VB COM object /.net interop issues

2002-05-14 Thread Philip Nelson
At first I had the feeling the Microsoft had done a great job with COM interop. Run tlbimp and viola, slow but usable reuse of our "legacy" code. That was until the next time we recompiled the vb code, probably the next day. For the next month or so I just attributed the problems to lack of und

Re: [ADVANCED-DOTNET] How to implement role-based web method security?

2002-05-14 Thread Marsh, Drew
Steve Ghattas-Smith [mailto:[EMAIL PROTECTED]] wrote: > What I find is that I have to include the machine or NT > domain name with the group name, e.g. "IS1\APUsers", or it > doesn't work. This makes it very inconvenient (if not > impossible without dynamically recompiling) to deploy my app. >

Re: [ADVANCED-DOTNET] Help Architecting A Middle Tier

2002-05-14 Thread Philip Nelson
--- Csaba Gero <[EMAIL PROTECTED]> wrote: > IMO the point is, if you are creating a "generic" component (whatever > this may mean :)), you cannot know the environment in which it may run > later and if it will have to run it in the same transaction with some > other components or not. In this case

Re: [ADVANCED-DOTNET] Help Architecting A Middle Tier

2002-05-14 Thread Thomas Tomiczek
Full acknowledgement here. So the conclusion is that for component development, it IS ServicedComponents. Period. We have to live with it :-) Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Csaba Gero [mailto:[EMAIL PROTECTED]] Sent: Die

Re: [ADVANCED-DOTNET] Help Architecting A Middle Tier

2002-05-14 Thread Peter Foreman
--- Thomas Tomiczek <[EMAIL PROTECTED]> wrote: > So if I make a component that MIGHT be used in a transaction with others > (which, btw,, imho is more or less a requirement if you make "building > blocks"), then it IS COM+ :-) I'd wholeheartedly agree that that would be the best route in that cas

Re: [DOTNET] Serialization and Forms

2002-05-14 Thread Marsh, Drew
Eric Burley [mailto:[EMAIL PROTECTED]] wrote: > I've got a form which implements ISerializable. It contains > custom controls that implement Iserializable as well. I can > serialize those controls in the GetObjectData method on the > form. The problem comes when I try to handle the > Deseriali

Re: [DOTNET] Auto-Minimizing Console Apps

2002-05-14 Thread Doug Beyer
Please send me the code snippet. Thanks. -Original Message- From: Eric Gunnerson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 9:16 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Auto-Minimizing Console Apps If you're doing something like this, I think it's cool to put it in th

Re: [DOTNET] AOP & .Net

2002-05-14 Thread Brad Wilson
Peter Foreman wrote: > 1) Is anyone working on AOP for .Net? John Lam has an Aspect Weaver for .NET that he's working on. http://www.iunknown.com/AOP/fog000114.html http://www.iunknown.com/AOP/fog000115.html No clue on your other questions. Brad -- Read my web log at http://www.quali

Re: [DOTNET] AOP & .Net

2002-05-14 Thread Miller, Chris
for #3, try -Original Message- From: Peter Foreman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 12:45 PM To: [EMAIL PROTECTED] Subject: [DOTNET] AOP & .Net 1) Is anyone working on AOP for .Net? 2) Is anyone working on or has anyone got anything similar to As

[DOTNET] AOP & .Net

2002-05-14 Thread Peter Foreman
1) Is anyone working on AOP for .Net? 2) Is anyone working on or has anyone got anything similar to AspectJ? 3) Are there any mailing lists? Thanks in advance, Peter Foreman __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.ya

[DOTNET] Serialization and Forms

2002-05-14 Thread Eric Burley
I'm trying to get my head around using serialization with forms. Here's the issue. I've got a form which implements ISerializable. It contains custom controls that implement Iserializable as well. I can serialize those controls in the GetObjectData method on the form. The problem comes when

Re: [DOTNET] creating Messaging Port on a remote Biztalk server

2002-05-14 Thread Duncan Smart
You will need to install the BizTalk Admin tools on the machine, then you should be able to use the BizTalk COM objects in your VB.NET code (in Visual Studio right-click References > Add Reference > COM > Microsoft BizTalk ...) Read the BizTalk developer docs for the actual code -- the VB.NET equ

Re: [DOTNET] Auto-Minimizing Console Apps

2002-05-14 Thread Eric Gunnerson
If you're doing something like this, I think it's cool to put it in the System Tray. If you create your app as a Windows Application, you can set it up so it starts minimized, and/or use the NotifyIcon class to get an icon in the system tray. If you want it only in the system tray, Windows Forms

[DOTNET] Remote Debugging

2002-05-14 Thread Peter Johnston
Has anybody got this to work? At first I got the usual message "Unable to start debugging on web server. Access is denied." I tried all the suggestions listed on msdn and various emails to this group, all to no avail. The only thing that achieved anything was to add my account as a local user. I

Re: [DOTNET] Auto-Minimizing Console Apps

2002-05-14 Thread Brad Wilson
Boyd Campbell wrote: > Is there a way in code (C#) for me to specify that my console applet run > minimized? The Win32 code would be: ShowWindow( GetConsoleWindow(), SW_SHOWMINIMIZED ); Not sure if the console APIs are exposed in .NET or not... you might need to P/Invoke to GetConsoleWindow

[DOTNET] Unions in WSDL

2002-05-14 Thread Tewari, Vijay
Is there an equivalent of Unions in WSDL? Vijay --- You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Auto-Minimizing Console Apps

2002-05-14 Thread Chris M. Szurgot
AFAIK, there is no way to do this directly. However, if you use the process class to get the WindowHandle from the current process, and Win32 ShowWindow command (through interop), you should be able to do it with a few lines of code. This is off the top of my head; I don't have VS.NET installed

Re: [DOTNET] Difficult remoting situation (was: Remoting problems...) (longish)

2002-05-14 Thread Ravi Ragunathan
It seems like the client object's lease duration must have expired. Get the lease object associated with the client callback and set its duration or turn off lease expiration. Ravi You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists a

[DOTNET] Auto-Minimizing Console Apps

2002-05-14 Thread Boyd Campbell
Hey all, Is there a way in code (C#) for me to specify that my console applet run minimized? I've written a simple app that will complete an unattended process to be scheduled via the Windows Scheduler. The Console class is simple and doesn't appear to expose any member that would handle this. I'

[DOTNET] DataGrid and scrollbars

2002-05-14 Thread Jan Dropczynski
Hi all, I have a problem with the datagrid and its scrollbars. My application has two panels they are docked bottom and fill. The upper panel (which has the DockStyle.Fill) contains a datagrid that have a Tablestyle so that I'm only showing the columns I need. But my problem is if the datagrid

Re: [DOTNET] Mildly OT ASP.Net Server question...

2002-05-14 Thread Chris Anderson
Good luck :-) Merak > -Original Message- > From: Blain Timberlake [mailto:[EMAIL PROTECTED]] > Sent: 14 May 2002 15:27 > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] Mildly OT ASP.Net Server question... > > > I'm going to build another 2k server and give that one a > whack. It just be

Re: [DOTNET] Handling event cross machines - How to?

2002-05-14 Thread Thomas Tomiczek
I see three different approaches here :-) (a) MSMQ event dispatcher, until this is automated in .NET Servers later. (b) COM+ loosely coupled events or, in case of this being more an administrative necessity: (c) writing an WMI provider the management surface can subscribe to. Regards Thomas To

Re: [DOTNET] Mildly OT ASP.Net Server question...

2002-05-14 Thread Blain Timberlake
I'm going to build another 2k server and give that one a whack. It just be something flakey with that dev server. Who knows? Yeah we definitely had admin privileges when we tried it. I'll post something back after I get this other server built and give it a try. Thanks for all the help everyo

[DOTNET] Handling event cross machines - How to?

2002-05-14 Thread Chris
Hi, what i want too be able to do: I got two or n servers; An event occurs on one of the n server; I want to inform and pass information to the others machines. Question: Is it possible to do that in Visual Basic .Net? Is the only solution is loosely couple events of COM+? Thanks Chris You

Re: [DOTNET] Mildly OT ASP.Net Server question...

2002-05-14 Thread Chris Anderson
Yeah, the paste is disabled for me as well, but dragging and dropping works fine here If you have administrator priviledges, as you say you have, then I can't help you further As I say, it works here, so I haven't had to go to any more troubleshooting other than that :-( Sorry I can't be of any

[DOTNET] Framework Redist in "secondary languages" - when?

2002-05-14 Thread Thomas Tomiczek
Hello folks, When installing on Windows 98 you need to install the correct localized version :-) SADLY this is only available in a handful of languages right now. When will the "secondary languages" be available? Languages like Norwegian, Danish, Swedish etc.? Regards Thomas Tomiczek THONA Co

[DOTNET] Using Certificate Revocation Lists (CRL) with dotnet

2002-05-14 Thread Frerich Tergast
Hi, all! I'm trying to display the validity dates of my certificate revocation lists (CRL). I managed to retrieve user certificates from my directory and display such information, but the CRLs are not accepted as X509 certificates. I couldnt find an objectclass that handles CRLs. Adding the CR

[DOTNET] System.Xml.Schema bug

2002-05-14 Thread Richard Birkby
Summary === System.Xml.Schema validation incorrectly allows ^ and $ as line anchors. However, $ is an invalid atom in the XML Schema Datatypes specification and ^ is only allowed as part of a negative character group. Since (according to the ROTOR sources) System.Xml.Schema simply delegates

Re: [DOTNET] Bmp for a component

2002-05-14 Thread Pierre Greborio
I did, but nothing changes. One more info, the bitmap was built as embedded resource. Pierre --- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it --- -Original Message- From: dotnet d

Re: [DOTNET] Page.IsPostBack

2002-05-14 Thread Matt Milner
Instead of using response.write, try putting a placeholder control in the form and putting your output there (without the "HTML" tags"). Or, better yet, put an XML (server control) control in the form tag to do your transformation. HTH, Matt -Original Message- From: Bailey, Mark [mailto

Re: [ADVANCED-DOTNET] Interesting side effect (or bug based on yo ur perspective) of compiler gener ated code for destructors

2002-05-14 Thread Robert Lynch
Should have said walk the class hierarchy (using reflection) - not the stack ;-) My fingers didn't type what my mind was thinking. Regards, Bob Lynch -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Lynch Sent: Monday,

Re: [ADVANCED-DOTNET] Help Architecting A Middle Tier

2002-05-14 Thread Csaba Gero
IMO the point is, if you are creating a "generic" component (whatever this may mean :)), you cannot know the environment in which it may run later and if it will have to run it in the same transaction with some other components or not. In this case you currently have no other choice than to go wit

[ADVANCED-DOTNET] How to implement role-based web method security?

2002-05-14 Thread Steve Ghattas-Smith
I'm trying to use PrincipalPermissionAttribute at the web method level to declaratively limit access to users belonging to an NT group called "APUsers" as shown below: [PrincipalPermission(SecurityAction.Demand, Role="APUsers")] What I find is that I have to include the machine or NT domain name

Re: [DOTNET] Bmp for a component

2002-05-14 Thread Pascal Bourque
You have to apply the ToolboxBitmap attribute to your component, like this: [ToolboxBitmap( typeof( MyComponent ) )] class MyComponent Pascal -Original Message- From: Pierre Greborio [mailto:[EMAIL PROTECTED]] Posted At: May 14, 2002 9:27 AM Posted To: Dotnet Mailing List Conversa

[DOTNET] Bmp for a component

2002-05-14 Thread Pierre Greborio
Hi, I didi a component installed on VS.NET (toolbox) and customized it's image. The namespace of the component is pg.MyNamespace and the component is MyComponent (derived from Component). The bitmap image is 16x16 px and it's name is pg.MyNamespace.MyComponent.bmp. When I install the component on

[DOTNET] client side web service consumption (js and xslt)?

2002-05-14 Thread Chesnut, Casey
Hello, I have developed a .NET web service in which the most likely consumers know Javascript and XSLT. Have been trying to code up some samples for them to go off of, but I have not found a good solution for calling the web service in this manner. This is what I have tried: 1) IE WebService b

[DOTNET] Strange problem -> MissingMethodException

2002-05-14 Thread Rathna Raj
I have a strange problem. In my win form application when I try to access a method of a referenced assembly I am getting "MissingMethodException". My referenced assembly is in GAC ( my main application does not have any strong name, but, main application and all the referenced assemblies have ex

Re: [ADVANCED-DOTNET] ApartmentStates: MTA, STA & Unknown

2002-05-14 Thread Pablo Castro
Ian is right, MTA is not a superset of STA, and you better stay in STA for UI threads. However, that doesn't stop you from creating new threads with either MTA or STA modes (the attribute only applies to the mail thread, subsequent threads choose their threading model through a property). So you c

Re: [ADVANCED-DOTNET] Help Architecting A Middle Tier

2002-05-14 Thread Thomas Tomiczek
Good :-) So if I make a component that MIGHT be used in a transaction with others (which, btw,, imho is more or less a requirement if you make "building blocks"), then it IS COM+ :-) Imagine your business component suddenly being "steered" from a component taking orders out of a message queue? Y

[ADVANCED-DOTNET] Bug in Socket.Select (?)

2002-05-14 Thread Wyssocky, Lidor
Hi All, Can someone please confirm that the following is a bug? I've searched both this list and the regular .NET list, and in Microsofts KB, and didn't find any reference to this behavior: When calling Socket.Select method with a timeout, and the *timeout expires*, an exception is thrown of typ

Re: [DOTNET] Mildly OT ASP.Net Server question...

2002-05-14 Thread Blain Timberlake
Okay tried dragging the .dll in there and it won't let you. Paste is grayed out and you get the circle with the slash through it when you try to drag to that folder. Any other ideas? =Blain -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Chris Anderso

[DOTNET] Type Mapping of VB 6.0 to .NET

2002-05-14 Thread Dinesh Upare
I need a help. How would you map ADODB.Recordset and Collection object in VB to .NET. The reason I badly want to know this is, i would like to use a SOAP dll made in VB 6.0 into .NET application. I am able to map simple datatypes but knows this complex one. Does any one has a solution. Dinesh

[DOTNET] Page.IsPostBack

2002-05-14 Thread Bailey, Mark
I have an .aspx page that is completely blank (at design time). At runtime I use an xslt transformation to render the html using Response.Write(...). The page looks exactly as intended, but for some reason when I submit the page (to itself using the POST method) Page.IsPostBack is always false -

Re: [DOTNET] Hide part of code from Developers

2002-05-14 Thread Farhan
Thanks all for your ideas. i am still confused but saving Key on remote server will help so i will try that and get back to you guys. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Mildly OT ASP.Net Server question...

2002-05-14 Thread Blain Timberlake
Did not try dragging the .dll in there, I'll pass that on to the admin, and yes it was done under an administrator account. I'll let you know how it goes once the admin gets in ( a tree fell on his car last night... I think it was a sign of some sort... ) :) Thanks, =Blain -Original Messag

Re: [DOTNET] Hyperlinked HTML ECMA C# Language Spec

2002-05-14 Thread Jon Jagger
On Tue, 14 May 2002 11:28:55 +0100, =?ISO-8859-15?B? Sm/jbyBQYXVsbyBDYXJyZWlybw==?= <[EMAIL PROTECTED]> wrote: >Hello Jon, > >That's a great work! Thanks >Can you provide a link to download your HTML files? >I would like to copy it to my Pocket PC Good idea. I'll try and get round to it today.

Re: [DOTNET] Mildly OT ASP.Net Server question...

2002-05-14 Thread Chris Anderson
Weird it should work ok for me without the SDK (and therefore without gacutil) Did you try to drag the dll into the assembly folder? Are you doing this from an administrator account? Merak > -Original Message- > From: Blain Timberlake [mailto:[EMAIL PROTECTED]] > Sent: 14 May 2002 12:1

Re: [DOTNET] Mildly OT ASP.Net Server question...

2002-05-14 Thread Blain Timberlake
Huh. We have win2k with sp2, installed dotnetfx with no problems. Then when we tried iewebcontrols.msi it just says that it was "interrupted" and exits it. So we turned IIS off, and all the other stuff we could find and still got the same results. So we tried the "manual" install of those cont

Re: [DOTNET] Hyperlinked HTML ECMA C# Language Spec

2002-05-14 Thread João Paulo Carreiro
Hello Jon, That's a great work! Can you provide a link to download your HTML files? I would like to copy it to my Pocket PC Tuesday, May 14, 2002, 10:39:15 AM, you wrote: JJ> Hi everyone, JJ> I got fed up with constantly leafing backwards and forwards as I read my JJ> printed copy of the ECMA

Re: [DOTNET] Hyperlinked HTML ECMA C# Language Spec

2002-05-14 Thread Christian Weyer
Very cool and helful! Thanks for this ... Cheers, Christian - .NET XML Web Services Repertory http://www.xmlwebservices.cc/ - Jon Jagger wrote: > Hi everyone, > I got fed up with constantly leafing backwards and forwards as I

Re: [DOTNET] Delete in for each iteration

2002-05-14 Thread Bjorn Eriksen
Hi, I just realized that if I call dataset.AcceptChanges after I added the rows to my manualy created dataset it works perfect. /Bjorn You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Delete in for each iteration

2002-05-14 Thread Nicolas Benech
Hi Bjorn, >From what I know, you cannot modify a collection while iterating through it with an enumerator. You could retrieve the row(s) from the dataset, exit the loop and then delete it/them. HTH, - Nicolas > -Original Message- > From: Bjorn Eriksen [mailto:[EMAIL PROTECTED]] > Sent:

[DOTNET] Hyperlinked HTML ECMA C# Language Spec

2002-05-14 Thread Jon Jagger
Hi everyone, I got fed up with constantly leafing backwards and forwards as I read my printed copy of the ECMA C# language specification so I've written a PERL program to convert the PDF file (minus the appendices) into a bunch of XML files and then converted the XML into HTML using XSL/CSS. The H

[DOTNET] Delete in for each iteration

2002-05-14 Thread Bjorn Eriksen
Hi, for each datarow in aDataset if condition then datarow.delete end if next The code above works perfect if the dataset was created from the database. But if I manually create a dataset and add rows to the dataset and run the code above I get an error: Collection was modified; enumeration

Re: [DOTNET] Automatically attaching a .NET process to a debugger - SOLVED

2002-05-14 Thread Urs Eichmann
Don't worry - I just found the multiple startup projects option in the solution configuration. This is exactly what I need. Sometimes I could just hug those MS guys... Urs -Ursprüngliche Nachricht- Von: Urs Eichmann [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 14. Mai 2002 10:14 An:

Re: [DOTNET] get Holidays in an Year

2002-05-14 Thread Thomas Tomiczek
Not at all. Now, this is not meant snappy - the Outlook info is pretty - well - "complicated" at times. Basically, in geramny some holidays depend on the state you are in - don't think outlook can handle this :-) I would not relay in this. Regards Thomas Tomiczek THONA Consulting Ltd. (Micro

Re: [DOTNET] Hide part of code from Developers

2002-05-14 Thread Peter Meinl
See MS Press Book "Writing Secure Code" ISBN: 0735615888 under "Storing Secrets" for a discussion of this problem. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] get Holidays in an Year

2002-05-14 Thread Fernando, Chaminda non Unisys
Hi all, I want to get holidays in an year in a particular country. How can I do that ? In Outlook Calendar I can see holidays when I set to particular country (Default US). So how can I access it from vb.net ? regards, mcdf You can read messages from the DOTNET archive, unsubscribe from D

Re: [DOTNET] Client Certificates/SSL/Objects hosted in IIS.

2002-05-14 Thread Peter Meinl
See article: Achieve B2B Security http://www.fawcette.com/vsm/2002_05/online/samarov/default.asp You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Mildly OT ASP.Net Server question...

2002-05-14 Thread Chris Anderson
I used dotnetfx to install the framework, and the iewebcontrols.msi to install the IE WebControls on a Win2k server box only a few weeks ago, with no problems gacutil only places the assembly in the global assembly cache for use by all sites Using the MSI version of the installation, I didn't nee

[DOTNET] problem in inheriting a form which has menu

2002-05-14 Thread Shishir Kumar Mishra
Hi list ! The following is question i found on another usergroup . Just have a look on it.. ** Has anyone had any experience with inherited forms that contain menus acting strangely in the Design View? I have a Form with a MainMenu con

  1   2   >