microsoft.public.dotnet.framework.sdk Archive - November 2001
Post a message to this list
Messages
Page: 1
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
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