User Profile

Collapse

Profile Sidebar

Collapse
halimunan
halimunan
Last Activity: Nov 9 '07, 02:41 AM
Joined: Jun 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • halimunan
    started a topic [C#] help file.close unhandled exception
    in .NET

    [C#] help file.close unhandled exception

    hi all,




    i`m doing an application to zip a file. this require system.io.file

    but i`m having problem as it cannot run because the error above..
    do i need to close the File.xxx as the library dont have the close function..

    can anyone help?...
    See more | Go to post

  • hrm.. okay... i know how to measure the difference between two time..

    but how do i set the starting point when the download start... and of course when the download completed.

    DateTime startTime = DateTime.Now; <--- where should i put this?
    DateTime stopTime = DateTime.Now; <--- and where should i put this?


    i mean.. maybe start time i can put it when i click the download/upload button......
    See more | Go to post

    Leave a comment:


  • erm.. okay, let me give a clearer explanation...

    - my .exe program will run to copy and delete files at the same time.

    - it will copy from folder "a" to folder "b"

    - and then delete some files from both folders

    - the copy and delete depends on the variable which i can determine in the .config file

    - how do make the .exe file "just delete and not copy"...
    See more | Go to post

    Leave a comment:


  • (c#) how do i disable the code from configuration file? (the xml.. the .config file)

    hi all,

    i have this program that will run and the result is based on the .config file.
    how do i disable the code from the config file ?

    for example...

    i want some method to not functioning when i change the variable in the config file..

    e.g:

    my .exe file will copy and delete files at the same time..
    how do i disable the copy function so that the .exe will only...
    See more | Go to post

  • owh.. good.. it works... thanks man!

    it deletes all the files but not folders.. and this maybe due to the "read only" on the folders...
    how do i change this? directory.SetAc cessControl?

    because everytime i tried to change the status.. it will then become "read only" again...
    See more | Go to post

    Leave a comment:


  • (c#) delete all files and folders in a directory recursively

    hello all,

    how do i delete all folders and files inside a directory while at the same time keeping(not deleting the directory) ? e.g : i want to delete all folders and files inside c:\temp

    it seems like i need to use file.delete and directory.delet e at the same time.
    See more | Go to post

  • how to measure download/upload speed? (programming, C#)

    Hello all,

    I have a question, how do i measure the download/upload speed... as if download rate, upload rate or kbps transfer rate.
    i want to do my own windows application using C# to measure the download speed.

    the idea is this.
    1. i will put a file at a serverA.
    2. i download the file
    3. i measure the speed of the download(how long it would take me to complete the download)

    ...
    See more | Go to post
No activity results to display
Show More
Working...