Re: [ADVANCED-DOTNET] New Lists are now active

2008-10-01 Thread Mike Johnston
Thank you very much for all your efforts. Mike J. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Richard Blewett Sent: Wednesday, October 01, 2008 9:29 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] New Lists are

Re: [ADVANCED-DOTNET] New Lists are now active

2008-10-01 Thread Mike Andrews
Thank you very much for your efforts. It is appreciated. On Wed, Oct 1, 2008 at 10:29 AM, Richard Blewett <[EMAIL PROTECTED]>wrote: > The main website is > > http://peach.ease.lsoft.com/scripts/wa.exe > > And the address to post messages is > > [EMAIL PROTECTED] > > Enjoy the new home > > Regards

Re: [ADVANCED-DOTNET] Inheritance in LINQ-SQL Framework and/or ADO.NET Entity Framework

2008-09-18 Thread Mike Andrews
ourse this will be in a different database. This is the reason for which I need the inheritance across multiple assemblies. I need some shared code as well as specific code and yet I need my "application" to be able to work with the objects regardless of from what "assembly" th

Re: [ADVANCED-DOTNET] Inheritance in LINQ-SQL Framework and/or ADO.NET Entity Framework

2008-09-17 Thread Mike Andrews
Does the ADO.NET Entity Framework support inheritance across assemblies? In other words, can I declare some "base" objects in one assembly, then in another assembly, inherit and extend those objects? Thanks, Mike On Wed, Sep 17, 2008 at 3:21 PM, Shawn Wildermuth < [EMAIL PROT

Re: [ADVANCED-DOTNET] Inheritance in LINQ-SQL Framework and/or ADO.NET Entity Framework

2008-09-17 Thread Mike Andrews
the ADO.NET entity framework will work on this account. What I did find out is that I can mimic the behavior I need by using interfaces. I'm not exceptionally fond of this, but I'm going to give it a try. Thanks, Mike On Wed, Sep 17, 2008 at 3:45 AM, Iain Smallwood <[EMAIL PRO

[ADVANCED-DOTNET] Inheritance in LINQ-SQL Framework and/or ADO.NET Entity Framework

2008-09-16 Thread Mike Andrews
ads: Data member 'System.Guid SetID' of type 'Lib1.Set' is not part of the mapping for type 'E2Set'. Is the member above the root of an inheritance hierarchy? I'm really at a loss here on what to do next or how to overcome this. Any help would be most appreciated

Re: [ADVANCED-DOTNET] Planning to keep the list alive

2008-09-15 Thread Mike Andrews
I really must disagree that it would be a perfect replacement/alternative. I took a look at it and it's a nice site and I'm sure I'll visit it from time to time and maybe even ask/answer a question or two. Nevertheless, there is too much "noise" on that site; too many distractions that take away th

Re: [ADVANCED-DOTNET] Displaying the Add Connection dialog in VS 2008...

2008-09-11 Thread Mike Andrews
ialog that I'm looking for. Thanks, Mike On Thu, Sep 11, 2008 at 1:12 PM, Shawn Wildermuth < [EMAIL PROTECTED]> wrote: > Um, I just looked at both fo them and they looked identical. Could you > explain what is better? I couldn't tell... > > -Original Message---

Re: [ADVANCED-DOTNET] Displaying the Add Connection dialog in VS 2008...

2008-09-11 Thread Mike Andrews
No, it's different and better designed. Also, this will be used only in-house where having VS installed is moot. Thanks, Mike On Thu, Sep 11, 2008 at 12:51 PM, Shawn Wildermuth < [EMAIL PROTECTED]> wrote: > Not to be a nag, but wouldn't the same assembly in the 2008 folder

Re: [ADVANCED-DOTNET] Displaying the Add Connection dialog in VS 2008...

2008-09-11 Thread Mike Andrews
Hi Shawn, Thanks for the reply and the information. I had found your information yesterday and tried it out. However, I was looking for the dialog that VS 2008 uses, not 2005. I've noticed some problems using VS 2005's and was wanting something similar to VS 2008. Thanks, Mike O

[ADVANCED-DOTNET] Displaying the Add Connection dialog in VS 2008...

2008-09-10 Thread Mike Andrews
y help would be appreciated. Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Planning to keep the list alive

2008-09-09 Thread Mike Johnston
Yes. Thank you. Mike J. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of David L. Penton Sent: Monday, September 08, 2008 9:57 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Planning to keep the list alive That is

Re: [ADVANCED-DOTNET] Retiring the ListServ

2008-09-08 Thread Mike Andrews
Yes, I can't agree more. I've subscribed for a very long time now and I'm sad to see it go. It will be more difficult now to find something similar. I have been very grateful for this list. Thanks, Mike On Mon, Sep 8, 2008 at 9:18 AM, Zaccariah Bowling <[EMAIL PROTECTED]&g

Re: [ADVANCED-DOTNET] Changing the dropdown text in a combobox...

2008-08-23 Thread Mike Andrews
That's what I was afraid of. I was hoping that there was some other means to allow that to happen. I might try to persue a owner-drawn combo or something similar. Thanks, Mike On Sat, Aug 23, 2008 at 10:19 AM, Peter Ritchie < [EMAIL PROTECTED]> wrote: > Sounds like what you&

Re: [ADVANCED-DOTNET] Changing the dropdown text in a combobox...

2008-08-22 Thread Mike Andrews
Yes, that would work for the custom object, but it's the ComboBox's text I want changed. I want what is displayed in the drop-down and what's displayed in the Combo's textbox to contain the new text. I can't seem to figure out how to do that. Thanks, Mike On Fri, Aug

[ADVANCED-DOTNET] Changing the dropdown text in a combobox...

2008-08-22 Thread Mike Andrews
In a nutshell... I need to change the text in a dropdown list in a ComboBox when the ToString() method on the "object" which the ComboBox item references changes. I can't seem to find any way to do this. Any suggestions? Thanks, Mike === This li

Re: [ADVANCED-DOTNET] MSIL Code Generation

2008-07-18 Thread Mike Andrews
Thanks on the tip. I was reading about dynamic assemblies and found some information on peverify. It helped me track down an issue I was having and thus getting it resolved. Dynamic assemblies are very nice indeed. Thanks, Mike On Fri, Jul 18, 2008 at 2:26 AM, Fabian Schmied <[EMAIL PROTEC

Re: [ADVANCED-DOTNET] MSIL Code Generation

2008-07-17 Thread Mike Andrews
AssemblyBuilder.DefineDynamicModule method. Once I figured that out I was able to use a combination of Reflection and ILDASM to figure out what opcodes I needed to implement to make properties on the class. Now I've been able to make a dynamic class with dynamic properties. Thanks, Mike On Thu

[ADVANCED-DOTNET] MSIL Code Generation

2008-07-17 Thread Mike Andrews
als or sample code I might examine? I mainly want to create a dynamic class with read/write properties. Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

[ADVANCED-DOTNET] Adding a new row to the DataGridView programmatically

2008-07-07 Thread Mike Andrews
on (while on the New Row) I'm showing the Open File Dialog. How can I get a new row added without causing this exception? I've tried several things but nothing seems to work. I'm sure I'm just missing something small. Thanks, Mike === Thi

Re: [ADVANCED-DOTNET] Dynamic assembly loading with dependent assemblies...

2008-06-25 Thread Mike Andrews
I finally found an interesting article after searching all day that helped with the solution. You can find it at: http://www.ayende.com/Blog/archive/2006/05/22/7579.aspx It works good. I modified it so that you can use it with multiple AppDomain objects. Thanks, Mike Here's the code t

[ADVANCED-DOTNET] Dynamic assembly loading with dependent assemblies...

2008-06-25 Thread Mike Andrews
upon which the primary assembly depends. However, even though I've loaded all the assemblies, I get the ReflectionTypeLoadException when I try to query the Types in the primary assembly by using the GetTypes() method. Any suggestions on how I can accomplish this? Thanks,

Re: [ADVANCED-DOTNET] Reflection, Type.GetType(...) and Activator.CreateInstance

2008-06-06 Thread Mike Andrews
On Fri, Jun 6, 2008 at 1:24 PM, Mike Andrews <[EMAIL PROTECTED]> > wrote: > > > That helps out quite a bit. Thank you. > > > > I still can't get it to work right but with the information all of you > sent > > I'm on the right track for figuring it ou

Re: [ADVANCED-DOTNET] Reflection, Type.GetType(...) and Activator.CreateInstance

2008-06-06 Thread Mike Andrews
That helps out quite a bit. Thank you. I still can't get it to work right but with the information all of you sent I'm on the right track for figuring it out. I also read the website by Thottam R. Sriram and it was quite informative as well. Thanks, Mike On Fri, Jun 6, 2008 at 2:5

[ADVANCED-DOTNET] Reflection, Type.GetType(...) and Activator.CreateInstance

2008-06-06 Thread Mike Andrews
thod and execute the CreateInstance() method it works. Any ideas what's going on here? I was under the impression that Type.GetType(...) searched the AppDomain for the assembly. Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View

Re: [ADVANCED-DOTNET] XPath query question regarding element names

2008-05-20 Thread Mike Andrews
Thanks HTH. I usually proofread everything before I submit it just to make sure it is clear, but you go the gist of what I needed. That helped tremendously it was exactly what I was looking for. Thanks, Mike On Tue, May 20, 2008 at 9:39 AM, Efran Cobisi <[EMAIL PROTECTED]> wrote: >

[ADVANCED-DOTNET] XPath query question regarding element names

2008-05-20 Thread Mike Andrews
ar(255)') AS NodeText FROM @xml.nodes('/books/book/*') AS T(C) Now, I realize that the text() method only produces the text. However I've not been able to find a way to query the node text based on the name of the node. Any help would be appreciated. Thanks, Mike

Re: [ADVANCED-DOTNET] Problem with System.Diagnostics.Process.Start() - acts as if it's blocking the thread.

2008-04-25 Thread Mike Andrews
wait which worked. Thanks, Mike On Thu, Apr 24, 2008 at 10:35 AM, Peter Ritchie < [EMAIL PROTECTED]> wrote: > Does it make any difference if you set ProcessStartInfo.UseShellExecute to > false? > > On Thu, 24 Apr 2008 10:23:23 -0500, Mike Andrews > <[EMAIL PROTECT

[ADVANCED-DOTNET] Problem with System.Diagnostics.Process.Start() - acts as if it's blocking the thread.

2008-04-24 Thread Mike Andrews
s my code that executes the process: Process p = new Process(); p.StartInfo.FileName = "bcp.exe"; p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; p.StartInfo.Arguments = arguments.ToString(); p.Start(); Any help would be most appreciated. Thanks, Mike

Re: [ADVANCED-DOTNET] Write out the alphabet

2008-03-17 Thread Mike Houston
You can try for (int i = 65; i < (65 + 26); i++) { Console.WriteLine((char)i); } That should write out A-Z. Hope it helps you --- Nexus6Studio.net --- -Original Message- From: Discussio

Re: [ADVANCED-DOTNET] Server Application Unavailble, Any help would be appreciated.

2008-01-22 Thread Mike Andrews
Have you tried setting up an empty ASP.NET page with something simple to see if it works or gives you the same message? I have seen this being caused by code that executes to which the ASP.NETaccount does not have access. I'm not sure what causes it but it seems that the ASP.NET account somehow ma

Re: [ADVANCED-DOTNET] Advice about app.config....

2008-01-21 Thread Mike Andrews
I don't think the point was that it is "easier." There is more code, but the code is reusable and related to a section and the custom configuration section is more readable to non-programmers for easier configuration rather than perusing lots of queue1... and queue2 And it's certainly less that

Re: [ADVANCED-DOTNET] Advice about app.config....

2008-01-21 Thread Mike Andrews
I would recommend creating/using the custom config sections instead of using the appSettings node. It's not too difficult to figure out and it allows you to create those hierarchies. I've never been fond of Microsoft's implementation of application configuration, but the custom configuration ones a

Re: [ADVANCED-DOTNET] Connection strings and the MS Enterprise Library Block

2007-12-03 Thread Mike Andrews
w file. At this point I'm up for trying anything. Thanks, Mike On Dec 3, 2007 11:59 AM, Davy J <[EMAIL PROTECTED]> wrote: > Mike, > > As far as I can follow the source code, you need to reinitialize the > ConfigurationSourceFactory, but it seems to be initialized when the app

Re: [ADVANCED-DOTNET] Connection strings and the MS Enterprise Library Block

2007-12-03 Thread Mike Andrews
even though I can change the config file and I haven't yet written any code to use the DatabaseFactory.CreateDatabase(...) method, it still uses the old connection string instead of the new one that I just wrote out. I'm really not sure what to do now. Thanks, Mike On Dec 3, 2007 9:41

Re: [ADVANCED-DOTNET] Reading contents of an ISO file

2007-12-03 Thread Mike Andrews
Would you be inclined to post (or send) the code for mimicking a virtual drive? Thanks, Mike On Dec 3, 2007 9:01 AM, Steve Welborn <[EMAIL PROTECTED]> wrote: > I know it doesn't seem very practical but I like to challenge myself > sometimes and see if I can create or mimick alo

[ADVANCED-DOTNET] Connection strings and the MS Enterprise Library Block

2007-11-30 Thread Mike Andrews
enterprise library block (or so it seems). Is there a way that I can accomplish this? Any advice or resources would be appreciated. Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http

Re: [ADVANCED-DOTNET] Reading contents of an ISO file

2007-11-28 Thread Mike Andrews
I didn't have much luck finding the ISO file format specification. However, for future reference, here's my favorite file specification format site: http://www.wotsit.org/ Thanks, Mike On Nov 28, 2007 1:21 PM, Steve Welborn <[EMAIL PROTECTED]> wrote: > I am just creating the

[ADVANCED-DOTNET] ALM references and best practices

2007-11-13 Thread Mike Andrews
onvincing him of the necessity of managing the life-cycle of the project. Any assistance would be appreciated. Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Singleton and Database Connection challange

2007-10-16 Thread Mike Andrews
This is not the place for a singleton and the singleton is not implemented correctly since it doesn't take into account any race conditions that might occur with a multi-threaded app such as asp.net. Also you would not want to dispose of the connection in the singleton since that defeats the purpo

Re: [ADVANCED-DOTNET] Open source bug tracker

2007-10-10 Thread Mike Andrews
I've not tried this one, but I found it this morning while looking for something else. http://ifdefined.com/bugtrackernet.html On 10/10/07, Paul Cowan <[EMAIL PROTECTED]> wrote: > > Hi all, > Does anyone know a good open source bug tracking system? > I've used bugzilla but was wondering if there

Re: [ADVANCED-DOTNET] Need help with a CLR stored procedure takes >26 seconds to execute...

2007-09-21 Thread Mike Andrews
essage- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Mike Andrews > Sent: Thursday, September 20, 2007 2:53 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: [ADVANCED-DOTNET] Need help with a CLR stored procedure takes > >26 second

Re: [ADVANCED-DOTNET] interview test.....

2007-09-21 Thread Mike Andrews
learn new things either. It's how one learns. Excellent article. On 9/21/07, Mark Nicholls <[EMAIL PROTECTED]> wrote: > > On Fri, 21 Sep 2007 10:14:51 -0500, Mike Andrews > <[EMAIL PROTECTED]> wrote: > > >As with any of these kinds of discussions, it's very polarized

Re: [ADVANCED-DOTNET] interview test.....

2007-09-21 Thread Mike Andrews
As with any of these kinds of discussions, it's very polarized and I agree with some against these kinds of tests. I do regard them as silly. I've had one once where I would had to write out SQL on paper to demonstrate my knowledge of sql coding. To me this is quite inane. In the "real world" of p

[ADVANCED-DOTNET] Need help with a CLR stored procedure takes >26 seconds to execute...

2007-09-20 Thread Mike Andrews
han acceptable for this instance, but alas it won't return for ~27 seconds. Any suggestions or seen this behaviour before? Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] MTA ActiveX - .NET interop

2007-09-11 Thread Mike Cohen
Because of the Jewish High Holidays we will be closed until Monday Sept 17th, but we will check in for urgent messages Mike Cohen Network-Companions Xerox Sales Agency Document Solutions Networks, Architecting, Wi-Fi, Hotspots Operating Systems, Exchange Server SQL Server, Ecommerce, Web Sites

Re: [ADVANCED-DOTNET] l immediately release any unneeded memory

2007-09-06 Thread Mike Woodring
!sos.finalizequeue displays. Allocation of non-finalizable types has no effect on that list. It's this list that's consulted down the road by subsequent GC's in order to determine which otherwise-garbage objects need to have their finalizer called (modulo their use of GC.SuppressFi

Re: [ADVANCED-DOTNET] Null dates in 2005

2007-09-06 Thread Mike Andrews
You can use this for nullable datetime types: DateTime? d = null; if (d.HasValue) { //Do something here Console.WriteLine(d.Value.ToString()); } //...is the same as... Nullable dd = null; if (

Re: [ADVANCED-DOTNET] code stream versions

2007-09-05 Thread Mike Andrews
Yes, I agree. Having multiple cores for an application will only lead to a great many nightmares. On 9/5/07, Bob Provencher <[EMAIL PROTECTED]> wrote: > > That's a common problem. Abstract out the customizations into handlers, > interfaces, etc so there is only one core. > > -Original Messag

Re: [ADVANCED-DOTNET] Generics as parameters? syntax question

2007-08-21 Thread Mike Andrews
Implement the interface in the base class if possible. On 8/21/07, Gray, Franklin W (RWG8) <[EMAIL PROTECTED]> wrote: > > Oh yeah...and have your function have the param of iHuman > > Function DoSomething(Data as iHuman) as object > > -Original Message- > From: Discussion of advanced .NET

Re: [ADVANCED-DOTNET] 64bit and .Net?

2007-08-12 Thread Mike Collins
I created a 2.0 application and my brother tried to run it on a WinXP64 machine and it would not run. Is there some web site that talks about the possible problems? Mike -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Wildermuth

[ADVANCED-DOTNET] Slightly off topic: CLR stored procedures in SQL Server 2005 - using incorporating sub selects...

2007-08-06 Thread Mike Andrews
lue SELECT * FROM Myschema.MyTable2 WHERE ID IN (SELECT ID FROM @table) This occurs several times. What I need to know is this: is it possible to write a CLR stored procedure to do something similar, i.e., store the results in a "temporary" place and use those results to generate

Re: [ADVANCED-DOTNET] Inheritance issues with the toolstrip control

2007-08-02 Thread Mike Andrews
;t support the same functionality. Thanks, Mike On 8/1/07, Peter Ritchie < [EMAIL PROTECTED]> wrote: > > Ah, okay, from the designer. As far as I know the designer doesn't > support changing properties from the base class unless they're properties > of the base class

Re: [ADVANCED-DOTNET] Inheritance issues with the toolstrip control

2007-08-01 Thread Mike Andrews
t still does it in another project. I'm just at a loss here. Any suggestions? Thanks, Mike. On 8/1/07, Peter Ritchie < [EMAIL PROTECTED]> wrote: > > What are you making protected? The Modifier property of the ToolStrip > control on your UserControl? I assume you mean &quo

[ADVANCED-DOTNET] Inheritance issues with the toolstrip control

2007-08-01 Thread Mike Andrews
Guys, I've got a UserControl with a toolstrip on it. I changed the control to protected instead of public and the derived control still won't let me make any changes. Is this intentional behavior? Or have I somehow missed the inheritance boat all these years? Th

Re: [ADVANCED-DOTNET] FW: Per COM+ app .NET config files - not working

2007-07-04 Thread Mike Woodring
ic (COM+) area that would help the OP... -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Mike Andrews
There's also the List/Dictionary hybrid that you can use. You can find it at: System.Collections.ObjectModel.KeyedCollection You can access members either through a Key or an index. You must inherit this class, however and provide your own implementation. I do agree with the others, that the si

Re: [ADVANCED-DOTNET] Cross-Server Queries

2007-07-03 Thread Mike Andrews
Thank you. I was all over it like butter on a roll, but was missing just a small piece. Thanks again, Mike On 7/2/07, Matthew Wills <[EMAIL PROTECTED]> wrote: Mike, >> How can I create a JOIN that excludes records based on two columns? If I have one rowset that contains two

Re: [ADVANCED-DOTNET] Cross-Server Queries

2007-07-02 Thread Mike Andrews
How can I create a JOIN that excludes records based on two columns? If I have one rowset that contains two columns that are keyed to another rowset of the same two columns, how can I get only those rows that are in the 2nd rowset that are not included in the 1st rowset? Thanks, Mike On 7/2/07, P

[ADVANCED-DOTNET] Cross-Server Queries

2007-07-02 Thread Mike Andrews
lly want a linked server (or I'd rather not if at all possible). Any suggestions? Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] PRB: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible...

2007-06-25 Thread Mike Andrews
dvanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Mike Andrews > Sent: 22 June 2007 00:01 > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] PRB: Cannot evaluate expression because > a thread is stopped at a point where garbage collection

Re: [ADVANCED-DOTNET] PRB: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible...

2007-06-21 Thread Mike Andrews
Very true. I was just curious. I'm generally more sparing on my use of structs. Nevertheless, I still want to know the maximum size of a struct or if there is no size limit, the optimal size of a struct. On 6/21/07, Chris Anderson <[EMAIL PROTECTED]> wrote: > Does anyone know the maximum size

Re: [ADVANCED-DOTNET] PRB: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible...

2007-06-21 Thread Mike Andrews
Does anyone know the maximum size of a struct that can be used in the Framework without having these issues? Thanks, Mike On 6/21/07, Mike Andrews <[EMAIL PROTECTED]> wrote: Yes. And it makes sense now. I just wasn't thinking along those lines until the MS guy said something abo

Re: [ADVANCED-DOTNET] PRB: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible...

2007-06-21 Thread Mike Andrews
advanced .NET topics. [mailto: [EMAIL PROTECTED] On Behalf Of Mike Andrews Sent: Thursday, June 21, 2007 17:47 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] PRB: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible... I

Re: [ADVANCED-DOTNET] PRB: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible...

2007-06-21 Thread Mike Andrews
passed byval like a class when the size of the struct is greater than some [unknown] value. A very weird problem indeed. Thanks, Mike On 6/21/07, J. Merrill <[EMAIL PROTECTED]> wrote: Well, the class referenced by _groups must have a method called Load. What's in it? Have you tried

[ADVANCED-DOTNET] PRB: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible...

2007-06-20 Thread Mike Andrews
s.Load(details, type, startDate); } } _groups is a variable that references a custom class (that inherits directly from System.Object) that has no "special" functionality in it whatsoever. Any suggestions or ideas? Thanks, Mike === This list is

Re: [ADVANCED-DOTNET] Guaranteeing code will run at shutdown

2007-06-06 Thread Mike Woodring
> I've done that. The code just literally stops executing at > some arbitrary point due to application shutdown. Do you have multiple threads in your app (either ones you've created/started, or pooled threads you're leveraging). === This list is hosted by DevelopMe

Re: [ADVANCED-DOTNET] follow-up: Host response

2007-05-18 Thread Mike Johnston
Hi Peter, You might want to check out the Winsock FAQ http://tangentsoft.net/wskfaq/ lots of good info and samples. I am pretty sure it is still slanted toward C though. Mike J. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Peter Osucha

Re: [ADVANCED-DOTNET] follow-up: Host response

2007-05-17 Thread Mike Woodring
t does nothing but allow an arbitrary # of connections. But it only uses one thread, so uses async i/o to achieve the simultaneous connections. -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike === This list is hosted by D

Re: [ADVANCED-DOTNET] Xml Serialization with Collections

2007-05-17 Thread Mike Andrews
nal Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Mike Andrews Sent: Wednesday, May 16, 2007 10:06 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Xml Serialization with Collections I've got an issue with which I would ap

Re: [ADVANCED-DOTNET] TCP socket Communications

2007-05-17 Thread Mike Woodring
tabs open to different web sites: all connecting to port 80 at different IP addresses. The issue with ports is only on the listen/accept side of the conversation. Modulo http.sys port sharing, only one process on a machine can bind to port N for a given interface (in your case, port 6001 on the liste

[ADVANCED-DOTNET] Xml Serialization with Collections

2007-05-16 Thread Mike Andrews
hat demonstrates this behavior. As you can see, the exceptions that are thrown in the serialization code are not thrown. Any suggestions would be appreciated. Thanks, Mike class Program { static void Main(string[] args) { Person p = new Person(); p.ID = Guid.NewG

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

2007-03-08 Thread Mike Andrews
Thank you very much. That worked great! Exactly what I was looking for. -Mike On 3/7/07, Fernando Tubio <[EMAIL PROTECTED]> wrote: Yes, it is possible. For example, YourType obj = new YourType(); XmlSerializer serializer = new XmlSerializer( typeof( Yo

[ADVANCED-DOTNET] XmlSerializer question...

2007-03-07 Thread Mike Andrews
XMLSchema-instance"; xmlns:xsd=" http://www.w3.org/2001/XMLSchema"; id="ae2ce413-233f-4015-9804-00367feebe5e" /> and this is what I'd like created instead: How can I go about this? Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Determining if an event has been assigned a delegate...

2007-02-14 Thread Mike Andrews
() method, this is what I would like to get. Or a way to solve my previous problem. Thanks, Mike On 2/14/07, Mike Woodring <[EMAIL PROTECTED]> wrote: Be advised: (1) That only works when the calling assembly(ies) have sufficient CAS permissions that allows reflection against non-public

Re: [ADVANCED-DOTNET] Determining if an event has been assigned a delegate...

2007-02-14 Thread Mike Woodring
private field named after the event (in VB.NET, for example, the event member named "Foo" will result in a private field named "FooEvent"). -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike > -Original Message- > From: D

Re: [ADVANCED-DOTNET] Determining if an event has been assigned a delegate...

2007-02-14 Thread Mike Andrews
7;s ItemDataBound or ItemCreated event is fired. If you use this reflection code, you can retrieve the Delegate: EventInfo ev = db.GetType().GetEvent("CheckedChanged"); I can see that it is the Delegate, but cannot cast it. On 2/14/07, Mike Woodring <[EMAIL PROTECTED]> wrote: >

Re: [ADVANCED-DOTNET] Determining if an event has been assigned a delegate...

2007-02-14 Thread Mike Woodring
or an event (and if so, how many) isn't part of the public functionality of an event. Obviously, any class you write that publishes events can also provide a property or method that provides that information. But it's not part of the natural event facilities, so you're not going to see it i

Re: [ADVANCED-DOTNET] Determining if an event has been assigned a delegate...

2007-02-14 Thread Mike Andrews
on the left hand side of += or -= What might I be doing incorrectly here? Is what I want to do even possible? Thanks, Mike On 2/14/07, Phil Sayers <[EMAIL PROTECTED]> wrote: google for GetInvocationList that should point you in the right direction -Original Message- From

[ADVANCED-DOTNET] Determining if an event has been assigned a delegate...

2007-02-14 Thread Mike Andrews
... End Sub Is it possible to know if cb.CheckChanged has been assigned a handler or not? Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] KeyPress Events in WinForms App & Simple MDI Question

2007-02-13 Thread Mike Andrews
form1 = CreateForm(); ... Form1 form2 = CreateForm(); On 2/13/07, Mike Andrews <[EMAIL PROTECTED]> wrote: " A good example of that is where I have 3 or 4 panels on a single form and I want one keypress event to process every keypress on the form itself... as opposed to having individual key

Re: [ADVANCED-DOTNET] KeyPress Events in WinForms App & Simple MDI Question

2007-02-13 Thread Mike Andrews
" A good example of that is where I have 3 or 4 panels on a single form and I want one keypress event to process every keypress on the form itself... as opposed to having individual keypress events for each panel. " Any WinForm has a KeyPreview property that will cause all key events on child con

Re: [ADVANCED-DOTNET] PrinterSettings.OutputPort in C#

2007-01-23 Thread Mike Collins
vers I think we will have done all we can. I know it's not perfect. I just hope it's good enough. Thanks again!! Mike -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Peter Ritchie Sent: Tuesday, January 23, 2007 6:24 AM To: ADVAN

Re: [ADVANCED-DOTNET] PrinterSettings.OutputPort in C#

2007-01-22 Thread MIke Collins
anyone else has any ideas I'd appreciate your help. Worst case I will just use the printer name and know that some people will get through. Thanks in advance. Mike Collins -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Peter Ritchie

[ADVANCED-DOTNET] PrinterSettings.OutputPort in C#

2007-01-22 Thread MIke Collins
rinting based on the printer name. BUT!! The PrinterSettings.OutputPort (Which is not public) can not be changed as easily. I would like to be able to get that value so I can check that to make sure that the user is not printing to PDF, etc. Does anyone have any clues?? Thanks, Mike Here is

Re: [ADVANCED-DOTNET] Threading in ASP.NET

2007-01-08 Thread Mike Woodring
(timeouts), has some links at the front to a few different blogs/articles/slides on async page development basics that should get you started. If you're on asp.net 1.1, you'll have to do all the heavy lifting on your own. Read up on IHttpAsyncHandler in MSDN and then google around from

Re: [ADVANCED-DOTNET] Passing an object reference back from a COM+ hosted object

2007-01-05 Thread Mike Woodring
OM+ much/at all in recent years. But you ruled out the one common issue I was thinking of... -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Passing an object reference back from a COM+ hosted object

2007-01-04 Thread Mike Woodring
> The call to the new method worked, > but when I try and reference a property of the object that I just got > passed > back, I get the following error : What's the type of the property you're accessing, and are you accessing it's setter or getter? -Mike Bear

Re: [ADVANCED-DOTNET] Word of caution about the installation of VS2005 SP1

2006-12-16 Thread Mike Johnston
What? There are other languages other than C++? When did that happen? :) Mike J -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of David L. Penton Sent: Saturday, December 16, 2006 6:07 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re

[ADVANCED-DOTNET] Associated File Extensions...

2006-11-01 Thread Mike Andrews
Guys, I need to know how to retrieve the associated executable for an existing file extension. Example: I want to know the path and executable name for a xxx.pdf file. Any suggestions? Thanks, Mike === This list is hosted by DevelopMentor® http

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

2006-10-27 Thread Mike Andrews
Thanks to all of you. :) This helps. On 10/27/06, Marc Brooks <[EMAIL PROTECTED]> wrote: > intensity = (0.2989 * red) + (0.5870 * green) + (0.1140 * blue) That's the correct answer for normal "as the eye sees it" weighting. Go with this answer... -- "We do not have the luxury of making that

[ADVANCED-DOTNET] Algorithm question...

2006-10-27 Thread Mike Andrews
Guys, Does anyone know how to convert an RGB value into either a grayscale percentage or an RGB gray value? Thanks, Mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http

Re: [ADVANCED-DOTNET] Debugging: edit and continue, HOW?

2006-10-18 Thread Mike Woodring
Property2 getter. Shift+F11 Run until Property2 getter returns. F11 Step into SomeMethod. Frans wants a hotkey/button that skips the 1st 4 steps. -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike ==

Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create

2006-10-17 Thread Mike Woodring
: [ADVANCED-DOTNET] Get an AppDomain you didn't create > > Mike, > > I already know it's loading it from 2 places - if I run it up in the > IDE, I can see via the Modules window that DataAccess is being loaded > once from the Cache, and once from the directory where it

Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create

2006-10-17 Thread Mike Woodring
uggested, will confirm this, and maybe point more specifically at which assembly(ies) needs to be deployed in the GAC. -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike === This list is hosted by DevelopMentor® http://www.deve

Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create

2006-10-16 Thread Mike Woodring
appbase where the assembly resolver does its probing and (2) the 'display name' of the library that the resolver is going to attempt to hunt down & load. -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike ===

Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create

2006-10-16 Thread Mike Woodring
d directly or indirectly via COM interop are in the GAC. The problem isn't with remoting - there's no issue trying to call the same remoting server from 2 different appdomains in the same process. -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike

Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create

2006-10-13 Thread Mike Woodring
etails you're seeing? -Mike http://www.bearcanyon.com http://www.pluralsight.com/mike === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create

2006-10-13 Thread Mike Woodring
nd add a reference to System.Runtime.Remoting.Channels.dll in order to build & run. No config file needed. In an add-in situation like yours, you're going to want to avoid the use of config files to configure remoting, and just stick to API calls. -Mike Bear Canyon Consulting LLC http://w

Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create

2006-10-13 Thread Mike Woodring
each need to use remoting to talk to some other remoting server or (b) want to use remoting to talk to each other in-process? Also, .NET 1.1 or 2.0? -Mike Bear Canyon Consulting LLC http://www.bearcanyon.com http://www.pluralsight.com/mike === This list is host

  1   2   3   4   >