Answer Questions
swa68 Activator.GetObject and client-activated object mutually exclusive?
Hi all, From reading the documentation and articles, it appears that when the remotable type is configured as a client-activated type, Activator.GetObject cannot be used. I tried creating an instance of a client-activated remote object using Activator.GetObject. I started from a working implementation of a Singleton to a client-activated type. I can get a proxy, but every call to a method on the proxy results in a "Requested Service not found" e ...Show All
Khammonh x64 COM registering error
Hi! I've a trouble with registering COM library build for x64 - R6034 error. x86 version havn't this trouble... Why Is this COM library managed or unmanaged There are two versions of regsrv32 - the 64-bit one in system32, and the 32-bit one in SysWOW64 did you try both ...Show All
rkdayan How to maintain the states of processes started by a web service?
Hi, there, I already have one component, A.exe. I need to start and stop A.exe through web service. I am creating a C# project to do this job: 1. when a START request coming, start A.exe from C# 2. when a STOP request coming, stop A.exe from C# The problem is, there are different requests from different users. How can I manage the states of each user, so that User1 won't stop User2's running of A.exe Should I mai ...Show All
Hiran Das DataSet to new Access Database?
I have an MSSQL stored procedure that returns multiple resultsets. I can easily turn this into a strongly typed dataset in VS.NET 2005. My boss wants me to save these data as an Access database. Is there an easy way to create a .mdb file from a DataSet I know I can save the DataSet as XML, but that is too large. I guess I don't know that an Access DB is any more efficient. Is there a more efficient way than saving the DataSet as an Access databa ...Show All
cpeterka How to read usb port ?
hi all, Any one tell me that how to read the usb port pls.... hello dear, this code is only for vs2005 and i am using vs2003 so any code for vs2003 http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx ...Show All
Soon Lee .net remote applications
Can we come to know which all .net applications are running on a remote machine If so how do we understand about the same Please help.... Hi Priyanka, if you're looking to print out the list of managed processes on a machine, use the following code (from KCwalina's blog ) using System.Diagnostics; using System; class Program { static void Test() { PerformanceCounterCategor ...Show All
Adameis Sign a XML file by SmartCard on the .NET
Sign a XML file by SmartCard on the .NET I'm having problems to access the private key of the certificate stored on the chip card. If i access the private key of a certificate with private key stored on the machine certificate store it works well.....but in the case of the chip card, when i read the X509Certificate2.PrivateKey property, i receive a System.Security.Cryptography.CryptographicException: There are more data available. If so ...Show All
GGardiner HOW TO ADD '&' in XML text...
i want to create a XML tag like <info>a & b</info> but XML doesnt allow this ....SO if any1 knows plz reply.... Thankxx... Use & instead. For further information, search google for predefined XML entities. ...Show All
XOR42 XMLDocument, Dataset, DataGrid and a hyphen
Hello everyone. I have a quick question. I am working with an XML document that I want to put into a DataGrid. I have successfully managed to do this by: myDataSet = New Data.DataSet() myDataSet.ReadXml( New StringReader(xmlDoc.InnerXml)) I know I probably could do it with an XmlDataDocument, but it wasn't working for me, as this XML is generated on the fly. Now, when I go to put the dataset into a datagrid, all the data comes ou ...Show All
Alexey Logachyov jpg file information
Hi, Using C#, I'm trying to get some information about a .jpg file (it's a photo): for example I'd like to get the date and time when the photo was taken. ....It's easy to get information like file creation date (by means of File.GetCreationTime() ) but I can't retrieve information about the photo. can you help me how can I use it with a jpg file how can I retrieve the date when the photo was s ...Show All
shommel XSLT 2.0 and XPATH 2.0 support?
After much hunting I get the general impression that .NET 2.0 does not support XSLT 2.0 or XPath 2.0. But that version 1.0 is supported for XSLT/XPath and that XML processing performance has been significantly enhanced over .NET 1.0. Can someone please confirm these (The immediate implications of this concerns what XSLT reference book to buy.) thanks, david Your observations are correct. ...Show All
Ridha Karzohn How do I temporary override .NET system security configuration?
I have an application installed on my local disk. This application runs with FullTrust privileges. I'm trying to load an assembly giving it FullTrust (same privileges of the loader assembly). My assembly to load is located on a network share. I'm actually using this code but I get a security exception: An exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll and wasn't handled in the appdomain it was thrown from Additional ...Show All
Dave Moran How to make my VB.NET application as a software???
Hai, How can i make my VB.NET application as a software i have downloaded a 22.4MB( ) .net framework and installed it in a system.-Then i loaded my vb.net application in it-the application can be opened but i can't able to run it. I think i need to do something to make my project as a software. plz tell me how to do it. Is there any other place in this forum which is more suitable for this post Thank You! ...Show All
Leo Pedersen Oracle 8.0.6 connection in VS 2005
For my projects in Visual Studio 2003 in my connection strings I would use the MSDAORA (MS OLE DB Provider for Oracle) provider and it worked fine. Now with Vis Studio 2005 that provider connection type no longer works correctly. I can't seem to find a provider that works correctly with a Oracle 8.0.6 client. Does anyone know the correct provider I need or the drivers that I need. I have tried ODBC and OLEDB but nothing is working properly. ...Show All
shakeel1975 Custom Section in .Net 2.0
Hi, I am trying to do add a custom section in the config file similar to this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=66506&SiteID=1 . I am able to get it to work and I am also able to add a custom section element programmatically . This is what my custom section looks like after I add a element to the config file programmatically : < configSections > < section name = " settings " type = " WindowsA ...Show All
