Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 22-03-2011, 02:30 PM   #1 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Writing application for net usage


first the exe :: [DEPRECATED]here

the network connection "Local Area Connection" is hard coded. please remove 1 or 2 for application to work

i am writing it as download speeds drop sometimes to 10 KB/s etc. at night
it is painful that computer was on all night and with only 4MB of download
(specially if u spend 1.5K per month on electricity)

will be adding a shutdown timer too
double click on taskbar icon to toggle states.

color code:
green: current download above minimun download rate (in KB/s)
yellow :current download between minimun rate and 1/3 of dwnl rate(in KB/s)
red :current download below minimun download rate (in KB/s)

please comment
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.

Last edited by arpanmukherjee1; 23-03-2011 at 01:14 AM.
arpanmukherjee1 is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-03-2011, 03:03 PM   #2 (permalink)
NULL_PTR
 
Join Date: Jan 2006
Location: Dangling Pointer
Posts: 88
Default Re: Writing application for net usage

gives this exception

Quote:
System.NullReferenceException: Object reference not set to an instance of an object.
at DNOverLord.NetMeter.UpdateInterfaceTraffice()
at DNOverLord.Form1.t_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
__________________
Writing Mine Own Os
Wanna Join Pm ME
umeshtangnu is offline   Reply With Quote
Old 23-03-2011, 01:09 AM   #3 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Writing application for net usage

^^ it is because the network name was not named properly

no problem though

version 2.0 release is here [UPDATED]

features:
> selectable network adapter
> support for time out for shutdown, hibernate etc...
> better exception handling
> new grey icon if minimum speed for downloading is not set
> extra property display

the shutdown and restart is not tested on win 7

win 7 users, please check it out

comments required..

> do you find it useful ?
> is there such a app elsewhere ?? (this is the ques i am finding an answer)
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.

Last edited by arpanmukherjee1; 23-03-2011 at 09:06 PM.
arpanmukherjee1 is offline   Reply With Quote
Old 23-03-2011, 01:22 PM   #4 (permalink)
NULL_PTR
 
Join Date: Jan 2006
Location: Dangling Pointer
Posts: 88
Default Re: Writing application for net usage

> do you find it useful ? i would have if had to pay for electricity
> is there such a app elsewhere ?? dont know this is the first one i have encountered.


you should also add a minimize button so that application will hide on minimize
__________________
Writing Mine Own Os
Wanna Join Pm ME
umeshtangnu is offline   Reply With Quote
Old 23-03-2011, 09:07 PM   #5 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Writing application for net usage

file updated in the post. right click the taskbar icon to exit. close button minimizes application.
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Old 24-03-2011, 10:48 PM   #6 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Writing application for net usage

Version 2.5 Alpha

> included auto Wake UP. dependent on the user BIOS and mobo driver.

note: still in alpha stage. the computer restarts two times. will look into it tommorrow

requesting TDF members to review it and post comments
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Old 24-03-2011, 11:11 PM   #7 (permalink)
In The Zone
 
cute.bandar's Avatar
 
Join Date: Jan 2010
Posts: 408
Default Re: Writing application for net usage

tried it ! it works and the concept is interesting and useful.
I'll keep the application around for when I need to do an overnight download. Thanks!
Suggestion: you may want to add somewhere a description of what the program does. A one liner like: "this program turn's off the PC when the download speed drops below a certain level"
__________________
Computer parts search Engine(for india) : http://goo.gl/Sg8Yv
cute.bandar is online now   Reply With Quote
Old 24-03-2011, 11:48 PM   #8 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Writing application for net usage

^^ thanks 4 sugess.

any other relevant functionality that can be added ???
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Old 25-03-2011, 12:01 AM   #9 (permalink)
In The Zone
 
cute.bandar's Avatar
 
Join Date: Jan 2010
Posts: 408
Default Re: Writing application for net usage

nope, you are already adding the shutdown timer, so that seems feature complete to me...
__________________
Computer parts search Engine(for india) : http://goo.gl/Sg8Yv
cute.bandar is online now   Reply With Quote
Old 25-03-2011, 06:42 PM   #10 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default Re: Writing application for net usage

it gives this .NET framework initialization error
"unable to find a version of the runtime to run this app"

i installed .NET framework 4 this morning... which version does it require?
nims11 is online now   Reply With Quote
Old 27-03-2011, 02:24 PM   #11 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Writing application for net usage

^^requires .NET 3.5. should work on .net 4 as well.

it have VS2010. So that can be easily arranged

here is the 64bit version on .NET 4

i may add that installing .net 4 on XP will not install .net 3.5 unlike win 7 that has .net 3.5 SP1 at installation time

EDIT------------------------------------------------------------------


my app still has bugs but i have no time to fix them.

office timings are killing me

Can somebody run it through a sandbox and report bugs, memory leaks, time etc....

nothing
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx
- by clinton

Advertisement




All times are GMT +5.5. The time now is 12:25 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2