[ADVANCED-DOTNET] How to update displayed content of TEXTAREA with multiline text

2004-09-28 Thread Krzysztof Fink-Finowicki
I have problem with TEXTAREA HTML tags in my Web application (MS IE 6.0). User fills-in content of TEXTAREA on HTML dialog window. After accepting, content of TEXTAREA from dialog window is copied to TEXTAREA on main HTML window: wndTxtArea.value = dlgTxtArea.value; Then user may take the text

[ADVANCED-DOTNET] +how marshal BSTR+

2004-09-28 Thread Luis Abreu
Hello. I've also posted this on the OT list, but since I didn't get an answer, I though I'd give it a try here. I'm building a component which is going to be consumed as an ActiveX control. Since VB6 uses the interface ICategorizeProperties to get the correct category for a property, I thought

Re: [ADVANCED-DOTNET] +how marshal BSTR+

2004-09-28 Thread Mattias Sjögren
Luis, uint GetCategoryName ( int PROPCAT, uint lcid, out string pbstrName ) This is only correct if you have the PreserveSig attribute on the method declaration. Without it, the signature should be void GetCategoryName(int Ppropcat, uint lcid, out string pbstrName) or string

Re: [ADVANCED-DOTNET] +how marshal BSTR+

2004-09-28 Thread Luis Abreu
Hello Mattias. the class inherits from an interface where the method is defined. In this definition the method is anotated with the PreserveSig attribute. Should't this be enough? btw, another question: shouldn't the siganture: string GetCategoryName(int propcat, uint lcid ) only be used if

Re: [ADVANCED-DOTNET] Serviced components hosting options Win2003

2004-09-28 Thread Wallace B. McClure
I believe what you are looking for is Services without C Bill, I believe what you are looking for is Services without Components. There are a number of articles on it that I found at google. http://www.google.com/search?hl=enlr=ie=UTF-8q=services+without+components+com%2BbtnG=Search I have

Re: [ADVANCED-DOTNET] Get document out of sql database

2004-09-28 Thread Ushanta Mooloo
Apologies. I am need to create a web-app which the administrator must use to update,view and store word documents in a sql database. Say the administrator clicks a link to view the Internet Usage Policy. At Page_load this policy will appear in a textarea; the administrator will then edit and

Re: [ADVANCED-DOTNET] Get document out of sql database

2004-09-28 Thread Thomas Tomiczek
Ah, now we get somewhere. Say the administrator clicks a link to view the Internet Usage Policy. At Page_load this policy will appear in a textarea; the administrator will then edit and click the save button. At which point the edited policy will be saved to the database. How exactly do

Re: [ADVANCED-DOTNET] Serviced components hosting options Win2003

2004-09-28 Thread Bill Bassler
Your post appears to be unreadable. Would it be possible for you to try again? === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30

Re: [ADVANCED-DOTNET] Serviced components hosting options Win2003

2004-09-28 Thread Bill Bassler
If the following url is correct: http://msdn.microsoft.com/library/default.asp?url=/library/en- us/cossdk/htm/pgservices_serviceswithoutcomponents_5axz.asp This functionality appears to be C/C++ specific? While I'm sure this functionality can be accessed from .Net is this a good idea?

Re: [ADVANCED-DOTNET] Serviced components hosting options Win2003

2004-09-28 Thread Wallace B. McClure
Your email is bouncing back when I attempt to email you Bill, Your email is bouncing back when I attempt to email you directly. If you google for services without components com+, I believe that you will find what you are looking for. I haven't used it personally, but I do believe that is

Re: [ADVANCED-DOTNET] Get document out of sql database

2004-09-28 Thread Jeff Ferguson
I am need to create a web-app which the administrator must use to update,view and store word documents in a sql database. Say the administrator clicks a link to view the Internet Usage Policy. At Page_load this policy will appear in a textarea; A Word document has formatting information

Re: [ADVANCED-DOTNET] Get document out of sql database

2004-09-28 Thread Jeff Ferguson
It's not what I want, it's what my boss wants. I would like to preserve the font, formatting, graphics in the document. OK, so a textarea is out. Using a textarea will cause you to lose all of the formatting in the Word document. A textarea will preserve only the text. What is Windows

Re: [ADVANCED-DOTNET] Serviced components hosting options Win2003

2004-09-28 Thread Adam Sills
You should be able to do a regasm Yourdll.dll /codebase followed by regsvcs. The first will register your object with COM and setting its codebase so it can be privately deployed, and the second obviously installed a COM+ application for your component. Adam.. -Original Message- From:

[ADVANCED-DOTNET] windows forms data bind to complex property

2004-09-28 Thread Luis Abreu
Hello. ok, suppose you have class A, which has a property named classb of type ClassB. ClassB also has a property named T. class A { public ClassB classB {...} } class B { public string T; } Now let's suppose that I have an array or a collection of elements of type A. Is there a way for

Re: [ADVANCED-DOTNET] windows forms data bind to complex property

2004-09-28 Thread Marsh, Drew
Luis Abreu wrote: Hello. ok, suppose you have class A, which has a property named classb of type ClassB. ClassB also has a property named T. class A { public ClassB classB {...} } class B { public string T; } Now let's suppose that I have an array or a collection of