| UserControls and Events (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi, I've got a Text Box on a User Control, double click and you can add the TextBox1 TextChanged, add the following: TextBox1.Text "Changed"; When you reference the User Control from a WebForm it will not fire the event back. If you do the same but not on a User Control it fires the event back correctly. Any got any ideas? Kind Regards, Chris Bond |
|
| system.net.sockets riddled with bugs in rc1 (7 replies) |
| microsoft.public.dotnet.framework.sdk |
| As written a number of times in these newsgroups, emails to people I thought were in the know, and even to the devstudio bugs list (why on earth does one need to register there!?!?!), there are bugs in system.net.sockets. I wrote about these with Beta1, Beta2, and again when RC1 was released. Each time (except recently when it was forwarded by a good sole, then pooh poohed by the correct person) t... |
|
| Changes from Beta1 to Beta2: PixelFormat enums removed: Format1bppIndexed, how do we black and white? (4 replies) |
| microsoft.public.dotnet.framework.sdk |
| If the indexed formats were removed then how do we choose black and white? / jorge |
|
| API LoadString throws exception; but Err.Num = 0! (14 replies) |
| microsoft.public.dotnet.framework.sdk |
| In the code below, the statement zFetchString LoadStringByNum(m hInstance, CLng(vID), sBuffer, lBufLen) throws a very strange VB exception. Control branches to the error trap, yet Err.Number 0! The parameters passed to LoadStringByNum (LoadStringA) are as follows: Long : m hInstance 209980341484519424 Long : CLng(vID) 109 String: sBuffer a preallocated buffer of 256 spaces Long: lBufLen 256 Can yo... |
|
| How to use System.Drawing.Imaging to convert TIFF to BMP? (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| I have a tiff graphic file and need to programmatically convert it to bmp, is there any function in System.Drawing.Imaging that can do that? If you can show me the steps on how to do that, I will really appreciate it. Thanks Andrew |
|
| dropping Socket connections (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| I've written a server that pushes XML data to a Macromedia Flash movie. I've created two implementations of this server. The first used the the TcpListener class; the second, the Socket class. (I tend to prefer the latter because of its built in support for asynchronous programming.) Here's the problem: I have code to check to see if the client socket for the Flash movie is connected before callin... |
|
| VB - Net Equivalence for DriveList (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| Are there equivelent Net classes for the VB DriveList, DirectoryList and FileList objects? Thanks Jacques |
|
| anyone know how to launch an .exe from .Net (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| I have a WinForm program written in c# and I need the .net equlivent of CreateProcess or WinExec, any suggestions? |
|
| A way to generate keyboard and mouse events? (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| Is there a way to synthesize keyboard and mouse events using the .NET Framework class library? Win32 SendInput, keyboard event, and mouse event API equivalents? Thanks, Alex |
|
| Sample doesn't compile in Visual Studio (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi there: There are some sample code about remoting I can't compile in Visual Studio, but I can compile them using command line. For example, following line won't complie in Visual Studio, but it compiles fine if using command line. Other classes such as EnterpriseSerivice has the same behaviour. using System.Runtime.Remoting.Channels.Tcp; Your help is very appreciated. Ming |
|
| Socket.Bind before Socket.Connect? (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| According to the documentation for the Bind and Connect methods of System.Net.Sockets.Socket, the Bind method must be called before the Connect method. Yet in the code example provided for the Socket class, the Bind method is not called. Further, I've written a server and a client using the Socket class, and, while I did bind the server to the local endpoint before calling the Listen method, I did... |
|
| Literal content insade a custom control (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| How can I make a custom control that will be capable of accepting literal and other controls between its tags??? Whenever I try to use a code like this in aspx page: custom:control id "custom1" runat "server" some text goes here... /custom:control run time compiler reports a parser error with a message: Literal content ('some text goes here...') is not allowed within a 'CONProject.control'. Is it ... |
|
| PROPSHEETHEADER / PROPSHEETPAGE for Wizards (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi, After searching the web and looking at the class hierarchy on msdn, I still can not find an answer for the question: are there class wrappers for such Win32 concepts/structures as property sheet/page? I can believe MS has just "forgotten" to implement such. I really doubt that deriving from Form will be simplier in implementing a Wizard Application, that just taking ATL/WTL and C to do so. Do ... |
|
| Asynchronous File Downloads (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hello again, Is there a built in mechanism for asynchronously downloading files from http servers and receiving progress notifications during the process?? It seems the WebClient methods only operate synchronously. I believe I can write my own class using WebRequest/Response to achieve asynchronous downloading but I'm not sure whether this functionality is already provided in the .NET Framework. T... |
|
| Memory Device Contexts / BitBlt ? (6 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi, I'm a C programmer just getting started C# and the .NET Framework. Is there no managed method of having a "memory" Graphics object to do fast BitBlt ing to a Windows Form control during its OnPaint() event to maximum drawing performance? Thanks, Tony |
|
| Apostrophes vanishing when read via StreamReader (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| I'm using the following code to read a text file. Dim SR As StreamReader SR zOpenFileRead(FileName) ReadEntireFile SR.ReadToEnd SR.Close() What's happening is, I'm missing apostrophes from the input file. They just vanish! The apostrophes are definitely vanishing via StreamReader. I'm using the debugger to examine the contents of ReadEntireFile immediately after ReadEntireFile SR.ReadToEnd and the... |
|
| Windows Form Control in IE permissions problem (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| I've created a Windows Forms UserControl that is hosted in IE. The control is contains a TcpClient that is supposed to communicate with a TcpListener and to display data on a Windows Forms DataGrid. I have no problems hosting the control in a Windows Form. When hosting it in IE, I can call the control's public methods. The problem is that the method that actually connects to the TcpListener won't ... |
|
| getting data from a stream? (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| hi all, I am retrieving a stream object which basically contains the response data of a web request i.e. a html doc. how do i go about now retrieving this html say in a string? calling s.length gives me back a seek operation not supported error. TIA, Param |
|