CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Mastermosley

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,278

    ASP.NET MVC3 Mini Forum Help?

    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,...
  2. Replies
    13
    Views
    3,936

    Re: C# Windows Form Project

    Your definitelly missing some code:



    public Form1()
    {
    InitializeComponent();
    }
  3. Re: C# Relationship between class and socket

    Okay nevermind I solved it by making a Connection list and checking each connection class socket.
  4. C# Relationship between class and socket

    Can't really explain the situation in the best words but here is what I am dealing with.

    I have a loop that cycles through the following code:



    public IList<Socket>...
  5. Replies
    0
    Views
    661

    C# Multithreading question

    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...
  6. Replies
    0
    Views
    1,226

    C# and IronPython

    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...
  7. Re: Keep div scrollbar scrolled to bottom at all times

    I am not that gifted with javascript. Do you mean like this?



    <script type="text/javascript">
    document.getElementById("container").scrollTo(0, 99999);
    </script>
  8. Keep div scrollbar scrolled to bottom at all times

    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...
  9. StreamReader/Writer vs Socket Recieve/send

    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.
  10. Replies
    3
    Views
    967

    Re: C# Way to recompile while running?

    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...
  11. Replies
    3
    Views
    967

    C# Way to recompile while running?

    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...
  12. Replies
    2
    Views
    1,134

    Re: MVC 3 - Generating Html for forum

    Thanks for the response Ill try this out
  13. Replies
    2
    Views
    1,134

    MVC 3 - Generating Html for forum

    <html>
    <head>
    <title> Forum Index</title>
    </head>
    <body>
    <table class="common-tbl cat" cellspacing="0" cellpadding="0">
    <thead>
    <tr>
    <th><h4><a...
  14. Re: Search listbox for string and return index

    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:



    object op = null;...
  15. Re: Search listbox for string and return index

    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);

    InvalidOperationException...
  16. Search listbox for string and return index

    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...
  17. Re: C# Generating a textbox and anchoring it at runtime

    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...
  18. Re: C# Generating a textbox and anchoring it at runtime

    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...
  19. Current child forms in toolbar..or something

    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...
  20. C# Generating a textbox and anchoring it at runtime

    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,...
  21. Trying to load missing dlls from app resources

    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....
  22. Replies
    0
    Views
    867

    Asp .net mvc simple image switch

    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...
  23. Replies
    4
    Views
    4,885

    Re: Calling methods on unnamed objects

    When you create an object dont you create it like so:

    Object obj = new Object(); ?

    You would be able to reference this object by

    using the name obj example obj.Dispose();
  24. Replies
    7
    Views
    1,323

    Re: Fill Specific no of grid in C#

    private void Method()
    {
    int x = int.Parse(txtNoOfPumps.Text);
    if (x == Properties.Settings.Default.NoOfPumps) //Assuming NoOfPumps is a digit if not
    { ...
  25. Replies
    2
    Views
    633

    Re: Help - I can't stopping my timer!

    I do not really understand whats going on couldn't you create an event for when the email is close and: myTimer.Stop(); ?
Results 1 to 25 of 42
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured