microsoft.public.dotnet.framework.component_services Archive - February 2004
Post a message to this list
Messages
Page: 12
Calendar control in .NET (2 replies)
microsoft.public.dotnet.framework.component_services
Hi all I require a calendar control in .NET in Japanese. But how do I convert this into the year convention followed in Japan, as I understand that it is different from ours?? Please help me here. Thanks a lot!!
Question: Com+ & Thread unsafe dll (2 replies)
microsoft.public.dotnet.framework.component_services
Hello all, I've written a c# wrapper (Com class library) over a old legacy c dll. the Dll is a thread unsafe dll (it is using global variables) and was supplied to me by a third party company(the code is not available to me). Is there a way to adjust com so every instance will be in a diffrent process (not thread,process) so the unsafe code will be process isolated ? I've heard of application pool...
VB.NEt and FileSystemWatcher question ? (4 replies)
microsoft.public.dotnet.framework.component_services
Hi, I created a Windows Service using VB.NET under LocalSystem account. In this service, I'm using the FileSystemWatcher component to keep track of files in a mapped directory. I'm mapping this directory from another computer (Server A), but I keep getting an error saying that the FileSystemWatcher can't recognize or can't open this directory . Anyone has any ideas what's going on ? Thanks, Hang
maxpoolsize, minpoolsize from config file (2 replies, VIP)
microsoft.public.dotnet.framework.component_services
hi, I have ClassA:ServicedComponent. How do i read the maxpoolsize, minpoolsize parameters from a config file? All across the web , I get articles which say that this can be achieved by 'hard coding' them into the 'ObjectPoolingAttribute' at the beginning of the class.. THanks sriram
COM+ Win2k Registration Error (5 replies)
microsoft.public.dotnet.framework.component_services
Hi, I have created a simple COM application on XP box and compiled the component with a strong name and with"Register for COM interop" enabled. The component is then registered on COM and I have created an .msi file by doing an export in COM with the following properties: 1. Server application 2. Save application in COM 1.0 format. When I try to run this .msi file on Win2k server( sp4) as an Admin...
COM+ application icons (2 replies, VIP)
microsoft.public.dotnet.framework.component_services
Hi. I think I have a very basic question. I tried the COM help but could not find information about the meaning of the different icons COM applications can have. Where can I find something about it? Thanks, Robert Scheer
Definitative rule for calling Dispose on ServicedComponents (4 replies, VIP)
microsoft.public.dotnet.framework.component_services
Should ya or shouldn't ya????
ServicedComponent Experts... (2 replies)
microsoft.public.dotnet.framework.component_services
Let's say I'm using the following pattern for my ServicedComponents No object pooling and JITA turned on If I use the following patterns do I need to call Dispose? Transactional components always calls SetComplete or SetAbort Non transactional components Always calls DeactiveOnReturn
info reqd: referencing/using object from AppDomin of an other process (3 replies, VIP)
microsoft.public.dotnet.framework.component_services
hi, if dotnet exe applications A, B and C are running as separate process each (separate exe process in windows), i want to reference/use an object from application A's appdomin in application B and C. can anyone help in the above scenario? is it possible in dotnet? TIA qpro
Regsvcs generates tlb file (2 replies)
microsoft.public.dotnet.framework.component_services
Hi. When I run regsvcs to register my component it generates a tlb file. What is the purpose of this file? Can it be deleted? TIA, Erik Cruz
Calling BinaryFormatter:Deserialize(Stream); Asynchronously (2 replies)
microsoft.public.dotnet.framework.component_services
hi all SORRY FOR CROSSPOSTING: i did not know which group deals with this question! Question: i am looking to call the following function, ASYNCHRONOUSLY: Packet p (Packet)this. BinaryFormatter.Deserialize(this. Stream); Can it be done? assaf
You made a method call on a COM+ component that has a transaction that ... (12 replies, VIP)
microsoft.public.dotnet.framework.component_services
this happens when serviced component A calls into serviced component B if 1) both A & B are set to transactin required 2) A & B reside in two different machines I logged that the call to constructor A takes place and to constructor B takeplace as well .. and activate take place as well .. but I never get into the method call I place from a client to A .. any idea ? patch ? whatever ? thanks sabbad...
Transactional Serviced Component hangs (4 replies, VIP)
microsoft.public.dotnet.framework.component_services
When I call a transactional ServicedComponent (Transaction: required) let s call it CompA from a non transactional ServicedComponent (Transaction: Not Supported) let s call it CompB , the tx. component does everything, and it seems as if it had just finished (the counters on the COM console return to 0), but the transaction hangs. The method uses AutoComplete , and I ve tried with explicit Context...
Transaction HANGS on this scenario (4 replies, VIP)
microsoft.public.dotnet.framework.component_services
I've just managed to reproduce a specific scenario that was causing me some serious trouble. Though, I haven't found the explanation nor the cure for it. I have ClassA, ClassB, ClassC and ClassD. ClassA is in COM application 'Test App 1', and the transaction attribute is 'Supported', methodW: string ClassB is in COM application 'Test App 2', and the transaction attribute is 'Required', methodX: st...
Datatable sorting ? (2 replies)
microsoft.public.dotnet.framework.component_services
Hi, How could i sort a datatable in web service side. I tried following but didn't work. dataset1.datatable1.defaultView.Sort() "column name"
status of my COM (4 replies)
microsoft.public.dotnet.framework.component_services
Hello i have a COM that is called inside an ASP page i DON'T SEE nothing in the Component Services console under "View Status": there are not statistic values my COM just make a connection and then a recordset, there is no transaction in the COM, its simple... should i see in the ComSvc Console ??? where, if not? thanks atte, HernĂ¡n Castelo UTN Buenos Aires .. . . . . . . . . . . . . . . . . . . ....
Component services error (5 replies, VIP)
microsoft.public.dotnet.framework.component_services
Hello I'm running Win Xp Pro SP1, IIS 5.1 Every asp or aspx page returns "Server Application Error". and I can't open Component services from administrative tools. The error message is "DTC was installed by the SQL server. Please Reinstall!" I had SQL server 6.5 installed on my computer. Errors form Application log: Event Type: Error Event Source: MSDTC Client Event Category: MSDTC Proxy Event ID:...
3rd Party Components (2 replies)
microsoft.public.dotnet.framework.component_services
Hi Anyone know a good source for 3rd party .net components. Specifically I'm looking for a library that converts word documents to PDF. Thanks for your help Good luck
COM+ using Component Designer? (2 replies, VIP)
microsoft.public.dotnet.framework.component_services
Hi all! I've been playing a bit with Component Designer in Visual Studio.NET. Seems to me like a great way to build simple data access components using "point and click". However I can't figure out how to make a component made this way into a component with transactional support which can be put into COM . The class which is Component Designer ends up with inhertits from System.ComponentMode.Compo...
How to perform distributed transaction for two classes? (3 replies)
microsoft.public.dotnet.framework.component_services
Given two transactional .NET Classes inherited from ServicedComponent: Class A Function A1 connects to database A delete table A11 update table A12 Function A2 ...... Class B Function B1 connects to database B insert in table B1 update in table B2 Function B2 I need to call ClassA.Function A1 and ClassB.Function B1 within a distributed transaction because of a new requirement. How can I perform di...
COM dll in VB6 (2 replies, VIP)
microsoft.public.dotnet.framework.component_services
I want to use a dotnet dll in VB6 . This gives error.Page fault in VBA6.dll, and says that the it has performed an illegal operation. How can I fix this??
Unable to shut down machine when a .net application is running (2 replies)
microsoft.public.dotnet.framework.component_services
Hi all, I have a application developed in C# .net. The problem I face is I am unable to shutdown my machine when the exe is running. Windows is unable to close this exe an shut down. Can anyone help. Regards, Kuldeep Pawar Programmer, Maximize Learning, Pune. www.maximizelearning.com
Return array from C# COM to VBScript (2 replies)
microsoft.public.dotnet.framework.component_services
I'm trying to write a COM component in C# that is then accessed by VBScript. Furthermore, I would like a method of this COM object to return an array of Int32s. I've gotten everything working, except that the items in the array are unusable. If I call IsArray on the return value, it returns True. But no matter what I try to do to array(0) it says "Type Mismatch". This happens if I call CInt or CSt...
Config (2 replies)
microsoft.public.dotnet.framework.component_services
Is it possible for classes to have a config file like app.config ? I require something like this to store a value that is used in many of my classes but that value changes from development to live. Obviously when deploying to live i do not want to go through all my classes changing this value and then having to recompile. Cheers Dave C.
Error Handling C# (4 replies)
microsoft.public.dotnet.framework.component_services
What is the best way to bubble errors up from a component/class to the client application ? I cannot seem to find a 'raise' event as in VB. I am looking for something like the following: try { // Do Database Connectivity Here } catch (SqlException ex) { // Raise the error number and message here } What I want is for the error info to be bubbled up to the client. Do I just leave off the Catch ? or ...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification