microsoft.public.dotnet.framework.sdk Archive - December 2001
Post a message to this list
Messages
Page: 1
ASCII encoding and character sets... (3 replies)
microsoft.public.dotnet.framework.sdk
I'm also having problems with special characters on an ASCII files. I create the StreamReader that reads the file this way: StreamReader stream new StreamReader(fileName, new ASCIIEncoding()); The number of characters read is correct but every time a letter has some kind of accentuation, it shows a question mark or some wierd sentence. Is it possible to set the ASCII character set on the StreamRea...
Problems with String.Split() (3 replies)
microsoft.public.dotnet.framework.sdk
I'm trying to split a string using a hard coded delimiter. For instance: '****************************************** dim strArray() as string dim strMessage as string dim strDelimiter as string "DELIMITER" strArray strMessage.Split(strDelimiter.ToCharArray()) '****************************************** The problem is that the function splits the string in question by each letter in "DELIMITER" rat...
Encrypt String (Crypto) (2 replies)
microsoft.public.dotnet.framework.sdk
Hi, I am looking for a solution to encrypt a small string of data. Looking at Microsoft site and the documentation I was able to find get examples of encrypting streams (FileSteam). Is there a simple way to encrypt a string? Thank you.
Enable/disable services (2 replies)
microsoft.public.dotnet.framework.sdk
How can I enable or disable system services with .Net? Now I know how start or stop them but I want to enable or disable
determining when TcpClient is disconnected (3 replies)
microsoft.public.dotnet.framework.sdk
I'm creating a client that connects to a server using the TcpClient class. How can I determine if the server has disconnected the client? Is there anyway to access the underlying socket?
Event Signatures in VB (2 replies)
microsoft.public.dotnet.framework.sdk
I am writing an object in C to be consumed by VB.NET, C#, etc. The event signatures are giving me trouble. The event is declared as follows: namespace MySpace { class gc MyClass { event OnSomething(); // ... the rest of the methods, etc. } } VB gives me the following error message: error BC31029: Method 'instClass OnSomething' cannot handle event 'OnSomething' because they do not have the same sig...
where old WaitForMultipleObjects (2 replies)
microsoft.public.dotnet.framework.sdk
hi all When i need wait same event in win32 API i used WaitMultipleObjets or WaitMultipleObjetsEx but i can't found this function in .Net Framework. i know (AutoReset or ManualReset)Event extend WaitHandle class and i can use WaitAny or WaitAll or WaitOne but Event have only WaitOne method and it's normal because how one event can know about another, but how i can wait events from more that one ev...
file/directory size? (2 replies)
microsoft.public.dotnet.framework.sdk
hi all, how do i get the size in bytes of a file or directory? looking at system.io namespace and neither of the file or directory classes expose any properties or methods to get the size TIA, Param
Creating .EXE using Reflection.Emit (2 replies)
microsoft.public.dotnet.framework.sdk
Does anyone have an example that uses System.Reflection.Emit to create an Win32 .EXE assembly? The sample that comes with the Framework SDK can produce ..mod and .dll, and requires a separate loader program to run the dynamically generated assembly; I'd like to see how to modify this sample to produce the standalone .EXE. Thanks, David Dawkins hotmail.com account: david j dawkins
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