I've just created Shadow folder in VSS. Then I did some modifications to a file and checked in the file. I then get a message prompt saying 'Invalid Dos path H:\_CRM\ShadowVSS'. I checked the srcsafe.ini file and the Shadow parameter is pointing to the same path. I've shared out the Shadow...
is it possible to programmatically scroll down a scroll bar? I have rich text box which will display all chat messages. The problem is everytime a new text is appended onto the rich text box, i have to manually scroll down the box to view what was written. How do i make the text box always...
Hi all!! I've just completed writing a networking Draughts (Checkers) using C# for my college project. I need help testing it out (beta testing). Anyone interested, please visit this website to download it.
http://www.geocities.com/aiyuen9
I have also included a questionnaire in the setup...
Hi all!! I've just completed writing a networking Draughts (Checkers) using C# for my college project. I need help testing it out (beta testing). Anyone interested, please visit this website to download it.
http://www.geocities.com/aiyuen9
I have also included a questionnaire in the setup...
is there any advantages in using delegates? I mean, i have a class, lets say classA which handles any events invoked in classB. i could simply have the method in classB, call the method in classA, which is the same as firing the event in classB, which will invoke the method in classA. could...
i was wondering is there similar classes in the JDK for thread pooling? I've read that C# (or rather the .Net framework) has a class ThreadPool. Is there similar ones in Java?
i've tried the code below to play wav files and it works fine. But when i try to play midi files and mp3, it doesn't play at all. Is there some way to play midi files or mp3 or is it not possible. Could i be using the wrong dll file?
[sysimport(dll="winmm.dll")]
public static extern...
I have a method (OnConnected()) in a class - ServiceClient which will another method (SendToClient()) in another class PlayerMsgHandler.
The code for OnConnected() in ServiceClient is as below:
public void OnConnected(object sender, EventArgs e)
{
PlayerMsgHandler myplayer =...
i have created a shaped form, and as a result i do not have the standard maximize/minimize/close buttons that usually appear on the title bar. i've thought of putting buttons to create that function. But how do i minimize or maximize the form from the code itself? is that possible?
i read that there are several ways to create sockets, through TcpClient/TcpListener, Socket and UdpClient classes. is there any difference between TcpClient/TcpListener and the Socket class? I mean, how do i know which one to use?
i read that C++ do not really have support for thread. Instead the API of the operating system is used. does this code below making an Win32 API call? the header imports process.h.
_beginthread(AcceptProc,0,&sockListen);
Can someone pls explain what this paragraph means :
" What Java is lacking (and what C# has) is the ability to attempt to enter a synchronized code segment without blocking on the acquisition of the lock. C#'s Monitor class not only contains the Enter method, which blocks until it can be...
i read that the synchronization in Java utilizes a 'lock'..this is similar to the use of 'lock' keyword and also the monitor class in C# rite? anyone can explain this more in detail, like whether there is a difference?
can anyone tell me whether this paragraph is correct? if not, could u all pls modify it?
-There is no event handling methods in C++ is applications developed are mostly console-based. In order to create Windows applications, MFC (Microsoft Foundation Library) in Visual C++ is employed. Event...
anyone know any articles or websites that have explain about how to create networking app or handle sockets in C++? or can anyone explain how it is done? just the basic...for example creating a client/server app that can handle multiple connections and acts like a chat program or something. i'm...
A lot of people are saying the the event model in C# is better than Java. Would anyone know why? i know that C# has delegates to handle events, while Java uses event listeners, where the interface needs to be implemented. but is there a difference between these two ways?
I've noticed that there are two ways of creating a socket connection, one is using the TCPClient class, and the other is the Socket class. Is there any difference in either one?
Also, AsyncCallback class is another way of multithreading rite?
Here's the scenario.
I'm developing this networking boardgame that can support multiplayers. Right now, in order to communication between the server and client, I have predefined commands (or communication protocol) that the server and the client can understand. For example, if a new player...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.