microsoft.public.dotnet.framework.sdk Archive - February 2003
Post a message to this list
Messages
Page: 1
How to determine inherited interfaces implemented (8 replies)
microsoft.public.dotnet.framework.sdk
Does anyone know how to determine that a class type in an assembly only implements an interface and that any inherited classes do not. In example: ClassOne Implements ImyInterface and is defined with an implements statement ( public class ClassOne : ImyInterface ) ClassTwo Inherits from myClass. (public class ClassTwo : ClassOne) When I use reflection in code on ClassTwo it reports that ClassTwo i...
How to wait for the process to complete. (2 replies)
microsoft.public.dotnet.framework.sdk
Hi , i am doing the following : functionName() { System.Diagnostics.Process prStart new Process(); System.Diagnostics.Process.Start( Executables ); prStart.Dispose(); } catch() {} finally { //Some Code here } Execuable runs in the silent mode and no user interaction. I want that before the finally block gets executed i should waite for the process which i started in the above code to finish. WaitF...
String class CompareTo and Compare methods (2 replies)
microsoft.public.dotnet.framework.sdk
I'm seeing something that does not appear to be correct in using the Compare and CompareTo methods. When I have a value 'a' and wish to determine if it is within the range 'A' to 'Z', it returns True. Lower case 'a' should return false, it does not fall within the range specified. Reversing that example and determining if 'A' is in the range 'a' to 'z' will return false. This is correct, 'A' is no...
Connection Speed (again) ! (3 replies)
microsoft.public.dotnet.framework.sdk
Hi, I need to find a user's internet connection speed. Someone here suggested (see below) that I should P/Invoke the Win API for RAS functions. I'm not too sure how to do this (i.e. converting DWORD types to .NET types and DLL importing correctly, furthermore, I have never used these RAS functions before so don't have a clue, can anyone help? I've searched for previous posts as suggested below but...
Connection Speed ? (2 replies)
microsoft.public.dotnet.framework.sdk
Hey, I have a users IP Address and Port Number (i.e. I have their IPEndPoint). How can I find, using their IPEndPoint, the connection speed a user has to the Internet? e.g. 56Kbps 128Kbps, 256Kbps, 512Kbps. Else, is there any other way ??? Thank you, Steve.
need a way to instanciate object given a class name (2 replies)
microsoft.public.dotnet.framework.sdk
I need a way to instantiate a object given a class name. I am writing a classfactor class and it should be able to instantiate objects given class name.
XmlDocument Save() problem (2 replies)
microsoft.public.dotnet.framework.sdk
When I use the XmlDocument class Save() method to save a document to a file, the file contains the following three bytes at the beginning. \xEF \xBB \xBF I don't see any reason why they should be there. Any ideas or suggestions? Please cc me with your reply. Thanks.
Using Socket select or poll (2 replies)
microsoft.public.dotnet.framework.sdk
I am using the Socket library to build a TCP/IP server. I don't want my server to hang on the Accept or the Receive calls, so I tried using Socket.Select and server.Poll. They work except they don't wait for the amount of time that I specify 10000 ms. Both of these calls return immediately. So I had to use Thread.Sleep to get my server to pause before trying again. What am I doing wrong? Thanks in...
service install problem (2 replies)
microsoft.public.dotnet.framework.sdk
Hi! I don't manage to install and run my window service. I wrote a simple window service (in fact the very one created by the wizard), it inherits from ServiceBase, etc... It compile without trouble. I call InstallUtil myService.exe which run smoothly and output blablabla..., installation succesfull. But I can't see my service anywhere! net start doesn't display it and throw an error if I try net ...
Framework 1.1-Child referencing in expression columns does not work for self-joined tables (4 replies)
microsoft.public.dotnet.framework.sdk
The 1.1 Framework/SDK apparently resolves a lot of the problems with expression columns that version 1.0 had. However, I stumbled upon a bug that occurs with expression columns in self joined tables that is, tables with a foreign key pointing to another field in the same table. In such cases, child referencing in expression columns does not seem to work. Here's a very simple example. Let's say you...
play with service problem... (4 replies)
microsoft.public.dotnet.framework.sdk
Hi, I'm writting my first service ! Everything is ok now, I write it, compile it, install it. However I want to test it and here is my problem. I can't update it without rebooting. (note to install & uninstall I use the command line tool: InstallUtil [/u] myService.exe) When I try to install it again it fail because the file is already installed. If I uninstall it and reinstall it, it fails becaus...
Where is FileNameEditor? (4 replies)
microsoft.public.dotnet.framework.sdk
I've seen numerous postings on various sites and groups about the System.Windows.Forms.Design.FileNameEditor class, which is available as an editor for filename properties in the PropertyGrid control. The docs talk about this class and other editors as well, like ArrayEditor. However, as far as I can tell the classes don't actually exist! Does anyone know what happened to these editor classes? Wer...
Service install problem... (9 replies)
microsoft.public.dotnet.framework.sdk
Hi, I'm trying to create and install a basic service (my firt service ! .cs...) Well it compile and install successfully but it doesn't appear in the service windows.. so I'm unable to start / stop it! do you have any idea ? I use the following command to compile & install: csc /nologo /out:myservice.exe MyService.cs InstallUtil myservice.exe and the code is: // MyService.cs using System; using Sy...
XmlSerializer Error (8 replies)
microsoft.public.dotnet.framework.sdk
I got an error at the following line: XmlSerializer x new XmlSerializer(typeof(Databases),new XmlRootAttribute("Databases")); The error message is: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll Additional information: File or assembly name randomize .dll, or one of its dependencies, was not found. This error message has been posted a few times on this gr...
invoke class by name (2 replies)
microsoft.public.dotnet.framework.sdk
Hi! My Situation: I'm reading the name of a class as a string and want to invoke an object of this class by using "new". In JAVA there's a method called ClassForName(String ClassName) Any ideas how to do that with c#? Many thanx in advance!
Changing the dependencies of a Service (3 replies)
microsoft.public.dotnet.framework.sdk
Hi, I would like to know if someone knows how to do this. I would like to access an existing Windows Service and add a dependency. How can I do it via .Net. Nothing that I can use in ServiceController class. Thanks for help
Problem with array of arrays (2 replies)
microsoft.public.dotnet.framework.sdk
I have a problem with returning an array of arrays in the form of an anyType. The web server is written in Java and deployed with Apache Axis. One of the messages returns an anyType and the code looks like this: // Array of arrays int n[][] new int[3][5]; for (int i 0; i 3; i ) { for (int j 0; j 5; j ) { n[i][j] i * 5 j; } } On the client side, if I use C# or VB.net, I get the following error: Sys...
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