Answer Questions
Inquirer I want to confirm this about AppDomains.
Hi, In my application I create a secondary AppDomain and load assembly "Foobar". Shortly after, I call: foreach( Assembly a in AppDomain.CurrentDomain.GetAssemblies( ) ) { Trace.WriteLine(a.FullName); } And wouldn't you know it, the "Foobar" assembly appears in the *current* app domain. I didn't think this assembly would be present because it should be in the secondary app domain. If you hold the mouse over CurrentDomain, t ...Show All
gjw31 The GC is not Disposing the object.
I am writing an applicatio to dispose off the object of the class with the help of text shown in RED COLOR but i receive the message "C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\ConsoleApplication6\CH2_08.cs(34): Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available." Plez show m ...Show All
Dewang Ajmera Windows App Not working over Network
I've got a windows app that connects to a DB and copies a few files from a network share to the local PC. The app is ran on the network share because everybody in our company uses it and when modifications are made, we don't want to have to redistribute 50 or so copies of the .exe. Every time I run the program from the network, I get a standard Windows error and Microsoft wants me to send them the information, it doesn't get too involved oth ...Show All
Rajashekar My programs won't start up on Win98 or Win2000
I've been struggling hard with this for about a month. I have a program written in C# .Net 1.1, that has about 170,000 lines of code and is in daily use by thousands of users. Any version that I released after about 9/1/05 simply fails to start up at all on Win98 or Win2000. "An unhandled exception has occurred", followed by thread id, but absolutely none of the usual details. Keep in mind that it continues to ...Show All
sqlizer 404 Not Found in HTTPWebRequest.GetResponse and HTTPListenerExceptions???Someone help please
Hi, I am getting lots of 404 Not Found when i request for a URL through HTTPWebRequest.GetResponse() method. What possible reasons can be there and how to correct them. Dim Wresponse As HttpWebResponse = CType (Wrequest.GetResponse(), HttpWebResponse) Also I am getting the following HTTPListenerExceptions when I try to write data to the HTTPListenerResponse Object through a buffer. i). System.Net.HttpListenerException: An oper ...Show All
Selvatik .Net 2.0, SQL Server 2005 and VS.Net 2005
Where can I find more complete materials about .Net 2.0, SQL Server 2005 and VS.net 2005 I need to start studying for certification. Bookstores (Amazon, B&N, Borders, etc) are starting to stock many .NET 2.0 books. If you try one the Visual Studio Express betas, you'll receive commercial e-Books for free within 10 days of registration (see http://lab.msdn.microsoft.com/express/register/ ) Microsoft E-Learning is offering ...Show All
LuZ Datatable through Web Service using .Net Framework 2.0
How can i pass datatable through Web Service using .Net Framework 2.0 I can pass dataset but not datatable. Best regards Seba. Hi, DataTable as a Stand-Alone Object Many methods that were only available in the DataSet in previous versions are now available in the DataTable as well (such as ReadXml and WriteXml). Also, a DataTable can be serialized by itself, so it’s no longer necessary to have a Data ...Show All
TheLe Checking if I'm online
Hello there! This is my 1st post here and I'd like to greet all people here and ones that are yet to come! I hope we will cooperate just fine. For start, I have a question: I'm making a project with Visual Studio .NET. It is a counter that counts time spent online. (most people in Croatia still use dial-up networking, including me) I'm doing the code in C++. I was wondering how can I check if I have connected to Internet. Another think (I thi ...Show All
mischa123 Interop Error "Specified cast is not valid"
Hello: I just want to get some help from the MVP's here to clarify my perception is correct for this problem. I am loading two c# addins on a COM server. Both the addins are using two different PIA's (different version) of the com application s. Now when the application starts, and it start to load addin1, addin1 creates a command or rather in straight words adds another object ...Show All
Jayashree Easy GAC question
When i register a .NET component in the GAC, is a copy of the DLL placed in a "special place" (e.g., c:\windows\assembly) or does it work the same way as COM components and the Registry I'm wondering if I move/delete a DLL, will the GAC entry be invalid. thx in advance. todd Since a copy of the assembly is placed in the GAC, deleting the assembly should not have any impact on the assembly i ...Show All
dundask Retain the State of Page if Session Expires
Hiii, I am developing web application in .NET. If some how while filling any page the users session expires i am redirecting him to the login page..but that means he has to fill the complete details again for that particular page. I want when he clicks on Submit button of that page I will check the particular condition in header and if Session expires-a login page pop up should come where i will again ask for user name and password. Aft ...Show All
jeroen_nl Web service client (VB.Net): debug build works, release build doesn't
I'm writing a VB.Net client application that communicates with web services running on Apache Axis 1.3 and Apache Tomcat 5.5.16. I'm using Visual Basic 2005 Express Edition. Everything was working fine until I tried running the release build instead of the debug build. It gets to one of the web service calls and reports an exception: System.InvalidOperationException: There is an error in XML document (1, 368). ---> System.ArgumentExcep ...Show All
Nickie Error when finishing Deployment Package Wizard
Hi, Every time I try to make a security deployment package an error occurs. I was not the only one but I didn't found any solution for this problem. Maybe now there is one. I have .Net Framework 2.0 B2 installed. WinXP SP2. User is Administrator. I start the mscorcfg.msc tool , do all the wizard steps and in the end ERROR. If there isn't a solution for that, are there at least any other possibilities to grant full trust to an assemblie. Than ...Show All
Walter Sobchak Multiple Project Solution
I would like to take multiple Projects developed by Different members of my team and combine them into one solution. I would also like to use One form to access the different parts of the system. For Example.... Use frmMain located in MainRun Project to bring up frmCatalog located in Catalog Project. Both Projects are members of the same soultion and both Projects were written in VB.NET. How would I code a Button_Click event to bring up frmCat ...Show All
angka BUG REPORT: System.EnterpriseServices.Internal.Publish / .NET 2.0 / Windows 98
Bug Report: On a Windows 98 system where ONLY .NET Framework 2.0 is installed (no prev. version) the method GacInstall() of class System.EnterpriseServices.Internal.Publish fails (An exception is thrown). Same code works on Win 2000/XP also on Windows 98 if .NET 1.1 is installed. Since Net 1.0, System.EnterpriseServices namespace does not support platforms below Win2k. Functions in this ...Show All
