User Profile

Collapse

Profile Sidebar

Collapse
developing
developing
Last Activity: Dec 1 '09, 04:31 PM
Joined: Mar 2 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • developing
    replied to Multithreading
    in .NET
    for specifically that, you can use threadName.Join ()

    it will stop the calling the thread till threadName finishes execution...obv iously standard warnings about threads apply...
    See more | Go to post

    Leave a comment:


  • developing
    replied to Multithreading
    in .NET
    interesting. invaluable personal opinion/experience...th anks

    any specific links on the internet regarding c++?
    See more | Go to post

    Leave a comment:


  • developing
    replied to Multithreading
    in C
    yes, true...

    but, for example, in .NET all you have to do is start the thread and termination and resource reclamation is handled by the framework

    any ideas for platforms for comparisons?
    See more | Go to post

    Leave a comment:


  • developing
    started a topic Multithreading
    in C

    Multithreading

    What do you preferred for multithreading? .NET or C++?

    i am doing a report on the caveats/advantages; any platforms for comparison? ideas? comments?
    See more | Go to post

  • developing
    started a topic Multithreading
    in .NET

    Multithreading

    What do you preferred for multithreading? .NET or C++?

    i am doing a report on the caveats/advantages; any platforms for comparison? ideas? comments?
    See more | Go to post

  • developing
    started a topic Email format in c# [NOT sending/making it]

    Email format in c# [NOT sending/making it]

    Hi,

    Please bear with me if this sounds like a non-intuitive question. Anyone have any insights as to how System.Net.Mail Message class is implemented?

    Does it construct a simple C/MIME string and append the properties to it? Does it do the following? The following is just a guess so I would really appreciate it if someone were to point me to something about email format(s)...

    Code:
    string message = "To:
    ...
    See more | Go to post

  • developing
    replied to Capturing return keypress
    i got it working. thanks...had to put the stuff inside the while(!cancel) loop and the event on different threads to get it workin
    See more | Go to post

    Leave a comment:


  • developing
    replied to Capturing return keypress
    thanks for the skeleton, im trying the second part.

    lets see if this doesn't help me out. thanks
    See more | Go to post

    Leave a comment:


  • developing
    replied to Capturing return keypress
    i actually have a similar question...thou ght id ask it in this thread rather than starting a new one

    i have a infinite for loop that keeps on going. i want to make it so that if 'escape' key is pressed at anytime, the loop stops. whats the best way to do this?

    im new to multithreading, delegates, and events but im thinking of having a key press event that is fired whenever the escape key is pressed and it stops the loop....
    See more | Go to post

    Leave a comment:


  • developing
    started a topic Porting ASP.NET app from version 2.5 to 3.x
    in .NET

    Porting ASP.NET app from version 2.5 to 3.x

    Hi,

    I have a sample ASP.NET app that I run successfully with .NET 2.0. Now this app needs to run on .NET 3.5 or 3.0

    What are some changes that I should look out for?

    The most obvious one is assembly references in web.config, except I am not really sure what to change these to.

    Code:
        <add assembly="System.Design, Version=2.00.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
    ...
    See more | Go to post

  • its an unsigned activex, isnt it?

    go to internet options > security > custom level

    now set all the ActiveX options as you please
    See more | Go to post

    Leave a comment:


  • developing
    replied to PHP graphs and curves
    in PHP
    try JPGraph...its frikkin amazing
    See more | Go to post

    Leave a comment:


  • developing
    replied to Moved: Add HTTPS/SSL to a Site
    nothing.

    ssl is a server issue. its got nothing to do with the runtime application. all you need to worry about are the links that point to your site as they will have to be changed from 'http' to 'https', which you already did
    See more | Go to post

    Leave a comment:


  • developing
    replied to upload to ftp through a php script
    in PHP
    post_max_size in php.ini needs to meet your requirement. maybe even upload_max_file size, not too sure about that though.

    you can read/change these values at runtime using ini_get() and ini_set()

    also, ini_get() and ini_set() don't work with all settings. youll have to find out if they will work with post_max_size.. .i cant remember
    See more | Go to post

    Leave a comment:


  • developing
    replied to Passing parameters by reference
    in .NET
    That's what I came up with except I didn't know how to test it.

    For the two snippets above, I wasn't really concerned about the end result of the function, just wanted to see the "inner workings" because yeah, both will return a char[] except the first snippet doesn't really need to.


    Thanks for all the replies and clearing that up!...
    See more | Go to post

    Leave a comment:


  • developing
    started a topic Passing parameters by reference
    in .NET

    Passing parameters by reference

    Code:
     private char[] getSeparators(ref string[] varfiles)
    Code:
     private char[] getSeparators(string[] varfiles)

    As far as I know, the first piece of code will pass varfiles by reference so that varfiles will be changed by getSeparators when control is passed back to the calling method.


    What gets passed to getSeperators by the second piece of code?
    See more | Go to post

  • developing
    replied to Override MessageBox.Show
    in .NET
    Yup, I was thinking about abstracting it out too. Except that I will have to go through the source and replace MessageBox.Show ()....worse comes to worse, thats what I am gonna do...

    I did realize that Show is a static method...so I guess abstraction is the best way to go.

    Thanks people
    See more | Go to post

    Leave a comment:


  • developing
    replied to Determine what called a function
    in .NET
    Thanks for your replies.

    I am not programming anything right now. This is just something I have been wondering in my "free time". Don't think I know enough about security to get hired as a financial developer just yet.

    Also, whats wrong with Buy() being static? Sure, it can be called by anything, but if its return type is 'void' or 'bool', does it really matter? Good programming practice?
    See more | Go to post

    Leave a comment:


  • developing
    replied to Override MessageBox.Show
    in .NET
    Sorry about the 'edit' confusion because of lack of reason. I should have added the "EDITED" caption....

    Anyways, by 'override', I meant having the implementation of the override keyword. For example. ToString() is defined for every type, but you can still use the 'override' keyword and define a custom ToString() function.

    I was hoping for something like that (of course, it wouldnt be using the override keyword)...
    See more | Go to post

    Leave a comment:


  • developing
    replied to Determine what called a function
    in .NET
    yeah GetType() and typeof work


    okay, now if I have a class Card with two instances running at the same time:

    Card creditCard = new Card();
    and
    Card debitCard = new Card();


    and they both call the function Card.Buy(), how would Buy() determine if it should take money from creditCard or debitCard?
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...