Just recently took the plunge in web programming and starting with MVC. Just wondering on architectural advice. What would work best in your opinions, creating a model for each: Category, Forum,...
I understand the basics of multi threading but in most of my previous experience I was creating new threads and letting them die when the method was completed. I have a multi client server with a...
I am in need of the dynamics of ironpython in my c# application. I am able to process simple scripts as I have a c# function that compiles the ironpython and outputs the script. The problem with this...
I have a bunch of information relayed to a multi-line text box from a websocket and I want my div overflow scrollbar to scroll to the bottom everytime a new line of information is recieved. The code...
Just wondering if there is a speed difference between reading and writing through streamreader/writer (network stream) over just sending and receiving raw bytes through the socket?. This for a server.
I just thought of an idea: What if the entire server logic is all located in .dlls, and then edited the respective one then copied it to the program folder. Would that work or would that crash the...
I have a simple telnet server, users connect and they are brought into a room with there IP Address's as the usernames and they can chat, this is strictly a learning experience. What I want to...
I must have been too tired last night the solution was way to easy. Obviously the problem was removing an item from the list inside the foreach loop, so I made a work around:
Yes, it is succesfully cycling through the listbox and the comparing o.ToString() does infact hold the text of the item, but I get a runtime error at lst.Items.Remove(o);
I want to search a listbox control that has a list of usernames. I am developing an irc client and when the user leaves it calls and event with that user. This event needs to search the listbox full...
Here I have made a tiny project that adds a tab with richtextbox and textbox at runtime and anchors them, you can see the results of the anchor. You would think, using the exact same code as the...
Ya no that is not what i want. The richtextbox will fill the whole void and the textbox would overlapp it making you unable to see a line of the richtextbox. It works fine when I anchor it at design...
I am looking for a control for my application, which is a MDI application, where a bar on the main mdi form would be at the top. Whenever a new child form is opened, the bar will have the name of the...
C# 4.0
----------
I have a tabcontrol called tabmain. I have a button which I click which will create a new tabpage with a richtextbox and a small textbox at the bottom. Similiar to a chat client,...
C# 2.0
---------
I have a bunch of .dlls and I added them to my resources as embedded resources in my application. I want my application to load them when it gets an assembly resolve error....
I am new to mvc and i have a 6 screenshots. On my page I show one screenshot and I have a back and next link that link /screenshots/+ for forward and /screenshots/-. Now I need a variable to keep...
private void Method()
{
int x = int.Parse(txtNoOfPumps.Text);
if (x == Properties.Settings.Default.NoOfPumps) //Assuming NoOfPumps is a digit if not
{ ...