Doesn't it give the effect you want! I guess all .Net Windows Forms use that unless they use Win32 API directly. Other applications and games may use DirectX or OpenGL to do fullscreen but i think they all translate down to Win32 API (or instruct the Graphics card to output the buffer to fullscreen, I don't know).
i'm usign sharperCv (a wrapper of opencv) for a motion tracking algorithm. In windows xp there are no problem, but in win vista when i compile there are this problem:
Impossibile caricare la DLL 'highgui.dll': Accesso a posizione di memoria non valido. (Eccezione da HRESULT: 0x800703E6).
(impossible to load dll highgui.dll: Access to a non valid position in memory HRESULT: 0x800703E6)
all dlls are in debug folder of the project....i'm using visual c# 2008 express...may be the framework???
Ieshims.dll is used to maintain application compatibility with earlier versions of Internet Explorer, and replaces the functionality provided by the iebrshim.dll, AcRedir.dll, AcLayers.dll, and shimeng.dll files.
I've created a custom column for my DGV, but can't select it as the ColumnType in the designers edit column dialog. I get the following error message:
Property value is not valid.
No parameterless constructor defined for this object
Since my classes have been commented back to this I can't figure out what the problem is:
public class ImageTextColumn : DataGridViewColumn
this.CellTemplate = new ImageTextCell();
public class ImageTextCell : DataGridViewCell
Style.Padding = new Padding(30, 0, 0, 0);
Both the column and cell classes consist of only a parameterless constructors. What else does the designer want?
It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains.
-- Pride and Prejudice and Zombies
I am developing a new part to a program I work on. It connects to a java process via a socket. At the moment, the user will send a message down the socket, and the Java process will return with 1 or more values. This works fine.
I'd like to extend the program, so that the user could send multiple messages (sometimes 10k), thus I get into the problem of spamming the socket, and the Java process having to then reply to each message, which could return multiple messages (10 for each sometimes).
Does anyone have any good ideas of how I'd make this process better? and more importantly, faster!
A common error in design in sockets programming with TCP/IP sockets that I see occurring constantly are status messages being sent to verify receipt. TCP/IP is a guaranteed in order protocol. Eliminate the status messages and only send a message if requested explicitly. Furthermore, TCP keep-alive should be used and not keep alive messages.
You said that the Java server is spamming you with responses. So I assumed they were unnecessary. If the responses are necessary then they are not spam and then only way to reduce them is to not send messages. Your TCP/IP stack on Windows and from within Java should both be using the Nagle Algorithm so as long as that is not disabled and you do not force a send then the best you can do is send data when you have it and request data when you need it.
If you want to reduce bandwidth for streaming extremely large files you can compress the files using build in compression (see the J# library since it will have the same compression libraries as Java will have access to) or you can author your own.
So your application is a console application? Why are you unable to write to the Console, the only thing I fear is that you are creating a windows forms application and you are still trying to write to the console.
Yes, the first answer (Computafreak's) is correct, Response.Write(ex.Message); if your writing an ASP.NET Web Application. But, looking at your code, I suspect you are writing a Windows Application due to your reference to Console.WriteLine(). This is a stretch, you want to send a Windows Application generated error message to a web browser window? Who's browser - yours, or a user of the application? At what URL?
I think you may want to CLARIFY your question with some more details on the type of application you are writing.
Last Visit: 31-Dec-99 18:00 Last Update: 29-Jul-21 10:17