Re: [ADVANCED-DOTNET] Directory Server/Domain discovery

2008-07-10 Thread James Geall
e) and the serverName property should give you the name of the server HTH James On Thu, Jul 10, 2008 at 12:34 AM, Mont Rothstein <[EMAIL PROTECTED]> wrote: > I am looking for a way to get information about the domain/directory server > that the current user is logged in under. I need more t

[ADVANCED-DOTNET] Interop headache

2008-06-21 Thread James Berry
I'm doing some interop with the PKCS11 Cryptoki interface. In summary, there is a function which takes a c-style array (block of contiguously allocated memory). When my interop definition is just for a single element everything is fine. When I define the function as taking the required array,

Re: [ADVANCED-DOTNET] HTTPS

2008-05-20 Thread James Geall
does this do what you want? http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596b9108-b1a7-494d-885d-f8941b07554c.mspx?mfr=true HTH James On Tue, May 20, 2008 at 8:31 AM, Geoff Taylor <[EMAIL PROTECTED]> wrote: > Hi, > > I thought there was a '

Re: [ADVANCED-DOTNET] Storing shared secrets

2008-03-28 Thread James Geall
and didn't need to be anyway, just harder to reverse engineer. and Frans is right, a shared secret is no secret at all (especially if the other person writes it down!) :) HTH James [1] http://www.microsoft.com/mspress/books/8753.aspx === This list is hosted b

Re: [ADVANCED-DOTNET] Key storage.

2008-03-20 Thread James Geall
to take responsibility for distributing a key, whilst allowing the user to make a backup / install on more than one machine. HTH James On Thu, Mar 20, 2008 at 8:25 PM, Robert Lee <[EMAIL PROTECTED]> wrote: > Steve, > > Thanks for the suggestion. I have a routine that creat

[ADVANCED-DOTNET] Missing event keyword

2008-02-20 Thread James Berry
had to have used just a normal assignment instead to make it work. Can anyone give me the real story here? Best wishes James === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

[ADVANCED-DOTNET] Controlling sslstream cipher negotiation

2008-02-01 Thread James Berry
I need to control sslstream's cipher negotiation so it selects 3DES or AES encryption rather than RC4 if at all possible. I can see how to see what sslstream negotiated, but not any way to control the cipher selection - can anyone advise? === This list is hosted

Re: [ADVANCED-DOTNET] Creating unmanaged DLL from .net

2008-01-03 Thread James Berry
So the suggestion is to use managed C++ to write a unmanaged .DLL wrapper which calls into the appropriate .net managed assemblies? Best wishes James -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Gyorgy Bozoki Sent: 03 January 2008

[ADVANCED-DOTNET] Creating unmanaged DLL from .net

2008-01-03 Thread James Berry
I need to make a DLL that can be loaded by unmanaged code. That DLL needs to call some .net functions. Is there an easy way to make a managed DLL entry point available from unmanaged code? Best wishes James === This list is hosted by DevelopMentor® http

Re: [ADVANCED-DOTNET] Increased security

2007-11-19 Thread James Geall
ave you looked at threat modelling your application to see where you need mitigation and what it should be? If not, checkout the security blogs at microsoft ([3], [4]) Hope this helps a bit James References, watch for url wrap: [1] http://www.codinghorror.com/blog/archives/000953.

Re: [ADVANCED-DOTNET] WCF and MTOM

2007-08-21 Thread James Geall
: Cheers James On 8/20/07, Nicolas Roy <[EMAIL PROTECTED]> wrote: > > I'm using HTTP binding and MTOM encoding to transfer large document over a > WebService. I did a little spike using the MTOM sample from the SDK but I > can't make it work with large payload. Contrar

[ADVANCED-DOTNET] James Colwill is out of the office.

2007-06-21 Thread James Colwill
I will be out of the office starting 06/20/2007 and will not return until 06/25/2007. I will respond to your message when I return. === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.d

[ADVANCED-DOTNET] XmlSerialization of immutable objects

2006-09-06 Thread James Berry
get { return a; } } public string B { get { return b; } } } Best wishes James === 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] X500DistinguishedName - retrieve components

2006-06-23 Thread James Berry
Thanks Peter, I broke down and used .Decode on the DistinguishedName with UseNewLines parameter, then used regular expressions to get out the values. I'll have a look at the encoded data and see if I can get the data there better. Many thanks! Best wishes James -Original Me

[ADVANCED-DOTNET] X500DistinguishedName - retrieve components

2006-06-23 Thread James Berry
Given an X500DistinguishedName object, it seems there must be a good way (other than regular expressions) to retrieve the individual components - ie, CN, O, C etc Can anyone help? Best wishes James === This list is hosted by DevelopMentor® http://www.develop.com

Re: [ADVANCED-DOTNET] Dictionary multi-reader single writer

2006-04-05 Thread James Berry
I think I probably do require reads to be blocked during a write - but specifically, I don't know how Dictionary works so I wasn't clear on how much locking I should be doing. Best wishes James -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PRO

[ADVANCED-DOTNET] Dictionary multi-reader single writer

2006-04-05 Thread James Berry
help? Best wishes James === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

[ADVANCED-DOTNET] Detecting dotnet hotfixes

2006-02-22 Thread James Berry
name -- 25-May-2005 06:03 1.1.4322.2327 2,056,192 System.windows.forms.dll" http://support.microsoft.com/Default.aspx?kbid=899511 Best wishes James === This list is hosted by DevelopMentor® http://www.develop.com View archives and m

Re: [ADVANCED-DOTNET] Is it possible to redirect binding to another public key token?

2005-12-28 Thread James
IMHO you are making this to hard. The "major code change" or difference that makes the assembly you compiled a new version is the new key pair that is signing the assembly. The Public Key part is used for assembly ID. If you have all the code (including the .snk file) that was used when the

Re: [ADVANCED-DOTNET] Is it possible to redirect binding to another public key token?

2005-12-27 Thread James
In a nutshell, You are trying the wrong approach to do the right thing. You have created a new version of an assembly and signed it with your strong name Key pair. I would follow the rules and information on versioning of .Net assemblies. That should give you the result you need without signin

[ADVANCED-DOTNET] Tips for implementing an Authenticode signed .NET browser control?

2005-12-09 Thread James Spink
I have written and currently support a signed Java applet and a signed ActiveX control. When downloaded via an HTML page, they access the file system to perform some tasks (write data to disk, execute some code, etc.). They're signed with the usual certs, Authenticode, etc. so that users are pre

Re: [ADVANCED-DOTNET] Business logic

2005-09-15 Thread james
it first became a TLA. Now it means many different things, one of them being Database related. Just this afternoon I heard it used in a sentence. "That Database A$$#0!!# just locked up our Enterprise SQL Cluster and now I have to contact UNISYS support!" Thanks for

Re: [ADVANCED-DOTNET] Business logic

2005-09-15 Thread James
Mike, What off list email should we use? From: Unmoderated discussion of advanced .NET topics. on behalf of Mike A Sent: Thu 9/15/2005 11:27 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Business logic Well stated Jeff. Given your in

Re: [ADVANCED-DOTNET] Accessing files over the network from a Web Service

2005-07-14 Thread James Bishop
I haven't done this sort of thing for a while, since ASP in fact. But by the looks of it, its impersonation that you want to do. This can apparently be done without changing code, by putting a username/password into the web.config file. These might help: http://aspalliance.com/336 http://idunno.o

Re: [ADVANCED-DOTNET] Is C++ better over .NET Math library ?

2005-07-08 Thread James Bishop
Check out Mapack for .net: http://www.aisto.com/roeder/dotnet/ I haven't used it, but it is by the guy that wrote the .net reflector tool, Lutz Roeder, which is a great c# decompiler. > -Original Message- > From: Unmoderated discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL P

Re: [ADVANCED-DOTNET] ADVANCED-DOTNET Digest - 22 Apr 2005 to 23 Apr 2005 (#2005-53)

2005-04-25 Thread James Conley
Well, I'm certainly glad that we got THAT cleared up! James C. -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Antonie Botes Sent: Monday, April 25, 2005 5:03 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: ADV

Re: [ADVANCED-DOTNET] How to suppress an event

2005-04-18 Thread James Conley
Try unhooking your delegate in the Init event of the web page. If that is too late then I don't know what you would do. :( James C. -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Kazmer, Brad Sent: Monday, April 18, 20

Re: [ADVANCED-DOTNET] How to suppress an event

2005-04-18 Thread James Conley
You know something in the Page_Load event that tells you that you don't really want to respond to Event_A? Will you still know that in Event_A? If so then write the handler for Event_A such that... If (Something is True) 'do nothing Else 'regular event code

Re: [ADVANCED-DOTNET] How to suppress an event

2005-04-18 Thread James Conley
What happens if you remove the event handler that points to the event delegate? James C. -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Kazmer, Brad Sent: Monday, April 18, 2005 11:45 AM To: ADVANCED-DOTNET

Re: [ADVANCED-DOTNET] ASP.NET- Turning off the Open button on Attachment download.

2005-04-13 Thread James Conley
Any reason you can't put your file download code in download.aspx, and then link it from your main page and specify a target? Open in window James C. -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Vivek Mukherjee

Re: [ADVANCED-DOTNET] ASP.NET- Turning off the Open button on Attachment download.

2005-04-13 Thread James Conley
The browser should open the file in the associated application. No? James C. -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Vivek Mukherjee Sent: Wednesday, April 13, 2005 1:27 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM

Re: [ADVANCED-DOTNET] UI thread problems

2005-04-13 Thread James Bishop
One thing that could cause your main thread to block is if the message queue stuff uses COM, and it uses ThreadingModel of Apartment or Both, and you create your message queue class in the main form, then it will be loaded into the main form STA. Then if you use that same class from your other thre

Re: [ADVANCED-DOTNET] UI thread problems

2005-04-12 Thread James Bishop
.net framework classes use COM underneath, maybe the message queuing classes do?) HTH, James. > -Original Message- > From: Unmoderated discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Ross Diesel > Sent: 12 April 2005 08:32 >

Re: [ADVANCED-DOTNET] Determing time when a assembly was built

2005-01-27 Thread James Geall
use to bump the build number during a daily build. HTH James === 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] OT: Browser Plug-ins

2005-01-20 Thread James
what kind of help does he need with his I.E. Band control? From: Unmoderated discussion of advanced .NET topics. on behalf of Andy Smith Sent: Thu 1/20/2005 1:27 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] OT: Browser Plug-ins Sorry fo

Re: [ADVANCED-DOTNET] Disposing resources in DataSet

2004-12-28 Thread James
Dr Gecko Pointdexter writes: >Every time I need to play around with DataTables and DataSets, the way >to add tables is: > >if (dt.DataSet != null) > dt.DataSet.Tables.Remove (dt); >ds.Add (dt); > >Works every time. Like the code above suggests, the DataTable belongs to or is a child

Re: [ADVANCED-DOTNET] Persistence Options

2004-12-24 Thread James
> Scott writes You say that most consumers don't have .Net installed. This seems like a temporary problem, since Microsoft has put a large investment in .Net Scott, Microsoft recomends that you write WebServices interfaces to be Platform independant and to

Re: [ADVANCED-DOTNET] ServiceControlManager within an NT Service

2004-12-03 Thread James Bishop
Another thing to check would be security/login issues - eg does your service have the rights to control another service? Try changing the login that your service runs as to an administrator user... -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROT

Re: [ADVANCED-DOTNET] Random number generation.

2004-11-11 Thread James
-Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Kristoffer Sheather Sent: Wednesday, November 10, 2004 9:11 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Random number generation. Is a random number calculated by kno

Re: [ADVANCED-DOTNET] SV: [ADVANCED-DOTNET] Required fields in .N ET Windows application

2004-11-09 Thread James Bishop
I'd suggest using the built in .net ErrorProvider. This displays a little red exclamation mark next to fields when there is a validation error, and shows a tooltip with some sort of message for the user. You could hook the change events for the text boxes, checkboxes, etc. and validate the fields

Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-01 Thread James Texter
I have used the AutoLayout component that MS put out. I don't have the link handy but it should not be hard to find. We found a few bugs that were easy to fix (since code is provided). It basically makes use of panels, but after the second form, my team got the hang of it. Thanks,

Re: [ADVANCED-DOTNET] Large solutions and references

2004-08-11 Thread James Geall
are doing a debug build and the folder contents are release build (or worse the other way around)? We use the slap round the head method for breaking builds too, and I agree it works wonders (much better than sourcesafe :)) James -Original Message- From: Paul Stevens [mailto:[EMAIL

Re: [ADVANCED-DOTNET] Large solutions and references

2004-08-11 Thread James Geall
ctory. HTH James -Original Message- From: Paul Stevens [mailto:[EMAIL PROTECTED] Sent: 11 August 2004 09:31 To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Large solutions and references so based on a working month approx of approx 20 days you will after 5 months have accumulates a ter

Re: [ADVANCED-DOTNET] Enum as a Parameter

2004-08-10 Thread James Geall
I think this is what you want(outlook compiled); class a { protected void DoStuff(Enum enumValue) { Debug.WriteLine (enumValue.GetType().ToString); Debug.WriteLine (enumValue.ToString); foreach(string name in enumValue.GetNames())

Re: [ADVANCED-DOTNET] Large solutions and references

2004-08-10 Thread James Geall
it smoke tests and unit tests ok as well before doing a final build for deployment to staging without unit test code or even as release. It does take time to get this setup and working properly but it is well worth it. But you already know that. Hope this helps James [1] I have assumed that y

Re: [ADVANCED-DOTNET] Multithreaded hash table access

2004-07-22 Thread James Berry
lock objects? ;-) Best wishes James > -Original Message- > From: Unmoderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Heath Ryan > Sent: 22 July 2004 10:10 > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Multithreaded hash tab

[ADVANCED-DOTNET] Multithreaded hash table access

2004-07-21 Thread James Berry
I've got myself very confused, and I wonder if you guys can help a little bit. In my data-layer, I'm trying to implement some caching for a long (well 2-3 seconds) running database operation. I know when the results would have changed, so when to re-run the stored proc. The stored proc takes som

Re: [ADVANCED-DOTNET] Hosting WinForm User Controls in an ActiveX Container

2004-05-19 Thread James
On Tue, 18 May 2004 06:06:14 -0400, James R Stone <[EMAIL PROTECTED]> wrote: >There is no .NET control supported at this time. You "Add Reference" >to "Microsoft Internet Controls" from the COM tab to your Windows Forms >project and you will

Re: [ADVANCED-DOTNET] Hosting WinForm User Controls in an ActiveX Container

2004-05-18 Thread James R Stone
There is no .NET control supported at this time. You "Add Reference" to "Microsoft Internet Controls" from the COM tab to your Windows Forms project and you will be able to use the browser control. === This list is hosted by DevelopMentor® http://www.develop.com So

Re: [ADVANCED-DOTNET] oracle db provider

2004-03-18 Thread james
Exception Details: System.DllNotFoundException: Unable to load DLL (oci.dll). Source Error: Line 133:'Dim myCommand As New OracleCommand(mySql, myConnection) Line 134:'myConnection.Open() Line 135:OracleConnection1.Open() Line 136:End Sub Line 137:End Class Every ti

Re: [ADVANCED-DOTNET] Client getting Disconnected error when using web service

2004-03-17 Thread james
experience has been repeating element names in child or sibling elements. f.e.: Good Luck, James R. Parker Information Systems Design and Development BestWebTechs.Net -Original Message- From: Moderated discussion of advanced .NET topics. [mailto

Re: [ADVANCED-DOTNET] Service stays in "starting" status first time its started

2004-03-10 Thread James Texter III
execute as a winforms app. HTH James -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Doug J. Nelson Sent: Wednesday, March 10, 2004 12:02 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Service stays in "starting&qu

Re: [ADVANCED-DOTNET] Datagrid sorting

2004-03-10 Thread Parzych, James
could you create a new column that is a combined string of the x columns you want to sort? make it's width 0 but sort on it? Jim Parzych The TriZetto Group, Inc. Software Engineer Technical Specialist 860-907-3230 - Phone 860-877-4477 - Cell 860-907-3298 - Fax "Since we don't know where we're go

Re: [ADVANCED-DOTNET] Datagrid sorting

2004-03-09 Thread james
I have done this past by storing the sort options that the user interface has selected or enabled (in a code behind variant) and then pass this to a sort method to change the order of the data then call the DataBind method on the DataGrid. This may not work if the Datagrid has the DataSource Key co

Re: [ADVANCED-DOTNET] parsing a java webservice

2004-03-07 Thread james
DVANCED-DOTNET] parsing a java webservice Hi James, Sorry I wasn't more clear (i gotta work on that), the webservice isn't even valid XML. Its the most interesting response I've ever seen called a "webservice". They basically use tags "whenever it suits them", but

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread james
for that App. James R. Parker Information Systems Design and Development BestWebTechs.Net -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Little Sent: Friday, March 05, 2004 8:53 AM To: [EMAIL PROTECTED] Subject: Re

Re: [ADVANCED-DOTNET] Need help with Justification of .net Remoting

2004-03-05 Thread james
-Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Alan Robbins Sent: Friday, March 05, 2004 9:04 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Need help with Justification of .net Remoting IMHO This is something that is occu

Re: [ADVANCED-DOTNET] parsing a java webservice

2004-03-05 Thread james
-Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of dave wanta Sent: Friday, March 05, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] parsing a java webservice So I'm reading the stream with a StreamReader, using En

Re: [ADVANCED-DOTNET] Creating a delegate from reflection information

2004-03-03 Thread James Berry
his help in coming up with this on one of the developmentor courses, but it's quite an interesting technique so I thought it was worth mentioning. Best wishes James > -Original Message- > From: Moderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Beh

Re: [ADVANCED-DOTNET] Communication with Windows Service

2004-03-02 Thread james
Ali, I would use WMI to interface the Windows Service, and Web Services to extend a Service Interface for your WMI Windows Service Controller. This allows you to use some existing API's on the server and client and perhaps even reduce the number of threads in use. [EMAIL PROTECTED] -Origina

Re: [ADVANCED-DOTNET] Transparent Persistence

2004-02-14 Thread james
Stefan wrote >So, there were, >for instance, auxilliary classes showing up to model many-to-many >relationships! This is what I mean by 'being able to seeing the database >through all layers'. This is what I consider 'bad design'. I would like to hear what you consider a 'GOOD Design!' approach fo

Re: [ADVANCED-DOTNET] Web Services, Remoting and Coupling

2004-02-12 Thread james
> However there are positive sides to the stored procedure aspect > though but they have nothing to do with performance or security. They > have everything to do with how you look at things. If you think an RDBMS > should provide the first 'tier' in a system, which automatically implies > i

Re: [ADVANCED-DOTNET] Compilation error

2004-02-12 Thread james
nstalled the > framework and voila, all is well in the universe again. > > Still not sure why this has happened. I seen that there were a few posts for > this issue on some microsoft.public newsgroups however there were either no > replies or the replies that were posted did not h

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Services and ORM

2004-02-11 Thread james
, then you'll >have 1 modelling mechanism on an abstract level which would lead to a >solid relational model and would lead to a base for further class >modelling. James Writes: You are absolutely correct in both respects. I did misunderstand the original message do to the Acrony

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Serv ices and ORM

2004-02-11 Thread james
, 2004 10:38 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Services and ORM james wrote: > ...The latest and greatest Architecture guides from MS all show Web > Services (that you can fully type and define) and Service Interfaces > as being t

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Services and ORM

2004-02-11 Thread james
>Is it supposed to be clear what you're referring to by "this product that >you desire"? He was asking about a tool for ORM being included in any version of Visual Studio (2003 .NET). I was trying to say that such an Item does come with the Enterprise Architect version of the product. >Have you

Re: [ADVANCED-DOTNET] Compilation error

2004-02-11 Thread Harvey, James
default. So I deleted all the \bin and \obj and recompiled and all was well. All my assemblies were strongly named which is one of the reasons I think it happened. James -Original Message- From: Brandon Manchester [mailto:[EMAIL PROTECTED] Sent: 10 February 2004 16:47 To: [EMAIL PROTECTED

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Serv ices and ORM

2004-02-10 Thread james
Lead Developer, TNS NFO -Original Message- From: Steve Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 10:38 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Services and ORM james wrote: > ...The latest and greatest Archite

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Services and ORM

2004-02-10 Thread james
uture plans for Component Services and ORM james wrote: > ...The latest and greatest Architecture guides from > MS all show Web Services (that you can fully type and define) and > Service Interfaces as being the replacement for COM+. Can you post a link? I can't imagine any way in

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Services and ORM

2004-02-09 Thread james
-Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Bill Bassler Sent: Monday, February 09, 2004 6:26 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Microsoft's future plans for Component Services and ORM >1.A replacement for

Re: [ADVANCED-DOTNET] OLE

2004-01-19 Thread James V. Merrill
You asked a somewhat rhetorical / philosophical question. If you have a specific question about how to do something, please make the question more obvious. You didn't say what you're trying to do, but I guess you're trying to "host" mshtml in a (.NET?) program of yours. Are you writing a Windo

Re: [ADVANCED-DOTNET] Expert guidance or idea's needed

2003-11-12 Thread james
you hear so much about. Wouldn't this make deployment easier for you? Thanks! James -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Shawn A. Van Ness Sent: Wednesday, November 12, 2003 3:02 AM To: [EMAIL PROTECTED] Subjec

Re: [ADVANCED-DOTNET] Remoting a Full Trusted CAO on a W2K2 Server don't work? (SOLVED)

2003-11-12 Thread james
on future 2003 Apps will give the customer more happiness and less grief. Thanks and Kudos! James -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Luca Minudel Sent: Tuesday, November 11, 2003 7:31 PM To: [EMAIL PROTECTED] S

Re: [ADVANCED-DOTNET] Remoting: why I can remote from SrvA to SvrB but I cannot from SvrB to SrvA?

2003-11-10 Thread james
You might have already mentioned/tried this, but... Did you run the sn utility to make it a strong named? Did you do this before you compiled the code or after? -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Luca Minudel Sent:

Re: [ADVANCED-DOTNET] Remoting: why I can remote from SrvA to SvrB but I cannot from SvrB to SrvA?

2003-11-07 Thread james
[>!] >Can you point me to some documentation? [>!] > [>!] >TIA (luKa) [>!] Luka, There are several places I could point to. The best place to start would be in the folder of the SDK where you found the security and other tools. Most likely in the Tools and Quick Start Documentation .HTM file. T

Re: [ADVANCED-DOTNET] Remoting: why I can remote from SrvA to SvrB but I cannot from SvrB to SrvA?

2003-11-07 Thread james
Have you configured .NET Framework permissions for the remote Assembly on the 2003 Server? Is the 2003 code strongly named and or digitally signed? 2003 Server is a little pickier about who and what gets to request or service data. I remember my first RC 2003 Server build spending a few hours tr

Re: [ADVANCED-DOTNET] Elegant way of handling "nulls" when assigning to the DateTime structure

2003-10-10 Thread James
>Subject: Re: [ADVANCED-DOTNET] Elegant way of handling "nulls" >when assigning to the DateTime structure > >I would suggest to use specific .NET Data Provider types (as >System.Data.SqlTypes While everyone is hot on the type subject, I would like to ask... Does anyone know for certain if type ca

Re: [ADVANCED-DOTNET] Object identities, marshaling issues and in teroperability

2003-09-13 Thread Sievert, James A
You know, another option might be using the MeowMoniker [1]. I believe that the display name of this moniker will be the same across apartments. [1] http://www.sellsbrothers.com/tools/monikers/ > -Original Message- > From: Dmitry Shaporenkov [mailto:[EMAIL PROTECTED] > Sent: Friday, Sep

Re: [ADVANCED-DOTNET] Automating Windows Service Installation

2003-09-10 Thread James Geall
you may want to try msizap to remove all references to the install. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/m sizap_exe.asp we have had success with this, but be careful it does have switches to kill all msi installed applications :S James -Original

Re: [ADVANCED-DOTNET] Remoting Connection Retry/Recovery

2003-06-06 Thread James Berry
ate our middle tier (which we communicate with using remoting) without all the clients falling over! However, we haven't run any trials to find out whether this is at all practical. We are using a binary TcpChannel. Best wishes James

Re: [ADVANCED-DOTNET] Connection Pool Timeout

2003-03-28 Thread James Johnson
es you want to use in a group, then you can stack the using statements as below: using( SqlConnection conn = new SqlConnection( blah blah) ) using( SqlCommand cmd = new SqlCommand( blah, conn ) ) { // use the connection and command } James > -Original Message- > From: Moderated

Re: [ADVANCED-DOTNET] BCP API?

2003-03-14 Thread James Saville
I have been looking for this also. In talking with Microsoft, they seem to be working on this. IRowSetfastload is the interface you need - and it's actually exposed in the OLEDB driver for SQL server. If you are inclined, you can use it via C++, but I have been looking for a completely native wa

Re: [ADVANCED-DOTNET] Original CodeBase from GAC assembly

2003-02-18 Thread James Crowley
, System.Reflection.Assembly.GetAssembly(typeof(whatever)).CodeBase; Should work. ~ James Crowley - WebZinc - turning the web into an Object >> http://www.webzinc.net/ - Programming tutorials, articles & source cod

Re: [ADVANCED-DOTNET] delegate vs threadpool

2003-02-13 Thread James Berry
. What's the point of a garbage collector if it won't solve these leakage issues? I appreciate we've got the Dispose-style functionality for unmanaged resources, but elsewhere.. Incidentally, does the same requirement to call EndInvoke exist when you do a .BeginInvoke on a windows form control? Best wishes James

Re: [ADVANCED-DOTNET] System.Runtime.InteropServices.COMException

2003-02-11 Thread Sievert, James A
One file that you should always keep in mind is: C:\Program Files\ Microsoft Visual Studio .NET\ FrameworkSDK\include\CorError.h In your case, the error is: #define META_E_BADMETADATA EMAKEHR(0x118A) // Merge: Inconsistency in meta data import scope > -Original Message- >

Re: [ADVANCED-DOTNET] Dynamic SOAP XML serialization problem...

2003-01-23 Thread Sievert, James A
; To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Dynamic SOAP XML serialization > problem... > > > I don't know how to add SoapIncludeAttribute in this case but > the following will work: > > importer.IncludeType(typeof(MyStruct)); > > Sergey > > -Or

[ADVANCED-DOTNET] Dynamic SOAP XML serialization problem...

2003-01-23 Thread Sievert, James A
I'm trying to dynamically serialize an object[] in SOAP format. The object[] can contain mixed types. Some of these types are well known like ints, longs, etc. The others are locally defined structs. When I attempt the serialization of a local struct, I get the following exception: System.Inva

Re: [ADVANCED-DOTNET] Braces make code execution faster?

2003-01-22 Thread James Geall
the act of recording the timings will always have an impact on code speed. sounds like the timing calls are the cause of the erroneous results. can't remember how truetime attaches to code but if it does it before compiling into IL it's probably doing it in different places or ways. as an aside,

Re: [ADVANCED-DOTNET] Soundex In Dotnet

2002-12-29 Thread James Crowley
I don't believe there was a Soundex function in VB6, but anyway... There's quite a nice Soundex class at http://www.codeproject.com/csharp/soundex.asp Regards, ~ James Crowley Developer Fusion -- Web - http://www.developerfusion.com/ Email

[ADVANCED-DOTNET] Licensing in .NET and COM

2002-12-23 Thread James Crowley
Hi, Our component is currently using a custom implementation of the LicenseProvider class. However, we need this to work in a COM environment too; but at the moment the license information is not embedded in the EXE in VB6. How can we get this working? Thanks, ~ James Crowley Developer Fusion

Re: [ADVANCED-DOTNET] STAThread, COM interop and ASP.net

2002-12-02 Thread James Crowley
to get it not to display the IE window!!) Do you have any examples using solely the mshtml assembly to retreive a page and access its IHTMLDocument2 inteface? Thanks, ~ James Crowley Developer Fusion -- Web - http://www.developerfusion.com/ Email- [EMAIL

[ADVANCED-DOTNET] STAThread, COM interop and ASP.net

2002-11-27 Thread James Crowley
having to stick in that tag for a supposed .net component! Any suggestions? Thanks, ~ James Crowley Developer Fusion -- Web - http://www.developerfusion.com/ Email- [EMAIL PROTECTED] ICQ# - 60612011 Fax - +44

[ADVANCED-DOTNET] Integrating COM Interop into the main assembly

2002-11-26 Thread James Crowley
e it never initialises, and if I do get it to initialize, the properties don't work. Any suggestions? Regards, ~ James Crowley Developer Fusion -- Web - http://www.developerfusion.com/ Email- [EMAIL PROTECTED] ICQ# - 60612011 Fax - +44 (0)870 7

[ADVANCED-DOTNET] Integrating COM Interop DLLs & IWebBrowser2

2002-10-23 Thread James Crowley
object GetContainer(); instead of object Container { get; } ? Secondly, can anyone provide a working example that uses the IWebBrowser2 interface? (or simply a modified version of the project linked to above with a LocationURL property would be wonderful). Any suggestions/code would be apprec

Re: [ADVANCED-DOTNET] WindowsPrincipal (investigating roles)

2002-10-16 Thread Sievert, James A
> Is there an easy way to look at the roles stored in the > WindowsPrincipal > without having to repeatedly call .IsInRole()? Or is there > an easier way > to declarative security against the WindowsPrincipal? It's funny that the roles aren't exposed to a greater extent. Anyone who's looked tha

Re: [ADVANCED-DOTNET] Interposer Update (was Interposer class and problems)

2002-10-03 Thread Sievert, James A
> I couldn't see any of the things we discussed and > you said was fixed in the released archive. The change made to this version is based on a comment from Mike Woodring where he suggested using MethodCallMessageWrapper instead of creating a separate parameter array reference. The change is in

[ADVANCED-DOTNET] Interposer Update (was Interposer class and problems)

2002-10-02 Thread Sievert, James A
There is an Interposer update that's finally available at [1]. This update fixes a problem where out and ref parameters weren't propogated out of the Interposer properly. [1] You can read messages from the Advanced DOT

Re: [ADVANCED-DOTNET] The dreaded licenses.licx

2002-09-27 Thread James Crowley
nd I'm not entirely sure how accurate that information is - its just what I've been able to make out from the documentation. Having said that, I can't get the thing to work as expected at the moment anyway, because of the problem I mentioned. Cheers, ~ James

[ADVANCED-DOTNET] The dreaded licenses.licx

2002-09-27 Thread James Crowley
sting application. I've placed the following line in it: MyAssembly.MyLicensedClass But when I try to compile the assembly I get C:\Documents and Settings\James\My Documents\Development\ActiveX\WebZinc\v4.0\Demo\licenses.licx Could not transform licenses file 'licenses.licx' into a binary re

Re: [ADVANCED-DOTNET] Interposer class and problems

2002-09-26 Thread Sievert, James A
> Would be > useful to update your Interposer class for COM with this > code, and post it back to gotdotnet.com? Yeah, the change is waiting on their queue to be accepted. When the update gets accepted, I'll post a notice here. Glad things are working! Jim You can read messages from the Advan

  1   2   >