| 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 |
|