Click here to Skip to main content
16,004,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: Force termination of a thread Pin
Otis_6930-May-04 15:07
Otis_6930-May-04 15:07 
GeneralRe: Force termination of a thread Pin
Otis_6930-May-04 17:41
Otis_6930-May-04 17:41 
GeneralStream to String Pin
Meysam Mahfouzi30-May-04 8:29
Meysam Mahfouzi30-May-04 8:29 
GeneralRe: Stream to String Pin
leppie30-May-04 10:10
leppie30-May-04 10:10 
QuestionHow do I Create Lable Dynamically Pin
Anonymous30-May-04 7:53
Anonymous30-May-04 7:53 
AnswerRe: How do I Create Lable Dynamically Pin
Peff30-May-04 8:30
Peff30-May-04 8:30 
GeneralRemoting with Events Pin
Wouter Van Ranst30-May-04 7:23
Wouter Van Ranst30-May-04 7:23 
GeneralRemoting with Events Pin
Wouter Van Ranst30-May-04 7:20
Wouter Van Ranst30-May-04 7:20 
Hi Guys,

I want to port my old client-server programme from VB6 to C#, and I want to use some new stuff from the .NET Framework. Especially how the two programmes communicate with eachother.

Verbodrome (that is how the programme is called) is used in classrooms, for example 20 students are working on it, and the teacher can centrally view the state of each student. In VB6 this was done with a TCP/IP connection but since the server took a lot of processing load (serving 20 clients) it just wasn't scalable.

So what I want to do is this:
- An object 'session', wich stores the various questions. It is cloned for every client so the 'session' object also stores the answers the students gave.
It is hosted on the server with following advantages. 1) When the students quit their session, the information is still stored on the server, and next time they log on they can work further on their previous session, and the teacher can view the progress the student is making. Cool | :cool: 2) Every time the student gives a new answer, the statistics on the server screen are real-time updated Big Grin | :-D (thats where the events come in).

There are various other objects in the project, but all with similair purposes. So i tried to get some basic programme up and running. I constructed a CAO server, wich could fire events to the remote machine (where they were handeled. First problem: CAO servers don't seem to work due to some SOAPSUDS.EXE bug WTF | :WTF: , so i tried a class-factory (a SAO wich generates the necessary 'new session' classes), but when i tried fire my server event, the client gave an error that this wasn't deserialisable...Sigh | :sigh: So I adjusted the security settings (1.0 -> 1.1 troubles), but that either was no good. Dead | X| Dead | X| Dead | X|

So now I am asking the outside world, because I really tried everything. I'm a good programmer in VB6 (Verbodrome counts over 58.000 lines) but I am relatively new to C# but I know the basics. If anyone could give me a clue or try to get a class to work that would serve as an example to me, I would greatly appreciate it.

Every goodbye is the birth of a memory
GeneralRe: Remoting with Events Pin
Wackatronic1-Jun-04 10:08
Wackatronic1-Jun-04 10:08 
GeneralRe: Remoting with Events Pin
Wouter Van Ranst1-Jun-04 10:15
Wouter Van Ranst1-Jun-04 10:15 
GeneralRe: Remoting with Events Pin
Wackatronic1-Jun-04 10:18
Wackatronic1-Jun-04 10:18 
GeneralDataset Merge Pin
MrJJKoolJ30-May-04 6:59
MrJJKoolJ30-May-04 6:59 
GeneralRe: Dataset Merge Pin
Wouter Van Ranst30-May-04 7:31
Wouter Van Ranst30-May-04 7:31 
GeneralArray object Empty Pin
MrJJKoolJ30-May-04 6:02
MrJJKoolJ30-May-04 6:02 
GeneralRe: Array object Empty Pin
Colin Angus Mackay30-May-04 11:40
Colin Angus Mackay30-May-04 11:40 
GeneralRe: Array object Empty Pin
MrJJKoolJ31-May-04 3:06
MrJJKoolJ31-May-04 3:06 
GeneralRe: Array object Empty Pin
Colin Angus Mackay31-May-04 4:16
Colin Angus Mackay31-May-04 4:16 
GeneralRe: Array object Empty Pin
Otis_6930-May-04 15:15
Otis_6930-May-04 15:15 
GeneralRe: Array object Empty Pin
MrJJKoolJ31-May-04 3:08
MrJJKoolJ31-May-04 3:08 
GeneralRe: Array object Empty Pin
Otis_6931-May-04 9:40
Otis_6931-May-04 9:40 
GeneralRe: Array object Empty Pin
Stefan Troschuetz30-May-04 22:35
Stefan Troschuetz30-May-04 22:35 
Generalforce an event to trigger Pin
YiannisF30-May-04 4:23
YiannisF30-May-04 4:23 
GeneralRe: force an event to trigger Pin
Mazdak30-May-04 4:31
Mazdak30-May-04 4:31 
GeneralRe: force an event to trigger Pin
YiannisF30-May-04 7:09
YiannisF30-May-04 7:09 
GeneralC# and ADO.NET data caching Pin
ajenny30-May-04 3:47
ajenny30-May-04 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.