Answer Questions
Darren Kennedy Please i really need help In C# network
Can some one has a little time to explain to me I have 2 computers in network i want to make a program in c# to shut down a computer in local area network I want to create a server side program and a client the server sends a command to the client application and the client executes, but i dony know anything about network in c#, can anyone explain how should i make the client listen to a port for command and how should the server send the ...Show All
Mike Williams28205 Access to a .dll class library
hi, i have developed a .dll class library, and i have oc4j server. All the things look righit, but when i try to invoke my .html file, which contains the object for the .dll, appears on the screen the simbol of something that is not being loaded. may be is for security reasons thank you in advance hi, Please repost your question with more details. Regards, Nasha ...Show All
Art Walker How can I draw a circle with radius and area writen on?
I have made an calculator that calculates the area of an circle when a user input the radius. So i wounder how i can (using C#) draw the circle with the measure on. Sorry if it is bad english. Thanks to those who wanna help! http://www.publicjoe.f9.co.uk/csharp/csharp25.html This links also contains information from the MSDN Websites Hope this might help Thanks do you have any good tu ...Show All
Zero_ Reflection
Hi, Can someone provice me a code snippet on the following: Using Reflection to instantiate an object with a constructor taking one or more parameters Thanks I would rather use Activator.CreateInstance(type, param1, param2, ...) The following instantiates a class (type) who's constructor takes a single int parameter. object [] paramItems = new object [] { 1 }; object o = type.Inv ...Show All
pexxx Question about class design best practice
I've been trying to find and answer to this question for some time so I hope it can be answered here. My question is regarding the use of properties (get/set) in a class that will not be exposed to the public. Is it better (i.e. more effecient, best practice, Microsoft way, etc) to use a property to facilitate the use of an external object within a class as in example 1. OR just use the external class's properties directly without ...Show All
veronique "Layer of Abstraction" Confusion
Hi folks, I'm trying to understand what events are, and primarily, why and when to use them, however, I'm having a little trouble understanding the subject. I hear a lot of people saying that events are another layer of abstraction, but I don't actually know what that means. I've tried Googling around, and I have found some sites that discuss it, but they seem to be talking to people who are CS graduates. Could someone explain the conc ...Show All
fyllekai accessing outlook 2000 using c# with out MAPI & without COM
actually i want to access outlook in c# application. means i want to access all mail items in all folders with out MAPI. can any body suggest with .NET components. Hi, can you please give me some more details about this thanks Sivaji Hi Sivaji, I appreciate your prompt response. : ) If you have any other concern, please feel free to post back. I am always v ...Show All
DJ_Whatever Howto: host xml-editor
Hi, Is it possible to host the VS2005 xml-editor in a custom application If so, how do I do that Using VS 2005 pro, C#. Any help will be much appreciated. Thanks, Tonn ...Show All
Juan Carlos Velez Why does Visual Studio 2005 starts to consume 100% of my CPU?
Hello, Sometimes Visual Studio 2005 starts to consume 100% of my CPU. I've tried see if it is when I'm doing something specific, but I cannot put my finger on what it is that might trigger it. It is my first solution in VS 2005, so I have no clue if it's specific to this C# solution. I have a Windows Forms project and a Webservice project in my solution, all connected to a SourceSafe 6 database. This far I've always been editing ...Show All
Rod77 dropdown item ID
Hi, I am using this code to populate data into combobox but i was just thinking how can i assign an id to each item in the dropdown list like the primary id for example because i want to save both id and name of the company.. // fill the insurance company; VDBAdapter.SelectCommand = new VistaDBCommand("SELECT account_name AS insurance_account FROM accounts WHERE account_type = 'INSURANCE' ORDER BY account_name", VDBConnection); VDBDatas ...Show All
Frank Kalis Entity must be parameterless?
I am new to write application that connect through internet via web services. I wrote several entities with parametered constructor. But I got the following error when I run through Internet(but not on LAN). Does it means .NET entities that pass by web services must be parameterless Thanks a lot. System.ApplicationException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> There was an error genera ...Show All
Dave Huntley Tab control
I have got a form where is tabControl with 2 tabPages. In each tabPage there is an textBox control. What I want is, when I click on tabPage ( 1 or 2), to textBox on this tabPage to be selected (to be cursor in it). Can you help me Try: textBox1.Focus(); You didn't understand my question. I want when i click on tabPage1 to be texBox1 (which is in tabPage1) focused using function that you wrote. Could you help me! Ok, yo ...Show All
KiwiDev passing a reference to data from unmanaged C++ to managed C#
that would mean that the struct would be copied right i would like to avoid that because the size of the data buffer is very large. ...Show All
Naamala Unique Machine ID
Hi, I have been looking at the code for the Shareware kit and there is some code that creates a ClientID from the processer ID. The code is: try { string cpuInfo = String .Empty; ManagementClass mc = new ManagementClass ( "Win32_Processor" ); ManagementObjectCollection moc = mc.GetInstances(); foreach ( ManagementObject mo in moc) { if (cpuInfo == String .Empty) { // on ...Show All
randyvol how can I deep clone an instance of any object?
how can I deep clone an instance of an object for example: i want to clone an instance of the control class TabPage,including the references to its member.If I got the clone of the TabPage class,I can add it to any TabPlane i want with the same design. any ideas I hope this is readable, since i can't seem to find the option to post my code snippet in a descent manner. These two methods can be used to clone many objects. Unfortun ...Show All
