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

Search:

Type: Posts; User: monalin

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    2,451

    Re: Using HTML pages with ASP.NET websites

    One thing you need to realize about HTML is it doesn't do ANYTHING. Its a markup language, all it knows how to do is display data. HTML doesn't even know that 1 + 2 = 3. JavaScript is used to...
  2. Re: how to create an event for enum type value changed?

    Yeah you're right
  3. Re: IE window.onload firing too early!! before page completely loads

    Try using an eventHandler instead of attaching this code in the body



    function CustomLoadCode()
    {
    /// RUN CODE HERE
    }
    window.addEventListener("load", CustomLoadCode, false)
  4. Re: how to create an event for enum type value changed?

    I assume you could try something like this.



    public period_type Period_Type
    {
    get { ...... }
    set
    {
    if(value != period_type_selected)
  5. Replies
    5
    Views
    2,451

    Re: Using HTML pages with ASP.NET websites

    Theres nothing wrong with using ASP.NET it's all how you code it. If you use all the server controls available and the built in .NET Ajax you're going to have very messy html code which in fact does...
  6. Replies
    7
    Views
    1,853

    Re: Ftp directory listing

    09/07/2009 07:48AM Directory 090609


    dr--rw---- 1 admin data 0 Sep 7 07:48 090609

    Seems like you're missing the Year somehow all the other data is there.

    But...
  7. Replies
    5
    Views
    3,066

    Re: Throttlng file upload speed

    Well you can probably use HttpWebRequest to transfer what you need to or you can use sockets to send it. I remember awhile back I had to use sockets to post something with PHP all you need to do is...
  8. Replies
    5
    Views
    3,066

    Re: Throttlng file upload speed

    In its simplest sense all throttling is really doing is sending X number of bytes at a time then waiting X amount of time to ask for more data. This can be achieved by overloading the stream class,...
  9. Replies
    2
    Views
    4,809

    Re: form raunt server problems

    Sorry ASP.NET isn't designed to work with more than 1 Form on the page. If you can explain why you think you NEED two forms on the page then maybe I can show you one of the workarounds I've used...
  10. Replies
    1
    Views
    680

    Re: Handling an authentication window

    It's easy to "login" all you need to do is find which page you need to post to in order to login. All the login form you fill out on the page does is post that data to another page which does all the...
  11. Replies
    2
    Views
    1,124

    Re: String Array (2D) dynamic

    Check out this link, maybe it will help a little. In particular the part at the bottom.

    http://msdn.microsoft.com/en-us/library/aa288453(VS.71).aspx
  12. Re: Block user login or let user login certain hours, windows policies?

    You realize that no matter what you do the kid can undo it. The kid can stop your program from running if hes on the computer. Reverse the /time command and continue playing. Like a few of us have...
  13. Replies
    18
    Views
    20,608

    Re: FtpWebRequest - downloading big files

    Isn't that why half of us are on here? To help people?
  14. Re: Block user login or let user login certain hours, windows policies?

    Only administrators can change the login times. A regular user will not be able to change it. Likewise, anything a C# program can do a user can undo manually.
  15. Replies
    7
    Views
    1,384

    Re: ordering of IF-statement conditions

    You can assume that the compiler will evaluate the conditions from left to right.

    When coding i find myself doing something like this all the time. For example.



    if(obj != null && obj.Value...
  16. Replies
    7
    Views
    1,384

    Re: ordering of IF-statement conditions

    The if statement you have doesn't guarantee anything.

    You want doSomething() to run when delayInSecs is a positive number?



    if((delayInSecs >= 0)
    doSomething();
  17. Replies
    6
    Views
    4,715

    Re: Keep Alive SQL Server

    Sql connections you want to close as soon as you're done. You should try you best to never keep an SQL Connection open. They're a limited resource the server can only handle so many.
  18. Re: Block user login or let user login certain hours, windows policies?

    Just go to cmd panel and run this command if you have Windows XP Pro



    net user username /time:M-F,08:00-17:00


    to remove it do
  19. Re: Block user login or let user login certain hours, windows policies?

    Do you have Active Directory installed on your network? The only way I can think of is to have an application change a users available login times. Never done it before but there are plenty of...
  20. Replies
    7
    Views
    1,226

    Re: Getting Interfaces and Methods from DLL

    If you want the base class members do this



    type.BaseType.GetMembers()
  21. Replies
    7
    Views
    1,226

    Re: Getting Interfaces and Methods from DLL

    Well you'll need to check the BindingFlags parameter of type.GetMembers(). It filters out a lot of the members and properties etc... if you just leave it with the default value.
  22. Replies
    4
    Views
    2,650

    Re: File.Delete File.Move Only Works in Debug

    It works stepping though because of the slower timing present while debugging.
  23. Re: What's the best cross platform approach (Windows/Mac) to deploy a simple service/

    I'd say the easiest is Java C# would need to use Mono to install on a MAC but I think i trust Java a little more with cross platform development. I'm a huge fan of C# but I still think i'd use Java...
  24. Replies
    7
    Views
    1,226

    Re: Getting Interfaces and Methods from DLL

    Try to download RedGate's .NET Reflector you can get a free version of it off download.com.
  25. Replies
    3
    Views
    827

    Re: Multiple Inheritance and conctructors

    Why use a common class theres nothing wrong with inheritance here.

    A truck is an automobile a automobile is a vehicle... straight down the inheritance line theres no problems here. Keep it like...
Results 1 to 25 of 301
Page 1 of 13 1 2 3 4





Click Here to Expand Forum to Full Width

Featured