Re: [DOTNET] Creating Add-In for VS.NET

2002-04-30 Thread Jay Ayliff
Hi Mike, If I understand your question, I think what you need to do is set the the instance of Visual Studio containing your Add-in so it starts another copy of Visual Studio when it runs. I kind man called Sam Gentil gave me this answer. It's in the archives on 26 March this year if you want to

[DOTNET] [OT] IIS mappings

2002-04-30 Thread Pierre Greborio
Hi, I'm trying to set a new application mapping to my IIS (Windows XP Prof, IIS5.1) but the "OK" button is always disabled. Any suggestion ? Pierre --- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it ---

Re: [DOTNET] why IE 5.01

2002-04-30 Thread Steve Loughran
- Original Message - From: "Jerry Sidfrid" <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 09:46 Subject: Re: why IE 5.01 > I believe the reason the IE 5.01 is required is because Dot Net installs a > MIME filter that is compatible with version 5.01 and greater. When this > MIME filter

[DOTNET] Specifying the client-side file name when doing Response.WriteFile

2002-04-30 Thread Chris Sells
I'm redirecting all .zip files on my site to a form to collect the email addresses of down loaders. Then, once they've filled out the form, I want to let them get the file, so I'm using Response.WriteFile. The problem is that the file name on the client-side defaults to the name of the aspx file d

Re: [DOTNET] Specifying the client-side file name when doing Response.WriteFile

2002-04-30 Thread Dumitru Sbenghe
Response.AddHeader("Content-Disposition", "attachment; filename=" + FileName) Dumitru Sbenghe http://www.dsbenghe.home.ro/ > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of > Chris Sells > Sent: Tuesday, April 30, 2002 11:27 AM > To: [EMAIL PROTECTED]

Re: [DOTNET] Specifying the client-side file name when doing Response.WriteFile

2002-04-30 Thread Deepak Rao
You might also want to specify the Content-Type as application/zip Deepak > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > Dumitru Sbenghe > Sent: Tuesday, April 30, 2002 4:43 AM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] Specifying the client

Re: [DOTNET] Specifying the client-side file name when doing Response.WriteFile

2002-04-30 Thread Deepak Rao
You need to add a Content-Disposition header to the HTTP Response. Try this HttpResponse response; ... response.AddHeader("Content-Disposition", "attachment; filename=myfilename.zip"); Deepak > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > Chris

Re: [DOTNET] Specifying the client-side file name when doing Response.WriteFile

2002-04-30 Thread Richard Birkby
How about: Response.AddHeader("content-disposition", "attachment; filename=EmailHarvester.zip"); Richard > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of > Chris Sells > Sent: 30 April 2002 09:27 > To: [EMAIL PROTECTED] > Subject: [DOTNET] Specifyin

Re: [DOTNET] Specifying the client-side file name when doing Resp onse.WriteFile

2002-04-30 Thread Chris Anderson
Use a "content-disposition" tag, eg Response.AddHeader "content-disposition", "filename=MyZipFile.zip" ,however, note KB Q279667 (it doesn't work in IE5.5SP1) Merak > -Original Message- > From: Chris Sells [mailto:[EMAIL PROTECTED]] > Sent: 30 April 2002 09:27 > To: [EMAIL PROTECTED] >

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

2002-04-30 Thread Ingo Lundberg
Hi there, I hope it isn’t too late to jump in and ask a few questions. I don’t now if this thread was about creating singletons to begin with but my question is about just that. Vance Morrison’s posting was about singletons anyway. How about creating the singleton instance in the static construc

[DOTNET] Unable to start ASP.NET Server debugging

2002-04-30 Thread Donal Devine
I have failed abysmally to debug an ASP.NET Web Application. Here is the error: Error while trying to run project: Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server. Would you li

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

2002-04-30 Thread Richard Birkby
If two threads both running in respective static constructors perform an operation which would cause the other static constructor to execute, then a deadlock will occur. In Java, the process requires killing. In .Net, one of the threads is chosen as a victim. Richard > -Original Message

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

2002-04-30 Thread Willy Denoyette
Have you tried to use Allocation Profiler? You can download it from http://www.gotdotnet.com/userarea/filedetails.aspx?FileName=AllocationPr ofiler.zip Using this on an 8 way box shows the same figures as running on a single CPU box. Willy. - Original Message - From: "Henk de Koning" <[E

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

2002-04-30 Thread Valery Pryamikov
Yes, it's safe to initialize singleton from the static constructor, which is properly protected by framework. Check list archives for more details and/or 9.5.3 of PartitionIIMetadata.doc. In short: static constructors are always properly protected, but there is a possibility of seeing partially i

Re: [DOTNET] Send data with SendMessage

2002-04-30 Thread Jan Dropczynski
Hi Keith, sure I can post the code. ;) Here it is: /** In my sending form **/ public const int WM_COPYDATA = 0x004A; // this is the data to be send [StructLayout(LayoutKind.Sequential)] public struct CopyDataStruct { public string ID; public int Length; public string Data; } CopyDataStruc

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

2002-04-30 Thread Ingo Lundberg
I'm sorry, I haven't. I could be useful to have an N way box handy too, right? :-) /Ingo On Tue, 30 Apr 2002 10:55:30 +0200, Willy Denoyette <[EMAIL PROTECTED]> wrote: >Have you tried to use Allocation Profiler? You can download it from >http://www.gotdotnet.com/userarea/filedetails.aspx?FileNam

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

2002-04-30 Thread Ingo Lundberg
Valery, Thanks for pitching in. I’ll take you word for it. I have the highest regards for your knowledge. How come, do you think, one never sees samples with singletons using the static constructor? Is my MySingle2 equivalent to MySingleton? I would guess that the field initialization of MySing

Re: [DOTNET] Aiming to high!?!

2002-04-30 Thread Andreas Håkansson
I'm not at my computer at the moment, but where do I find the templated you refer to ? //Andreas You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

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

2002-04-30 Thread Valery Pryamikov
Hi Ingo, You should probably check Mark Townsends (MS) article in MSDN "Exploring the Singleton Design Pattern" where he particularly mention use of the static constructors for this matter. -Valery. PS. Thanks for kind words;) -Original Message- From: Ingo Lundberg [mailto:[EMAIL PROTEC

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

2002-04-30 Thread Valery Pryamikov
Btw: about memory consumption. AFAIK current implementation adds 8 bytes for each object - RTTI/vptr (or whatever you want to call it) and SyncBlockIndex. It's guaranteed that RTTI/vptr will be always naturally aligned, to avoid split access. It is also obvious that whenever GC allocates an object

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

2002-04-30 Thread Valery Pryamikov
Just a correction to previous letter. The following had just an opposite meaning to what I was meant to say: > It is also obvious that whenever GC allocates an object it has > to put a reference/handle to this object in one or another > internal list.. Should be: It is also obvious that for e

Re: [DOTNET] VS.NET on XP

2002-04-30 Thread Paul Laudeman
I'm using VS.NET on XP Pro and Win2k Pro regularly and have had no problems at all. I have a dual monitor setup on my XP box and three monitors for my Win2k box and it works great. I'd defintely recommend a small investment in a program called UltraMon to help enhance the experience, however. --P

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

2002-04-30 Thread Peter Laan
inline From: "Valery Pryamikov" <[EMAIL PROTECTED]> > And at last - memory is really cheap nowadays, who really care about > counting bits?;-). > I do! :) I have an array that might go up to 1*1. So each byte in the struct that the array contains will add 100 MB of data. Up to now, I h

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

2002-04-30 Thread Valery Pryamikov
Opps ;-). But anyway, if I'd need to deal with that amount of memory, I'd rather use Memory Mapped File... Gives a great access speed and doesn't bind you to the amount of physical memory, but disk memory is even cheaper... Just a side note: unfortunately there is no support for Memory Mapped Fi

Re: [DOTNET] How-to convert StdPicture to .NET Image?

2002-04-30 Thread Alex Yakhnin
In fact I am getting an IPicture. So, any takers on that? Thanks... Alex On Mon, 29 Apr 2002 15:50:17 -0700, Alex Yakhnin <[EMAIL PROTECTED]> wrote: >Hi All, > >I get a StdPicture returned through Interop. How can I convert it a valid >Image object? > >Thanks... Alex > >You can read messages f

Re: [DOTNET] How-to convert StdPicture to .NET Image?

2002-04-30 Thread Valery Pryamikov
How about using Image.FromHBitmap method? If I recall it correctly IPicture has Handle property (get_Handle). -Valery. -Original Message- From: Alex Yakhnin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:09 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] How-to convert StdPic

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

2002-04-30 Thread Rune Christensen 8397
Then you shouldn't use Object for storage. Rather you should somehow stream / unstream objects to the memory store. Regards, Rune C -Original Message- From: Peter Laan [mailto:[EMAIL PROTECTED]] Sent: 30. april 2002 13:00 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] lock - how expensive i

Re: [DOTNET] Aiming to high!?!

2002-04-30 Thread Jeff Fedor
You need VS.net Enterprise Architect. Select New Project > Other Projects > Enterprise Template Projects j -Original Message- From: Andreas Håkansson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 6:01 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Aiming to high!?! I'm not

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

2002-04-30 Thread Chris Anderson
But do you need all of them at the same time, and are all the elements populated? There are many more data structures you can use that will streamline this, and allow yourself to have even bigger maps Sparse arrays can be massive as long as they contain information about only a relatively few el

Re: [DOTNET] Aiming to high!?!

2002-04-30 Thread Duncan Smart
Andreas, Look into using Typed DataSets for dealing with your domain data. You can graphically draw your data structure (parent-child relationships, etc) and VS.NET (or the XSD.EXE tool) will generate a subclass of System.Data.DataSet which will have properties and fields named after your table a

Re: [DOTNET] Aiming to high!?!

2002-04-30 Thread Chris Anderson
Duncan, you say: > data. You can graphically draw your data structure > (parent-child relationships, etc) and VS.NET (or the XSD.EXE > tool) will generate a subclass of System.Data.DataSet which > will have properties and fields named after your table and columns. Where can you do this in VS.NET

Re: [DOTNET] COM GUID --> file location?

2002-04-30 Thread Don McNamara
I was wondering if there was a way to do this programatically... From: Thomas Tomiczek <[EMAIL PROTECTED]> on 04/30/2002 02:39 AM Please respond to dotnet discussion <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: Re: [DOTNET] COM GUID --> file location? Yes, registry ac

[DOTNET] Dotnet framework in norwegian nad other langauges anyone?

2002-04-30 Thread Thomas Tomiczek
For 98 you need the "correct language". What about all the languages not mentioned in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetde p/html/dotnetfxref.asp Is there a timeframe for them? Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) You can

Re: [DOTNET] How-to convert StdPicture to .NET Image?

2002-04-30 Thread Alex Yakhnin
Hi Valery, Yea, I'd tried that. It looks like the IPicture.Handle returns a valid value, but when I try to pass it to Image.FromHBitmap I get the Exception: "A generic error occured in GDI+" -Alex On Tue, 30 Apr 2002 13:12:22 +0200, Valery Pryamikov <[EMAIL PROTECTED]> wrote: >How about using

Re: [DOTNET] Character escapes and HttpWebResponse

2002-04-30 Thread Jim Arnold
If the request is redirected, a new Uri is created. You can get the original Uri from HttpWebRequest.RequestUri, and the actual Uri from HttpWebRequest.Address (this is set after the request has completed). Jim > -Original Message- > From: Erick Thompson [mailto:[EMAIL PROTECTED]] > Sen

Re: [DOTNET] Trace question.

2002-04-30 Thread Ingo Lundberg
Tomas, You beat me to it. Check out DbgView. With it you can "listen to" DebugOutputString over the net. /Ingo On Mon, 29 Apr 2002 19:20:31 -0500, Tomas Restrepo <[EMAIL PROTECTED]> wrote: >Drew, > >> I'm sure someone has to have already written one of >> these. > >Well, in that case, I guess

Re: [DOTNET] Trace question.

2002-04-30 Thread Ingo Lundberg
Sorry, It should say OutputDebugString. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Big map for games

2002-04-30 Thread Peter Laan
(changed the subject) Right now each hex only contains one byte (terrain, resource and control), and one pointer to a unit (null if there's no unit in the hex). I'll probably need a few more bytes for rivers, roads and railroads. There will surely be more action in specific parts of the map (the

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

2002-04-30 Thread Peter Laan
Is there a problem with using large arrays of structs? Only a few of the hexes will actually contain an object. Peter From: "Rune Christensen 8397" <[EMAIL PROTECTED]> > Then you shouldn't use Object for storage. Rather you should somehow stream > / unstream objects to the memory store. > > Rega

Re: [DOTNET] Big map for games

2002-04-30 Thread Thomas Tomiczek
Sorry to join in here so late - the new topic called me :-) Have you thought of using DirectPlay for synchronising the map? Also, I am not so sure whether you are not wasting TONS ot space. Your field (hex) currently consists of one byte plus a pointer. Now, this limits you in two ways: (a) yo

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

2002-04-30 Thread Thomas Tomiczek
Structs are not pointers. Structs use the same memory whether initialised or not. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Peter Laan [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 30. April 2002 15:59 To: [EMAIL PROTECTED] Subject:

Re: [DOTNET] Datagrid problem

2002-04-30 Thread Marshall Harrison
Thanks Adam, I'll probably end up doing just as you suggested and convert everything at the database level in a stored proceedure. That may solve the problem for item 2 also as I could do the mileage calculations in the SP and then filter records greater than the radius. Marshall -Original

Re: [DOTNET] Send data with SendMessage

2002-04-30 Thread Keith Homiski
Hi Jan, The code you have below does work the way it was intended, I am including my test code. / NativeMethods.cs ***/ public class NativeMethods { public NativeMethods(){} [StructLayout(LayoutKind.Sequential)] public struct CopyDataStruct { public string ID; public int Length; publi

Re: [DOTNET] Creating Add-In for VS.NET

2002-04-30 Thread Miller, Chris
If you are running the project via "pressing F5", you may try running the "ReCreateCommands.reg" file in the same directory location as the project file. Occasionally, if I change an interface in my code I need to run this file after compiling the project. Read the "Note:" at: HTH, -Chris --

Re: [DOTNET] Big map for games

2002-04-30 Thread Chris Anderson
> There will surely be more action in specific parts of the map > (the game is a simple online multiplayer simulation of > operation Barbarossa), so splitting the map into smaller > parts is something I have been thinking about. And I don't > want to send the complete map to every client either. I

Re: [DOTNET] Datagrid problem

2002-04-30 Thread Marshall Harrison
Thanks Drew. I'm unfamiliar with DataGridTextBoxColumnStyle so I'll experiment with that. I'm already creating a DataView based off of the table in the DataSet but I can't see how that solves the problem. Maybe I'm just braindead right now. I'm sure I'll get it working and getting there is half

Re: [DOTNET] Big map for games

2002-04-30 Thread Thomas Tomiczek
As you mentioned bandwidth so often - thats something which should be a big concern :-) People dont have T1's at home, and the central servers do NOT want to pay this :-) Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Chris Anderson [m

Re: [DOTNET] [OT] IIS mappings

2002-04-30 Thread John Lewicki
I was extremely frustrated by this at one point; I found the solution on another message board (I forget which one). It turns out that there is a bug in XP; the way to get the OK button to enable is to browse to the executable you want to map using the browse button, fill in the rest of the mappi

[DOTNET] Adding site to Trusted Sites @ Machine level

2002-04-30 Thread Chris M. Szurgot
As everyone is already aware, thanks to the security measures put in place by Service Pack 1, the only way to safely download something from the internet with custom permissions is if it's on a trusted site. I can add a trusted site programmatically at an individual level, but can't figure out how

Re: [DOTNET] Send data with SendMessage

2002-04-30 Thread Jan Dropczynski
Hi Keith, many thanks for your help! I will try your test code and also hope this helps! ;) But a question I still have: Works the CopyData message between two processes? I ask because my forms running in different applications. Thanks again and Regards, Jan You can read messages from the DOTNET

Re: [DOTNET] [OT] IIS mappings

2002-04-30 Thread Pierre Greborio
That's a nice workaround ! Thank you very much. Pierre --- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it --- -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] O

Re: [DOTNET] Big map for games

2002-04-30 Thread Graeme Foster
If you are using randomly-generated maps, you could just send the seed to the clients. Each client would then be able to generate the terrain from the seed. The ultimate bandwidth saver :) G. -- Graeme Foster ([EMAIL PROTECTED]) Principal Software Engineer Aston Broadcast Systems Ltd. (http://ww

Re: [DOTNET] Possible VS.Net bug ... in templatecolumn --- NOT AN SWERED

2002-04-30 Thread Guha, Rahul
Nobody answered this. Is it because nobody faced it or I am missing something or just I was not clear ? However I found more problems in VS.Net IDE when using template column and switching between design and html view ... sometimes your declarations in the code behind cs file just disappear in thi

Re: [DOTNET] ImageLists and System.Reflection.TargetInvocationException?!?

2002-04-30 Thread Mark Boulter
So you guys having been adding a manifest to devenv.exe? -Original Message- From: Chris Sells [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:24 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] ImageLists and System.Reflection.TargetInvocationException?!? Oh my lord, that's it!

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

2002-04-30 Thread Ted Faison
It's the same book, just an early version of the cover. --Ted You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

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

2002-04-30 Thread Ted Faison
In the book, the WebBrowser host (a Windows Form) implements IOleClientSite, allowing MsHtml to callback into the IDocHostUIHandler methods automatically. The code shows the complete implementation of IOleClientSite, IOleObject and other important interfaces. --Ted On Mon, 29 Apr 2002 22:26:02

Re: [DOTNET] ImageLists and System.Reflection.TargetInvocationExc eption?!?

2002-04-30 Thread Marsh, Drew
Mark Boulter [mailto:[EMAIL PROTECTED]] wrote: > So you guys having been adding a manifest to devenv.exe? I had back in the beta days when I was playing around with WinForms so I could see the themed controls as they would appear at runtime. I haven't been working on a "real" WinForms project si

Re: [DOTNET] Send data with SendMessage

2002-04-30 Thread Keith Homiski
Jan, Absolutely, one way I have achieved this in the past is using the System.Diagnostics.Process class, there are methods to retrieve the current process (Example: use the Process.MainWindowHandle property instead of PInvoking/retrieving the HWND from FindWindow()). Based on a valid handle you

[DOTNET] ASP.NET Web Application Debugging

2002-04-30 Thread Donal Devine
I have failed abysmally to debug an ASP.NET Web Application. Here is the error: Error while trying to run project: Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server. Would you li

[DOTNET] ProgressBar Question

2002-04-30 Thread Jeff Roberts
Is there any way to have text in a ProgressBar. i.e. Have a ProgressBar that also contains the text "Operation x% Complete" ? Thank you You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Delphi programmers?

2002-04-30 Thread Smith, Eric A.
I've got some API code from a mail server that I use that's written in Delphi. I could use a hand with some translation of the API calls it defines. Reply via private e-mail to eric [at] northcomp.com. Eric You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe t

Re: [DOTNET] ASP.NET Web Application Debugging

2002-04-30 Thread Dunne, Joe
Donal, I had this problem on beta2 and eventually reinstalled to fix it. The only time this happens now is when IE is set to work offline (checked in the File menu). Good luck. joe -Original Message- From: Donal Devine [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 10:31 AM To

Re: [DOTNET] ProgressBar Question

2002-04-30 Thread Graeme Foster
You'd do this by building a UserControl which contains a ProgressBar and a Label for the text. Not built in, but pretty easy nonetheless. G. -- Graeme Foster ([EMAIL PROTECTED]) Principal Software Engineer Aston Broadcast Systems Ltd. (http://www.aston.tv) Disclaimer: I really don't have a clue w

[DOTNET] Combining projects into a web root

2002-04-30 Thread William A. Sempf
I am attempting to take several independantly developed projects and combine them with a project that was created in the root web directory of a Windows 2000 server. RootWeb /Web1 /Web2 /Web3 The RootWeb project contains a ASCX that is being used for the header of the site, and I w

[DOTNET] Test

2002-04-30 Thread Gale, Paul
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] System.Web.HttpServerUtility (Server.GetLastError)

2002-04-30 Thread Sérgio Rodelo
How can I use the following class: ? Server.GetLastError " Server is an intrinsic object of the class System.Web.HttpServerUtility " Everytime I try to use this class I end up with Nothing returned by the class. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscri

Re: [DOTNET] Big map for games

2002-04-30 Thread Paul Mercer
Just as a side note DirectPlay can be troublesome if you are going to be running the game behind proxy/NAT/firewall devices. Paul -Original Message- From: Thomas Tomiczek [mailto:[EMAIL PROTECTED]] Sent: 30 April 2002 15:10 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Big map for games

[DOTNET] aspcompat and System.Management?

2002-04-30 Thread Jeff Dunmall
Hi all, I've been working with a ASP.NET and a VB component that uses the thread-level impersonation token. Eventually figured out that setting aspcompat=true in the top of the page allows VB to grab it. Setting aspcomat=true seems to break my query with System.Management. A local administrato

Re: [DOTNET] Combining projects into a web root

2002-04-30 Thread Jeremy Hopkin
In the RootWeb, create a project (If you haven't) and have if reference all of the dlls of the subprojects e.g. /Web1/bin/Web1.dll, /Web1/bin/Web2.dll, etc. with copy local set on the the references. Then when you compile up the root web it will copy all of the dlls and place them in your root we

[DOTNET] Sockets on one machine?

2002-04-30 Thread Erskine, Bill
I have two .exes designed to be the two ends of a socket communication messaging system that runs across a network (I have to interface to a legacy system). I am currently running them both on the same machine to make sure that they can talk to each other. My question is if an application sends a

Re: [DOTNET] System.Web.HttpServerUtility (Server.GetLastError)

2002-04-30 Thread Marsh, Drew
Sérgio Rodelo [mailto:[EMAIL PROTECTED]] wrote: > How can I use the following class: ? > > Server.GetLastError " Server is an intrinsic object of the > class System.Web.HttpServerUtility " > > Everytime I try to use this class I end up with Nothing > returned by the class. When are you "usi

[DOTNET] Programmatically interfacing the GAC

2002-04-30 Thread Dadi Ingolfsson
Hi, Is there a way for me to do insert/update/delete on the GAC through a programmatic API? Cordially, Dadi Ingolfsson - Software Engineer EJS Inc. Services and Software Dep. tel: 563-3000 You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMento

[DOTNET] Datagrid problem

2002-04-30 Thread Fernando, Chaminda non Unisys
Hi all, The problem I having at the moment in the datagrid (VB windows appication). when I sorted Datagrid by clicking one of heading column I want to make some changes in text boxes in the same form.So I want to know is there any event occur when I am clicking heading column ( like fromna

[DOTNET] Enterprise Architect - Visio Modelling

2002-04-30 Thread Mathieu Rachlin
Hi everyone, This is actually my very first post. I just wanted to take a moment to thank everyone for keeping things so active in here. I find that even by just being an observer, I'm learning alot about .NET (vicariously however!). I installed VSEA today as well as Visio. I'm somewhat new to

[DOTNET] MethodRef lookup

2002-04-30 Thread Paolo Molaro
While making the Oberon for .Net compiler run with the mono runtime I found out that it has a method ref with name get_Name and the resolution scope points to S.R.FieldInfo. The problem is that FieldInfo itself doesn't include a Name property, though it inherits it from the abstract class MemberIn

Re: [DOTNET] Enterprise Architect - Visio Modelling

2002-04-30 Thread Murphy, James
> I installed VSEA today as well as Visio. I'm somewhat new to > formal architectural diagrams but I believe that I understand > the fundamentals quite well. Where I'm having some confusion > is with regards to the transition between a "Use Case" and a > "Static Structure". If you figure out how

Re: [DOTNET] Big map for games

2002-04-30 Thread Brad Wilson
Paul Mercer wrote: > Just as a side note DirectPlay can be troublesome if you are going to be > running the game behind proxy/NAT/firewall devices. Really? You think opening up 1000 ports on your firewall is a potential issue for some people? :-D Honestly, DirectPlay is crap. Until they can l

Re: [DOTNET] Sockets on one machine?

2002-04-30 Thread Brad Wilson
Erskine, Bill wrote: > My question is if an application sends and receives socket communication on > the same machine, does it actually use the NIC card? No. > And how can I verify this? You can trust me? :) (Local communications go through what's called a "loopback" adapter, which sorta simu

Re: [DOTNET] System.Web.HttpServerUtility (Server.GetLastError)

2002-04-30 Thread Sérgio Rodelo
I am using it inside my code. What I need is to get an exception that might have ocurred elsewhere else in the code. For example I have lots of classes that I use to perform specific tasks. Each of them handles their errors with try Catch blocks. But further up in the calling chain, I need to kn

Re: [DOTNET] ImageLists and System.Reflection.TargetInvocationException?!?

2002-04-30 Thread Scott Densmore
Yeah check out [1] and you will see that Chris did a little doodad for this. Of course it does cause a few minor problems. Scott [1] http://www.sellsbrothers.com/tools/default.aspx -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Mark Boulter Sent: Tues

Re: [DOTNET] System.Web.HttpServerUtility (Server.GetLastError)

2002-04-30 Thread Marsh, Drew
Sérgio Rodelo [mailto:[EMAIL PROTECTED]] wrote: > I am using it inside my code. What I need is to get an > exception that might have ocurred elsewhere else in the code. > > For example I have lots of classes that I use to perform > specific tasks. Each of them handles their errors with try >

Re: [DOTNET] Enterprise Architect - Visio Modelling

2002-04-30 Thread Mathieu Rachlin
Thanks James, that clears things up for me somewhat. I do agree that some of this modelling should be open and high-level. In my experience, getting too specific too soon only spells trouble once the business people change their minds (or make a decision, whatever!). - Mat -Original Messa

Re: [DOTNET] Enterprise Architect - Visio Modelling

2002-04-30 Thread Mathieu Rachlin
Thanks Steve, I'm going to start digging deeper into this. Much appreciated! - Mat -Original Message- From: Steve Holak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:28 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Enterprise Architect - Visio Modelling Mathieu, General

Re: [DOTNET] Big map for games

2002-04-30 Thread Peter Laan
From: "Brad Wilson" <[EMAIL PROTECTED]> > Paul Mercer wrote: > > > Just as a side note DirectPlay can be troublesome if you are going to be > > running the game behind proxy/NAT/firewall devices. > > Really? You think opening up 1000 ports on your firewall is a potential > issue for some people? :

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

2002-04-30 Thread Peter Laan
Yes, but this is ok with me. Just wondered if there were something else I had missed. Peter From: "Thomas Tomiczek" <[EMAIL PROTECTED]> > Structs are not pointers. > > Structs use the same memory whether initialised or not. > > > Regards > > Thomas Tomiczek > THONA Consulting Ltd. > (Microsoft M

Re: [DOTNET] Enterprise Architect - Visio Modelling

2002-04-30 Thread Myrick, Joe M.
Also, check out: "Use Case Driven Object Modeling with UML" ISBN: 0201432897 Joe... -Original Message- From: Steve Holak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 12:28 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Enterprise Architect - Visio Modelling M

Re: [DOTNET] ProgressBar Question

2002-04-30 Thread Robert Isaacs
I don't think so. But writing a progress bar is one of the easiest controls you can create. Write a small control with Minimum, Maximum, and Value properties. Override the OnPaint method and use drawRectangle to draw the progress bar (depending on how fancy you want to make it look). Then dra

Re: [DOTNET] ProgressBar Question

2002-04-30 Thread Bryan Batchelder
I recall reading that GDI+ lacks XOR - and that was a majoring complaint... Just food for thought along with this suggestion. --b Bryan Batchelder eBusiness Consultant ConnectWise, Inc. 813-935-7100 x 425 > -Original Message- > From: Robert Isaacs > Sent: Tuesday, April 30, 2002

Re: [DOTNET] Big map for games

2002-04-30 Thread Peter Laan
From: "Thomas Tomiczek" <[EMAIL PROTECTED]> > Also, I am not so sure whether you are not wasting TONS ot space. > > Your field (hex) currently consists of one byte plus a pointer. > > Now, this limits you in two ways: > (a) you can not have more than one object on a hex (rules may change, > what

Re: [DOTNET] Big map for games

2002-04-30 Thread Peter Laan
From: "Chris Anderson" <[EMAIL PROTECTED]> > Why send the map to the clients? > This would only need to be done once (if it's not already installed) > The terrain information will be fixed, so the only details you need to pass > around are the more volatile elements (player locations, etc), and th

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

2002-04-30 Thread Erick Thompson
I was looking into this a while back, and while there is no direct support for memory mapped files in .net, there have been quite a few managed wrappers written [1][2]. Erick [1] http://www.mvps.org/windev/dotnet/index.html [2] http://www.gotdotnet.com/userarea/filedetails.aspx?FileName=ToolBox

Re: [DOTNET] Big map for games

2002-04-30 Thread Peter Laan
From: "Thomas Tomiczek" <[EMAIL PROTECTED]> > As you mentioned bandwidth so often - thats something which should be a > big concern :-) > > People dont have T1's at home, and the central servers do NOT want to > pay this :-) > The 20 MB dotnet download is probably enough to cause problems for som

Re: [DOTNET] ImageLists and System.Reflection.TargetInvocationException?!?

2002-04-30 Thread Graeme Foster
You bet - right up until we built our first release of software with it and found that ImageLists didn't work on anything but Windows XP! Ah well, it did *look* cool... :) G. -- Graeme Foster ([EMAIL PROTECTED]) Principal Software Engineer Aston Broadcast Systems Ltd. (http://www.aston.tv) Discl

Re: [DOTNET] Enterprise Architect - Visio Modelling

2002-04-30 Thread Mathieu Rachlin
Before I go out and buy this book, does anyone have any objections and/or differing opinions? =) - Mat -Original Message- From: Myrick, Joe M. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:35 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Enterprise Architect - Visio Model

[DOTNET] Release date for .NET Speech SDK?

2002-04-30 Thread Farhan
Any word on release date for .NET Speech SDK? Thanks, Farhan You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Big map for games

2002-04-30 Thread Peter Laan
From: "Graeme Foster" <[EMAIL PROTECTED]> > If you are using randomly-generated maps, you could just send the seed to > the clients. Each client would then be able to generate the terrain from the > seed. > > The ultimate bandwidth saver :) > Great idea! Thanks! Although I hope I will somehow ma

Re: [DOTNET] Sockets on one machine?

2002-04-30 Thread Erskine, Bill
Thanks Brad. That was my suspicion, but I was having trouble locating .NET documentation that just came out and said it. -Original Message- From: Brad Wilson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 12:29 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Sockets on one machi

Re: [DOTNET] Enterprise Architect - Visio Modelling - (Use Cases)

2002-04-30 Thread Ethan Smith
The only book I've ever read on use case that made any sense, and is IMHO the best work to date on the subject is Alistair Cockburn's "Writing Effective Use Cases". I don't want to start a religious war here, but before you look at other books, at least read the chapter in this book about UML use

Re: [DOTNET] Enterprise Architect - Visio Modelling - (Use Cases)

2002-04-30 Thread Mathieu Rachlin
I need to find a way to get the company to pay for all these things... *sigh* =) I get the feeling that I just opened one of those boxes with a bottemless supply of ongoing learning! - Mat -Original Message- From: Ethan Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 2

Re: [DOTNET] Release date for .NET Speech SDK?

2002-04-30 Thread franklin gray
Is this voice recongition for VS? if not, does anybody know if or when the VS IDE will be voice recongition compiliant? BTW, Do these really work? I was looking at them just an hour ago at Comp USA. -Original Message- From: Farhan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 200

  1   2   >