Solved

About Dial-Up Networking

Posted on 1998-09-03
18
236 Views
Last Modified: 2010-04-04
1 .Any experts know how to detect dial-up networking when it is active (I mean when it is connected to the ISP)?
I want to make program which counts accumulately how long I've been connected to the ISP for a month. That's why when dial-up networking active, I want my program active too automatically, and when dial-up networking disconnected, I want my program stop counting too.
Please, any experts help me.
2. How to make program which stays in system tray?
(I think my program will act as NetDetect from ICQ).

That's all for now...
Thank you for your attention and kindness...

I'll wait for the answer.
0
Comment
Question by:stinger_60284
  • 6
  • 5
  • 4
  • +1
18 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1338558
stinger,

1. for this you've to go into RAS API.

about 2. You can use RxLib for this or read the following article
:

http://www.delumpa.com/tips/apps/apps3.htm

Regards, Zif.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1338559
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1338560
2.

http://bes.trendline.co.il/torry/vcl/system/tstrayv1.zip
"By T. J. Sobotka. Adds a system tray icon for your application. "

http://bes.trendline.co.il/torry/vcl/system/systray.zip
"By SCV Systems. The TscvSysTray component places an icon in the Win95 System Tray (lower right corner of
taskbar). Mouse events are detected, and returned to the TscvSysTray object, giving you easy access to these
messages. When the user clicks your system tray icon, for example, the TscvSysTray object fires an OnClick
message."

http://bes.trendline.co.il/torry/vcl/system/astray.zip
"By Andrey Abakumov. ASTrayIcon allows you use icon in Windows Taskbar area (animated and non-animated).
Also has ability to remove your task from Taskbar. "

http://bes.trendline.co.il/torry/vcl/system/trayicon.zip
"By Troels Jakobsen. Another tray icon component, but this one generates standard events, where you can actually
check for mousebuttons, keystates, cursor position, etc."

http://bes.trendline.co.il/torry/vcl/system/tray11.zip
By Martin Djernæs. TmdTray is a component which offer a icon in the Windows 95 / NT4.0 tray. TmdTray can
use icons from resources, accept hotkeys for the PopupMenu used and automaticly update of the tray, when the
connected icon is changed. "

1. I'm not really among these experts, but such applications already exist. Quite advanced, with tarifs for different countries:

http://www.webutils.com/en/om/download.html

--Matvey
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:stinger_60284
ID: 1338561
wow!!! good resources... thanks once again Tom for your helping
and you too Matvey... (Hmmm... looks like I have to surf for a long time)
:)
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1338562
Hi Stinger,

for free RxLib go to : http://rx.demo.ru/

Look at RxTray or something like this (in RxControls).

Regards, Zif.
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1338563
****! I shouldn't have installed Online Meter!!! I'd better not know that I owe the telephone company $200 already!!! :-)
0
 

Author Comment

by:stinger_60284
ID: 1338564
What Matvey???
Online meter???
hmmm...
and who knows what are the features of Delphi 4, before I choose to buy Delphi 4
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1338565
The link I gave you above, it's a link to the "Online Meter" download - the same util as the one you're trying to write. People with weak heart shouldn't use such things - the shock is quite big when you look at the amount you owe to the telephone company :)

About features of D4, Zif just putted a question about it: http://www.experts-exchange.com/Q.10078058

c u, Matvey
0
 
LVL 1

Expert Comment

by:venks
ID: 1338566
dear stinger_60284
You have to dowload just two components from Torry's delphi pages
they are RASDIAL and TFnugryRASNotify components available in Communication Page.
They will take care of all your dial up connection rerquirements.
RASDIAL is for connecting to the iSP and the seocnd one detects
connection to the ISP and disconnection to the ISP
Regarding tray icon it is availble in RX library.
Venks
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1338567
venks, ...

I've the slightest idea that you don't read the comments already on the thread, before proposing an answer...

No offence dough,

Regards, Zif.
0
 

Author Comment

by:stinger_60284
ID: 1338568
hmm... need more specific answer.
i agree with Tom
sorry Venks, but thanks anyway
0
 
LVL 1

Accepted Solution

by:
venks earned 200 total points
ID: 1338569
Dear Zifnab and stinger_60284
I feel both of you don't know what you want.I have already developed an application which does the tasks required by stinger.
Experts exchange is a forum for giving guidance and not giving source code for every one.One has to work out the code itself.
I did read the comments and I found them no use to the task at hand.

As for the question at hand stinger wanted to make a program and not buy one.That is the reason I had given the name of the componentsI am quoting from his question
" I want to make program which counts accumulately how long I've been connected to the ISP for a month. That's why when dial-up networking active, I want my program active too automatically, and when dial-up networking disconnected, I want my program stop counting too.
Please, any experts help me. " 
I hope you will keep this in mind before giving such comments.
I for one (ZifNab will bear me out since I had sent what he wanted once) goes to extreme lengths to help out people.
But I certainly do not like the commeents s given out by zifnab
Regards
Venks
0
 

Author Comment

by:stinger_60284
ID: 1338570
Okay Venks... Thanks anyway for the help.
But I'm confusing about the URL of Torry's delphi pages.
Could you help me once more time?
0
 

Author Comment

by:stinger_60284
ID: 1338571
Ups... sorry, I think I know Tori's place...
okay...

0
 
LVL 1

Expert Comment

by:venks
ID: 1338572
dear stinger_60284
It is www.torry.ru
Please look under Communications
There is also a compo called dial up which is useful for DUN connections.
Regards
Venk
0
 

Author Comment

by:stinger_60284
ID: 1338573
great!!!
thanks Venk
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1338574
Venks, didn't wanted to mean you harm by my comment... had it only on number 2 of question... about RxLib... this was already told.
0
 
LVL 1

Expert Comment

by:venks
ID: 1338575
Dear Zifnab
Thanks
venks
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question