Yes, I can use the Focus by using delegates. But I can not do a formA.Focus() from formB since formB is not aware of formA.
And when I do delegates, I can set the focus, however the focus is not taking place until after previous form completes it works...which in my case makes having two forms useless since the purpose is to allow the user to work on one form while the other form is being processed.
It does not work.
The windows message for a form's "MOVE" event is "WM_MOVE = 0x0003" defined in WinUsers.h. I used WinProc to intercept the "MOVE" message. The only parameter "m" of type Message does not have any property or field for canceling the "MOVE". I tried to set the m.Msg to WM_NULL == 0x0000. But it does not work either. It seems that the moving of a form happens before the message interception of "WM_MOVE" by WinProc.
i am desperate to know the way to authenticate a local windows account, by taking username & password, without using active directory!
did tried myself, invained, searched, never got a solution, all what i found were having active directory in it, i dont hav and i dont want to hav active directory installed!!!isnt there any way of doing it without active directory!!
hi all i m developing a network based game in C# 2005. i want to transfer objects of drawing class stored in arraylist,to another computer how to do it i only found one method "convert into byte from text and then send *".i have found no way to send objects. is sending arraylist is possible ? or i have to get each object from list and then convert into byte and then send.
my question is
1).how to convert arraylist into byte? if possible
2).How to convert objects in byte and then send.
3) is there any other method other than this to send objects of classes on network.
Thanks for reply, actually i m makin that game in Compact Framework, i m using windows application just for the testing. i search on internet about the Remoting in .net CF it is not supported in .net CF so i have no option except to use the sockets.
Ah, I see. Yes, you're going to need to package the data yourself and push it out over a socket.
That said, it shouldn't be too difficult to do. The Compact Framework supports basic serialization, which should serve your purpose; if not, Marc Clifton wrote an awesome serializer here on Code Project: