[DOTNET] Help on Accessing biztalk from .net

2002-05-10 Thread george antony
Hi all Can any one suggests me from where to start in Accessing the biz talk object model programmatically form vb.net regards gan __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com You can read messages from the DO

[DOTNET] Remoting problems...

2002-05-10 Thread Dean Cleaver
I'm having some problems with remoting, and wondered if I am attacking this right... I have a singleton (which opens a COM port hence must be a singleton) which needs to be available remotely, however it also requires to be consumed by the service which is also it's remote host. I am trying to r

Re: [DOTNET] CopyMemory (RtlMoveMemory) -- The .NET way

2002-05-10 Thread David B. Bitton
-- David B. Bitton [EMAIL PROTECTED] www.codenoevil.com Code Made Fresh Daily™ - Original Message - From: "Marsh, Drew" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 10, 2002 6:08 PM Subject: Re: CopyMemory (RtlMoveMemory) -- The .NET way > David B. Bitton [mailto:[EMAI

[DOTNET] Compiling MSIL to native code

2002-05-10 Thread Axel Heitland
This is a rather hypothetic question: We can use ngen.exe to precompile IL to native code. Is a scenario in which we would have ONLY ngen.exe (or similar) and NO JITter possible?! I guess that only code using the codedom would suffer in not having a JITter - is that right? Regards Ax

Re: [DOTNET] WSDL Consumption at Runtime

2002-05-10 Thread Greg Reinacker
Take a look at http://www.gotdotnet.com/team/tools/web_svc/default.aspx. Greg Reinacker Reinacker & Associates, Inc. http://www.rassoc.com -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Tewari, Vijay Sent: Friday, May 10, 2002 10:49 AM To: [EMAIL PROT

Re: [DOTNET] calling LoadUserProfile from a ASP.NET webservice

2002-05-10 Thread Chris Post
In order for LoadUserProfile to work on Windows XP you need to add the following permissions to the ASPNET account: Act as part of the operating system Backup files and directories Restore files and directories You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe

Re: [DOTNET] CopyMemory (RtlMoveMemory) -- The .NET way

2002-05-10 Thread Marsh, Drew
David B. Bitton [mailto:[EMAIL PROTECTED]] wrote: > Our application (VB6) receives a byte array via a TCP > conversation. We then take the byte array, and do a > CopyMemory into a UDT. This has been a classic way of > handling this type of situtation. Now, I want to know how I > would do t

[DOTNET] CopyMemory (RtlMoveMemory) -- The .NET way

2002-05-10 Thread David B. Bitton
Our application (VB6) receives a byte array via a TCP conversation. We then take the byte array, and do a CopyMemory into a UDT. This has been a classic way of handling this type of situtation. Now, I want to know how I would do this, the .NET way. How is this done? -- David B. Bitton [

Re: [DOTNET] question about connection pool

2002-05-10 Thread Beauchemin, Bob
One last point. If you decide not to use connection pooling, turn it off explicitly in the connection string (pooling='false' in SqlConnection, OLE DB Services=-4 in OleDbConnection) to avoid the pool creation and tracking overhead. Bob -Original Message- From: Beauchemin, Bob Sent:

Re: [DOTNET] question about connection pool

2002-05-10 Thread Beauchemin, Bob
SQL Server, and, I believe, Sybase, have the SETUSER command. But it can only be issued by sysadmin or dbo, cannot be used with SQL Server/NT integrated security, and resets if the current database is changed with the USE command. It also has a WITH NORESET option that prohibits reseting to the

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Peter Foreman
OK, you've got me confused since OR is a two way mapping in my mind. What is your approach? How does it avoid writing business logic in either a transactions or 'session' manner, or in an 'entity' manner? Peter --- Shawn Wildermuth <[EMAIL PROTECTED]> wrote: > It doesn't deal with the Object-

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Curtis Koppang
For a look at what Microsoft is doing around this in the future check out this presentation from the 2001 PDC on Object Spaces. Kind of out there, but its cool. The Object Spaces part of the presentation is the last 35 minutes. Later, curt - Original Message - From: "Scott Densmore" <[

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Andreas Håkansson
See inline [Andreas] On Fri, 10 May 2002 12:46:34 -0700, Peter Foreman <[EMAIL PROTECTED]> wrote: >--- Andreas Håkansson <[EMAIL PROTECTED]> wrote: >> >*** B - wrong. You ARE invasive if you ask for custom attributes. >> >You will never be able to serialize private attributes "non-invasive".

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Shawn Wildermuth
It doesn't deal with the Object->Relational mapping at all. It does the Relational to Object mapping. The real trick here is that the DataSet can hold the data as relational and display hierarchically. I repeat this does *NOT* work to map your objects to a datastore, only the other way around.

Re: [DOTNET] question about connection pool

2002-05-10 Thread ChongQing Xiao
I agree the application level audit can have much richer and finer control than DB level audit but 1. DB level audit will be faster since it doesn't need another round trip of db call. 2. For general audit purpose (say update record, delete record), using trigger in db level will be easiler. I w

Re: [DOTNET] question about connection pool

2002-05-10 Thread Marsh, Drew
Beauchemin, Bob [mailto:[EMAIL PROTECTED]] wrote: > Correct, but that behavior, (not being able to reset > credentials) is a "database implementation detail". ;-) True. > Imagine if SQL Server could reset credentials, in a manner > analogous to how sp_reset_connection works today. Then it > wou

Re: [DOTNET] custom URL protocol handler

2002-05-10 Thread Marsh, Drew
David B. Bitton [mailto:[EMAIL PROTECTED]] wrote: > ok, so it has to be "hooked up" via a reference in a .config > file. Would that be the infamous AppConfig file, or the even > more dreaded manifest file? Any level config: application (your best bet), machine, enterprise. Documentation for th

Re: [DOTNET] Updated CollectionGen

2002-05-10 Thread Graeme Foster
Whoa. You're gonna have to make that thing auto-update! :) G. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Chris Sells Sent: 10 May 2002 18:17 To: [EMAIL PROTECTED] Subject: ANN: Updated CollectionGen Joel Mueller is at it again, this time with an

Re: [DOTNET] custom URL protocol handler

2002-05-10 Thread David B. Bitton
the reference to the document() XSLT function is a great example of what I'd like to do. -- David B. Bitton [EMAIL PROTECTED] www.codenoevil.com Code Made Fresh Daily™ - Original Message - From: "Marsh, Drew" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 10, 2002 1:00 PM

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Peter Foreman
--- Andreas Håkansson <[EMAIL PROTECTED]> wrote: > >*** B - wrong. You ARE invasive if you ask for custom attributes. > >You will never be able to serialize private attributes "non-invasive". > > [Andreas] I would be intressting to see how you could utilize > aspect-orientated programming to g

Re: [DOTNET] question about connection pool

2002-05-10 Thread Beauchemin, Bob
Correct, but that behavior, (not being able to reset credentials) is a "database implementation detail". ;-) Imagine if SQL Server could reset credentials, in a manner analogous to how sp_reset_connection works today. Then it would be possible to write a connection pooling implementation that w

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Peter Foreman
This depends very much on what design pattern you are using for OR mapping. Martin Fowler's site [1] gives a good overview of some approaches. What is your approach to inheritance hierarchies for instance? How does it work if the database schema already exists and tables do not map 1-1 with ob

Re: [DOTNET] Detecting default AppDomain

2002-05-10 Thread Marsh, Drew
Bill Baird [mailto:[EMAIL PROTECTED]] wrote: > How can I determine if a given piece of code is running in > the default AppDomain. I searched the archives, but came up empty. Hmmm... I thought of this, but it feels so hacky: // Get the entry point Assembly Assembly entryPointAssembly = Assemb

[DOTNET] Cursor File as a Resource?

2002-05-10 Thread Matt Horne
Can a .CUR file be stored in a resource file? I can do it with bitmaps, strings, and icons but not with mouse cursors. Anyone know how to do this? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] question about connection pool

2002-05-10 Thread Marsh, Drew
ChongQing Xiao [mailto:[EMAIL PROTECTED]] wrote: > In ADO.NET, the connection pool will be used if the > connection string is the same. This works fine > if I can map many different user to the same userID in the > Database. But how it will work if I want to distinguish > different user in the da

Re: [DOTNET] Lame compiler error of the day...

2002-05-10 Thread Simon Robinson
Just out of interest, why do you need a line that long? Don't you find it a bit difficult to read? :) Simon --- Simon Robinson http://www.SimonRobinson.com --- - Original

Re: [DOTNET] OT - Job posting list

2002-05-10 Thread franklin gray
"Getting in with many reputable headhunters is probably your best bet in this market." Brad Thanks. I pretty much have used headhunters in the past, but I have always started by applying to their adds in the paper. I guess this time I have to call them. -- Read my web log at http://www.qualit

Re: [DOTNET] calling LoadUserProfile from a ASP.NET webservice

2002-05-10 Thread Chris Post
Thanks for your response. Unfortunatly the gcsadmin account is a member of the Administrators group, as well as having the "Act as part of the operating system" privilege. However, it still generates a 1314 error. I even rebooted after assigning the permissions to make sure that they would get u

[DOTNET] Unable to create a new Web Project

2002-05-10 Thread Igor Kravtzov
Hi, When I try to create a web project in in VS.NET I get the message box "Web Access Failed" with the following message: The default access mode for this project is set to file share, but the project folder at "http://localhost/MyTestApp"; cannot be opened with the path "D:\projects\MyWeb\

Re: [DOTNET] OT - Job posting list

2002-05-10 Thread Brad Wilson
franklin gray wrote: > 1) Is there a Job Posting list? [EMAIL PROTECTED] > 2) Below is where I have looked in the past for the area I am in now > (Houston, Tx). Any other ideas? Dice.com HotJobs.com Getting in with many reputable headhunters is probably your best bet in this market. Brad --

Re: [DOTNET] Detecting default AppDomain

2002-05-10 Thread Bill Baird
Is it as simple as (Thread.GetDomainID() == 1) ? Is this guaranteed to be true on the default AppDomain? Thanks, Bill > -Original Message- > From: Bill Baird > Sent: Friday, May 10, 2002 2:25 PM > To: [EMAIL PROTECTED] (E-mail) > Subject: Detecting default AppDomain

Re: [DOTNET] Invoking Apps from within managed Apps

2002-05-10 Thread Rama Krishna
Look at System.Diagnostics.Process class. -Original Message- From: Tewari, Vijay [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Invoking Apps from within managed Apps Is it possible to invoke tools like WSDL.EXE from within a manage

[DOTNET] Invoking Apps from within managed Apps

2002-05-10 Thread Tewari, Vijay
Is it possible to invoke tools like WSDL.EXE from within a managed app. Regards Vijay You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Detecting default AppDomain

2002-05-10 Thread Bill Baird
How can I determine if a given piece of code is running in the default AppDomain. I searched the archives, but came up empty. Thanks, Bill Baird ([EMAIL PROTECTED]) You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://disc

[DOTNET] OT - Job posting list

2002-05-10 Thread franklin gray
I have found out in a meeting just a few hours ago that the budget for my project may be running out, which means my position may be closed for lack of funds. Besides the fact that I am about 1/2 way finished and will not get to finish the most awesome application ever written, I am down becau

Re: [DOTNET] WSDL Consumption at Runtime

2002-05-10 Thread Christian Weyer
You may want to take a look at my Dynamic Web Services Invocation sample assembly on www.xmlwebservices.cc. With that you can dynamically bind to a WSDL based Web Service. It produces an assembly in-memory which you then can reflect on. Cheers, Christian - .NET X

[DOTNET] Interesting bug in System.Windows.Forms

2002-05-10 Thread Rama Krishna
I want to create a control as a child of another window which is in another process. (I am trying to implement preview for a screen saver written in C#). In order to do that I have code like this:- public class PreviewWindow : System.Windows.Forms.Control { private

Re: [DOTNET] Lame compiler error of the day...

2002-05-10 Thread Brad Wilson
Marsh, Drew wrote: > You exceeded 2046 characters in one line of code?!? :O It was machine generated code, and ASP.net tossed cookies all over my browser as a result. Lame! Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read messages from the DOTNET archive, unsubscribe f

Re: [DOTNET] Thread.CurrentPrincipal lost after making a call to a remote object?

2002-05-10 Thread Paul Currit
This is an old thread, but the bug has resurfaced. My tests are showing that the bug is only fixed if the remote object is server-activated. The Thread.CurrentPrincipal is still being lost if the remote object is configured to be client-activated. Has anyone experienced the same thing? Thanks, Pa

[DOTNET] Problem with 2 ImageButtons and 1 Validator

2002-05-10 Thread João Pedro Martins
My problem: I have 2 diferent behaviours in the page: - do a query (with several pulldowns and a text box for a textual search criterium) - subscribe a mailing list (with a text box to insert an email) each of these has its own "ok" button, with its own server-side event-handler. The text box

Re: [DOTNET] XPath without

2002-05-10 Thread Mark Fussell
Other than defining your own subset of forward-only XPath and writing your own XmlReader with XPath support the only other method is to layer the XPathNavigator API on top of the XmlReader API. However since the XPathNavigator has a full XPath engine that allows reverse-axis there will be queries

Re: [DOTNET] VB6 Function Compatibility...

2002-05-10 Thread Paul Vick
The functions in the Microsoft.VisualBasic namespace are part of the base .NET install, so in a sense they are "pure" .NET functions. There's no way not to reference the Microsoft.VisualBasic.DLL assembly in VB because the assembly is needed for language helpers as well as user functions. What yo

Re: [DOTNET] question about connection pool

2002-05-10 Thread Beauchemin, Bob
To answer your original question ;-), to use connection pooling effectively with a large number of users, you'll need to change your auditing strategy, to audit in the "application server" layer, rather than at the database layer. Some application servers (eg CICS) could restrict and audit acce

Re: [ADVANCED-DOTNET] ADO.NET and Connection Pooling

2002-05-10 Thread Beauchemin, Bob
A few answers: 1. ADO.NET connection pooling is per-appdomain rather than per-process. This especially matters in ASP.NET, in which each application is a separate appdomain. You can call a remote process that uses a connection, but can't pass Connections themself around. 2. SqlClient connecti

Re: [ADVANCED-DOTNET] CreateDomain

2002-05-10 Thread Craig Andera
> How can I create a separate AppDomain with reduced permission > to run customer code? This does it for me: using System; using System.Reflection; using System.Security; using System.Security.Policy; using System.Security.Permissions; class Class1 { static void Main(string[] args)

Re: [DOTNET] question about connection pool

2002-05-10 Thread Beauchemin, Bob
Different users in the database result in different pools. Connections cannot be reused if the connection string is not identical, this includes the security principal if integrated security is specified. Connections can also not be reused if they are currently participating in a transaction.

Re: [DOTNET] Deployment of a windows service

2002-05-10 Thread Kelly Summerlin
If you are using VS.Net it will create an installer class for your service for you. Bring up your server code so that you have the designer view, not the code view. Right click the designer window and you will see an option to Add Installer. This will create an installer class for your service. Y

[DOTNET] WSDL Consumption at Runtime

2002-05-10 Thread Tewari, Vijay
I am trying to consume WSDL from a web service at runtime and then present a box to the user with the necessary parameters for invoking the web service. Any one aware of any such work been done. Am I totally of base ? Regards Vijay You can read messages from the DOTNET archive, unsubscribe from

Re: [DOTNET] Lame compiler error of the day...

2002-05-10 Thread Marsh, Drew
Brad Wilson [mailto:[EMAIL PROTECTED]] wrote: > Compiler Error Message: CS1034: Compiler limit exceeded: Line > cannot exceed 2046 characters > > /me suggests the compiler team might consider that wacky > "dynamic buffering" thingy everybody talks about these days... You exceeded 2046 characters

Re: [DOTNET] custom URL protocol handler

2002-05-10 Thread Marsh, Drew
David B. Bitton [mailto:[EMAIL PROTECTED]] wrote: > Now, I've seen from the original postings, that I need to > implement two classes that inherit from WebRequest and > WebResponse. Where my question lies, is two fold. First, > does anyone have a sample if this being done? There are a couple o

[DOTNET] question about connection pool

2002-05-10 Thread ChongQing Xiao
Hi, In ADO.NET, the connection pool will be used if the connection string is the same. This works fine if I can map many different user to the same userID in the Database. But how it will work if I want to distinguish different user in the database (say for audit purpose)? If I map one end user

[DOTNET] Lame compiler error of the day...

2002-05-10 Thread Brad Wilson
Compiler Error Message: CS1034: Compiler limit exceeded: Line cannot exceed 2046 characters /me suggests the compiler team might consider that wacky "dynamic buffering" thingy everybody talks about these days... Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read messages

[DOTNET] ANN: Updated CollectionGen

2002-05-10 Thread Chris Sells
Joel Mueller is at it again, this time with an updated the CollectionGen [1] C# vector template that includes a bug fix, an implementation of ICloneable.Clone and a more-efficient Insert and Remove/RemoveAt methods. And, as if that weren't enough, Joel has contributed a new C# template for doing k

Re: [DOTNET] WebForms Menu Bar

2002-05-10 Thread Nischal Muthana
I found it. Here is the link to download the IE Web Controls. http://msdn.microsoft.com/downloads/default.asp? url=/downloads/samples/internet/ASP_DOT_NET_ServerControls/WebControls/defau lt.asp Thanks Nischal Thanks for the link. But somehow I dont see Microsoft.Web.UI.WebControls namespace any

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Sinnott, John
I've built a set of Query classes that allow for building a query for a particular persistent type using an OO API. As for relationships, I have a QueryFactory that produces the query necessary to resolve a relationship, but I don't automatically resolve any relationships because of the performan

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Sinnott, John
The links for Martin Fowler's and Scott Ambler's sites are good links for an overview of O/R mapping. To see real code (since I can't make mine available), check out http://objectbridge.sourceforge.net. Way back, it was this project that got me started on my O/R project by a simple port to .NET.

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Andreas Håkansson
See inline [Andreas] On Fri, 10 May 2002 11:06:17 -0400, Murphy, James <[EMAIL PROTECTED]> wrote: >The implementation is going really smoothly so far due to the CLR's metadata >facilities. I have gotten to the point when objects save and retrieve >themselves. Still plenty to go but perhaps ope

Re: [DOTNET] WebForms Menu Bar

2002-05-10 Thread Nischal Muthana
Thanks for the link. But somehow I dont see Microsoft.Web.UI.WebControls namespace anywhere. I cant even find that in the directory. Can you please let me know how I can have it in my toolbox or have a reference to the library. thanks Nischal Suggest you look at the IEWeb Controls from MS. Th

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Andreas Håkansson
Inline [Andreas] >2. Non-invasive to client classes. You don't have to derive from some >PersistentObject or implement special interfaces. Basically a >reflection >approach with help from custom attributes. > >*** B - wrong. You ARE invasive if you ask for custom attributes. >You will neve

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Murphy, James
Yes this is the basis for my current approach. GetValue/SetValue is likely not a great solution due to the degree of boxing involved. Shawn's idea of simply inheriting from DataSet is interesting. I assume that means wiring up set/get methods to access the data set itself? How about al the oth

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Sinnott, John
I also went down the route of using a descriptor class to cache all the FieldInfo instances per type. It was actually using FieldInfo.SetValue()/GetValue() that turned out to be slow for me. I agree that it definitely seems like a more elegant solution, but in my particular case it was not. ---

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Shawn Wildermuth
On another note, as soon as I finishing shipping my manuscript to the publisher, I am going to get back to work on my DBFormatter that would allow you to serialize directly to a database. It is not as easy as I first thought, but I think it will worked. This was my preferred methodology, but on

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Dave Livingston
Sorry for the OT posting but are there any .Net User Groups in the Milwaukee/Wisconsin area? Dave Walter Crosby <[EMAIL PROTECTED]> Sent by: dotnet discussion <[EMAIL PROTECTED]> 05/10/02 10:27 AM Please respond to dotnet discussion To: [EMAIL PROTECTED] cc: Subj

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Murphy, James
The goal is to have all the specificity you want without being invasive. The persistent metadata for the class is orthogonal to the class design. You can definitely get yourself into trouble if you do too much heavy lifting with reflection APIs but I think this can be done once per class type and

[DOTNET] C# Community Site Newsletter

2002-05-10 Thread Eric Gunnerson
As many of you already know, the Visual C# team now hosts a website at http://www.gotdotnet.com/team/csharp. Since I know you're all busy, I've set up a newsletter that tells you what's new on the site. If you sign up for it, you'll find out: * When new content is up on the GDN site * When we hav

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Sinnott, John
Not to say that your experience (or code) couldn't be better than mine, but I found in writing my own O/R mapper for .NET that reflection seemed fast enough when benchmarking a single thread, but when testing against a concurrent system, it became very slow. I switched instead to defining a persi

[DOTNET] ActiveSync for Smart Devices

2002-05-10 Thread Mark Howells
Does anyone know how I create an ActiveSync interface using VS.NET? Specifically for PocketPC devices. The only docs I can find relate to CE2.1 and have not been updated by the addition of the Smart Device Extensions Beta (April 2002). I guess I still need to implement the 'IReplStore' interface

Re: [DOTNET] StringBuilder Overhead

2002-05-10 Thread Jim Arnold
Fair enough, but take a look at the IL - there are no internalcalls for set_Length so it's pretty transparent. I've also done a rough test and Length = 0 appears to be significantly faster than calling Remove, so even if it does create a new buffer (which I really don't think it does), it's still

[DOTNET] SafeArrayTypeMismatchException

2002-05-10 Thread Howard Bartfield
I'm early binding to a COM component, calling a method with the following IDL: HRESULT MethodName( [in] BSTR Parameter1, [in] BSTR Parameter2, [out, retval] VARIANT* ReturnParameter); When I call this I get the following exception message: "An unh

[DOTNET] Client side HTML rendering

2002-05-10 Thread Tewari, Vijay
I have a WinForms app in which I need to render some HTML. The HTML is actually returned from a call to a web service so its not a navigation to a URL. What is the best way to do this? One way I would assume is to embed the IE object and then use that, but I was not sure how to actually use that

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Walter Crosby
Bob Familiar of Microsoft just gave a great presentation to the Boston .NET User's Group on Wednesday night. They say they are going to post the Powerpoint presentation. See http://www.bostondot.net. Walt Crosby Terabase Corporation -Original Message- From: Rolls, Robert [mailto:[EMA

Re: [DOTNET] CodeDom: How to generate inheritance code?

2002-05-10 Thread Rama Krishna
CodeTypeDeclaration has BaseTypes property you need to use that to add all the base types. -Original Message- From: Paresh [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: [DOTNET] CodeDom: How to generate inheritance code? My goal is to gen

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Jim Arnold
I've spent the last 9 months or so making (or attempting to make) a persistence tier - along the lines of a PersistentObject inheritance pattern, so I might have something to add. .Net desperately needs a proper O/R mapping tool or object database, and a community project would be a great idea.

Re: [DOTNET] Import?

2002-05-10 Thread Andersson, Kjell-Ake
Maybe you should add a reference to the System.Drawing.dll. :-) When you create a new windows application in VS.NET you get this reference by default. Regards Kjell-Åke Andersson Scala Business Solutions -Original Message- From: Clinton Hess [mailto:[EMAIL PROTECTED]] Sent: den 10 maj 2

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Murphy, James
> I've been working on this very thing for a few days. I'm > starting with > > *** Not enough time :-) Tell me about that! > 2. Non-invasive to client classes. You don't have to derive > from some > PersistentObject or implement special interfaces. Basically a > reflection > approach with he

[DOTNET] CodeDom: How to generate inheritance code?

2002-05-10 Thread Paresh
My goal is to generate something like class Employee : Person, ICustomInterface { ... } So far I get the class from CSharpCodeProvider CodeProvider = new CSharpCodeProvider(); ICodeGenerator Generator = CodeProvider.CreateGenerator(); CodeNameSpace Namespace = new CodeNamespace("TestName

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Thomas Tomiczek
Inline with *** Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Murphy, James [mailto:[EMAIL PROTECTED]] Sent: Freitag, 10. Mai 2002 17:06 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] OT: Relational to Object mapping. Ha - what a coincide

Re: [ADVANCED-DOTNET] IPicture to .NET Image

2002-05-10 Thread Alex Yakhnin
Hi Ian, Thank you very much for your help with this problem. I did what you suggested and found out that I am getting a 'legacy' metafile. I've been able to convert it enhanced metafile, but Metafile object doesn't want to accept it anyway, so I ended up with saving the metafile on the disk using

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Murphy, James
Ha - what a coincidence :) I've been working on this very thing for a few days. I'm starting with Scott Ambler's [1] very helpful whitepapers on Object - Relational mapping and mixing in dated but effective techniques from other techniques I've seen: My design goals are something like this: 1.

Re: [DOTNET] custom URL protocol handler

2002-05-10 Thread Richard Birkby
I asked a Microsoft PM about this with regard to the XSLT document() function and using it to access a database. He said it could be done purely in managed code (no PInvoke). I never tried it though. Richard > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Beh

Re: [DOTNET] StringBuilder Overhead

2002-05-10 Thread Jim Graf
Richter page 275: // Clear the StringBuilder (allocates a new Char array). sb.Length = 0; Huh? Jim >>> [EMAIL PROTECTED] 05/09/02 11:32AM >>> I'll probably get into trouble here, but if Richter said that, I think he was mistaken. Setting Length = 0 is special-cased. It sets the

Re: [DOTNET] Import?

2002-05-10 Thread Ian Griffiths
Go to the Project Explorer and expand the References section of your project. Is System.Drawing in there? (It will be for a Windows Forms app, but not most other kinds of apps.) If not, right click on References, select Add Reference..., and go and add System.Drawing. If you read the compiler

Re: [DOTNET] custom URL protocol handler

2002-05-10 Thread Thomas Tomiczek
Dear "Original" :-) GOD WERE WE WRONG :-) Here is what I would do: (a) encode an ASPX or ASMX page in the url. (b) read out the other parameters from the URL. Now, this does not have to look like a parameter. It is valid to have something like this: /imageserver.aspx/22333.gif It is a bit

Re: [ADVANCED-DOTNET] ADO.NET and Connection Pooling

2002-05-10 Thread Craig Andera
> 1. ADO.NET connection pooling is tied to a specific process. > Thus, if you want to share a connection over multiple > clients, you need to host your database component in an > ASP.NET application or through .NET Remoting (and pay the > price of the extra network call), right? Yes. This is, in

Re: [ADVANCED-DOTNET] TansparentKey and 32bpp Colors

2002-05-10 Thread Lidor Wyssocky
Hi Mark, and thanks for the information. Could you please refer me to the material about the solution you suggested? This will help me alot. Regarding Brad's answer, how can I specify colors in a more accurate manner than RBG? Thanks, Lidor You can read messages f

Re: [DOTNET] Loading forms

2002-05-10 Thread franklin gray
I don't think it really matters. I have done both. The docs I have read said to put all Load of controls in the OnLoad. The New sub of course gets called first, but if you show the form right after you create it, then the OnLoad event is next, so it shouldn't be any faster. -Original Me

Re: [DOTNET] Loading forms

2002-05-10 Thread franklin gray
TrueI was thinking that was implied, but not a good thought because when I started doing threads I didn't know this either :) -Original Message- From: Ian Griffiths [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 6:08 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Loading forms

Re: [DOTNET] VB6 Function Compatibility...

2002-05-10 Thread franklin gray
on my VB list, they have found a problem with the string.split method and it seems that the Split function from vb 6 is better. IEwhen dealing with a multiChar delimiter to split on. -Original Message- From: Yogesh Shetty [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 7:30 A

[DOTNET] Import?

2002-05-10 Thread Clinton Hess
I am trying to implement some bitmap functionality within a class. I seemingly cannot import System.Drawing.Imaging from within a class project. I can import this namespace when I am within a Windows Application project, but a class and console project seemingly don’t know about this namespace.

[ADVANCED-DOTNET] ADO.NET and Connection Pooling

2002-05-10 Thread Matthew
I've been thinking about connection pooling with the SQL Server managed provider, and have a few thoughts/questions: 1. ADO.NET connection pooling is tied to a specific process. Thus, if you want to share a connection over multiple clients, you need to host your database component in an ASP.NET a

Re: [DOTNET] custom URL protocol handler

2002-05-10 Thread David B. Bitton
As the "original poster", or as I like to call myself, Dave, perhaps a clarification is necessary. The idea came from a concept that was brought by the Apache FOP development mailing list. FOP is a Java package for rendering XSL-FO into formats such as PDF. The code allows for the XSL-FO to ref

Re: [DOTNET] Serial comms with C# in .NET

2002-05-10 Thread Justin Harrell
Have posted my JustinIO.cs at http://www.gotdotnet.com , it is a very simple wrapper around the win32 blocking file I/O for using the comm ports, I wrote it back in PDC Release days. I have seen it modified to use parallel ports as well. It should get you started, although most of the inquiries I

Re: [DOTNET] Generic Principals/Identities - Any Limitations?

2002-05-10 Thread Ingo Rammer
Hi Matthew, > I'm looking at introducing a Generic Authentication scheme > rather than using Windows Authentication for code access security. > > The application will be a mix of ASP.net and remotely > deployed Winforms front ends. > > I am confused about what this will mean. > > 1) Will the Gene

Re: [DOTNET] Generic Principals/Identities - Any Limitations?

2002-05-10 Thread Thomas Tomiczek
Inline with *** Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Matthew Hunter [mailto:[EMAIL PROTECTED]] Sent: Freitag, 10. Mai 2002 13:37 To: [EMAIL PROTECTED] Subject: [DOTNET] Generic Principals/Identities - Any Limitations? Oh boy,

[DOTNET] AW: [DOTNET] VB6 Function Compatibility...

2002-05-10 Thread Urs Eichmann
To answer your question: No, there is no such switch. I guess you could remove the reference to the Microsoft.VisualBasic.dll assembly, but I doubt if VB.NET would even work without it. But if you want, you could give it a try. However, I never understand people who want to use VB.NET but refuse

Re: [DOTNET] VB6 Function Compatibility...

2002-05-10 Thread Chris Anderson
> VB.NET still supports some of the VB6 functions due to this > there are some lazy programmers who are still using the VB6 > function in VB.NET eg: Mid, Left, Right... when there is > already equivalent function available in .NET > > are there any VB compiler level switch / or any other > solutio

[DOTNET] VB6 Function Compatibility...

2002-05-10 Thread Yogesh Shetty
Hi, VB.NET still supports some of the VB6 functions due to this there are some lazy programmers who are still using the VB6 function in VB.NET eg: Mid, Left, Right... when there is already equivalent function available in .NET are there any VB compiler level switch / or any other solution whic

[DOTNET] Generic Principals/Identities - Any Limitations?

2002-05-10 Thread Matthew Hunter
Oh boy, I'm looking at introducing a Generic Authentication scheme rather than using Windows Authentication for code access security. The application will be a mix of ASP.net and remotely deployed Winforms front ends. I am confused about what this will mean. 1) Will the Generic Prinicipal a

Re: [DOTNET] Deployment of a windows service

2002-05-10 Thread Blain Timberlake
Yes, I had. I was just kind of curious what the new package and deployment was capable of. .Net is still like a new toy for me. I want to try all the levers and buttons. :) =Blain -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Thomas Tomiczek Sent:

Re: [DOTNET] WinForms Data Binding

2002-05-10 Thread Ian Griffiths
> Also any reason you bound to the Dataset rather than the table ? Habit. :-) -- Ian Griffiths DevelopMentor - Original Message - From: "Ben Kloosterman" <[EMAIL PROTECTED]> > I was sort of hoping to do it without using the changed events - I avoid > events unless they are

  1   2   >