Quick Search for:  in language:    
PSC,API,addicted,Does,visiting,actually,your,
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,014,970. lines
 Jobs: 119. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!Xp Frames , Xp List Box And XpTextBox (updated!)
By ali s on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Excel Into a webpage
By Bill Donahue on 7/2

(Screen Shot)

Unroll2 - Update
By Cyber Chris on 7/2


MultilinePWD
By Cyber Chris on 7/2


Click here to see a screenshot of this code!Song/Poem Assistant
By Peter Rowan on 7/2

(Screen Shot)

Click here to see a screenshot of this code!GPA Cal
By KBM-00 on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Connection Via the Telephone line.No internet or cable.Just the telephone line
By Nass ClickMan on 7/2

(Screen Shot)

DBTool
By Make Strömberg on 7/2


Click here to see a screenshot of this code!MSChart Simple Example
By Sebastian Pereira on 7/2

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

PSC Monitor - Now downloads in a separate thread for increased speed and stability

Print
Email
 
winzip icon
Submitted on: 6/5/2002 2:07:36 AM
By: MrBobo  
Level: Intermediate
User Rating: By 50 Users
Compatibility:VB 6.0

Users have accessed this code 8344 times.
 

(About the author)
 
     Are you addicted to PSC? Does visiting PSC actually get in the way of your coding? This may help. It checks for new submissions and new votes on your submissions. Now updated to include new comments notification and viewing all comments. It also provides links to the most common pages you use, all in a popup menu in the system tray. Demonstrates downloading using API, disabling right-click menu in web browsers, string parsing, system tray management, internet connection state, handing multiple settings using the registry. UPDATE: The original version of this PSC Monitor used API to download the source code of a selected PSC web page and parsed this source code for specific data. It did this job well, but the application was unresponsive whilst downloading was taking place. To overcome this problem it now uses a separate tiny exe file (BBdowner.exe - source code included) to download the data in a separate thread, thus allowing for multiple tasks being carried out simultaneously and allowing the app to be reponsive even during downloading. I hope you appreciate the increased stability and speed. Before running PSC Monitor, compile BBdowner.exe and place in the same folder as PSCMonitor.exe, thats all - easy!

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 56 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/5/2002 2:28:30 AM:John Galanopoulos
MrBobo, you rock. this is one of the 
coolest and MOST usefull submissions. 
very handy. And i had a pleasand 
surprise :) Thanks for everything. 
Needless to say, 5 Planets!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 2:45:02 AM:J.C. Bize
This is a great idea, thanks for this 
wonderful utility
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 2:48:25 AM:BPeek
This is an excelent app. Well on it's 
way to "Code of The Month"
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 3:22:00 AM:Carles P.V.
***** more!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 8:15:14 AM:Paul Zaczkowski
Truly amazing.  One of the talented 
here at PSC, good luck on your journey 
through life Bobo, and may GOD be with 
you.  *****(5 Stars) from me!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 8:25:06 AM:delTex
I also wanna do this but i simply can't 
since im still a newbie... tnx for 
doing this! This is a blast! 5 for you 
man!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 9:03:34 AM:LouLou
This is a deffinate code of the month 
as long as it doesnt get deleted by a 
f*cking hacker. I will be using this 
regularly and its a deffinate 5 globes 
from me. keep up the good work. An 
extra feature would be to notify us 
when a comment is made and also show 
the comment. Cool Stuff 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 9:28:56 AM:Terry L
MrBobo!!  It's nice to know that we 
still have Programer's around in 
programming for the so call programer's 
to learn from..  Thank you!! and 5 
Apples to the Teacher....  Thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 9:44:00 AM:Geoffrey Hazen
Wow, actually a useful peice of code 
that hasn't been ripped off from 
another site or a programming book. 
Very well organized code. 5 planets 
from me. Too bad someone will 
eventually rip off your code and post 
it 12 months later or on another site 
and call it their own. Keep up the good 
work!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 10:32:23 AM:MrSomeone
nice job!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 10:32:59 AM:DaNo
Wow!!! Very very cool! *****
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 12:24:41 PM:Jeff D
MrBobo  
Great job *****+!  You code 
is not only Outstanding, useful, and 
convienient, but demonstrates many 
functions that can be used in programs 
such as Registry, API, etc.  I really 
like the system tray functionality.  If 
you do modify this in any way, (hard to 
determine what needs improved) be sure 
to let me know.  SUPER PROGRMA(hard to 
determine what needs improved) SUPER 
PROGRAM!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 11:21:14 PM:Glen Marsham
Another very good piece of code
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/6/2002 2:53:31 PM:Russell Kinasz
Wow! Nice code! 5 Globes from me!  =)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/6/2002 3:12:50 PM:Jeff D
Downloaded your code again, said to my 
self again - "This is great, even added 
the Comments on box", must recast my 5 
vote again...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/6/2002 3:23:31 PM:RegX
In regard to server overuse / abuse my 
PSC monitor code is very similiar. I 
actually asked Ian after posting my 
code if there was anything he would 
like me to change to reduce server 
load.
All he said was to make the 
minimum refresh 1 minute instad of 30 
seconds.
So I don't thing there is a 
problem. Also MrBobo is right, this 
could actually reduce the load to the 
server since it is only grabbing the 
source code and not calling images or 
scripts.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/6/2002 11:28:57 PM:Kevin
very good idea... deserves winning
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/10/2002 7:38:56 AM:matt squire
Nice work, this will be very usefull.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/11/2002 2:01:09 AM:Zhu JinYong
Very good application!You make PSC 
people life easy! Thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/12/2002 5:51:30 AM:_Merlin_
Thanks for the help MrBobo!
Works like 
a whistle now.
Keep up the good 
programming. ;D
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/12/2002 11:51:19 AM:_Merlin_
Thanks for the update! It works fine 
now :D
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 9:07:53 AM:RigShiokew
Fantastic coding skills, and tangible 
functionality too. PSC Monitor is 
wicked. 5 Planets for you.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 4:12:45 AM:MrBobo
Important notice to PSC Monitor 
users.
This is important information 
for anyone who has ALREADY downloaded 
PSC Monitor and actually use the app 
regularly. There have been changes made 
to dramatically reduce the strain on 
the PSC server. So if you care about 
PSC and use PSC Monitor, please 
download the newest version. PSC 
Monitor works by downloading the HTML 
source code of a PSC page and 
determines if a new submission has been 
made based on data within that source 
code. The PSC server is quite capable 
of coping with this traffic as no 
images etc. are downloaded - that is 
it's major design advantage over other 
methods. However, it still triggers an 
SQL query, and that is the problem. 
Through various discussions with Ian 
Ippolito a solution has been worked out 
that minimises the strain on the PSC 
SQL server.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 4:13:37 AM:MrBobo
CONTINUED...
The solution is neat, 
clean, and actually increases the speed 
of PSC Monitor dramatically. Credit for 
these changes go entirely to Ian. If 
you use PSC Monitor then get the new 
version for PSC's sake!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 7:57:41 AM:Straxxx
nice code (have u ever tought of a 
browser intergration)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 12:26:08 PM:Snakez
Okay MrBobo, you always make great 
things. This I have to say is one of 
the best! 5 globes and keep up the good 
work. Its nice to see people who do not 
post useless code that just take up 
space on PSC. 
This is a great 
program, but I find it has problems 
detecting the internet while using a 
shared connection on a lan. is this 
just me? if not, i have some code 
somewhere on my hd that tells you if 
your connected, and how (local, 
network). If you need it just ask and 
I'll try to find it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/17/2002 5:34:13 AM:Zhu JinYong
If the comment wrote in  some Language 
such as Chinese,It wouldn't show 
correctly.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/17/2002 5:41:50 AM:MrBobo
I'm not sure if PSC copes with chinese 
characters or not. Initially the 
comments parsing code just did a 
straight parse of English 
characters.
During testing I pointed 
the comments at 
"http://www.planetsourcecode.com/vb/scri
pts/ShowCode.asp?lngWId=1&txtCodeId=3551
7" which is the VBLanguage Pack 
submission.
On retrieving the 
comments, some comments showed strange 
results. After looking at how PSC copes 
with these non-english characters I 
implemented code to cope with this 
situation. However none of those 
characters were chinese. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/17/2002 1:37:12 PM:Vlad Vissoultchev
in frmTicker change Ln 118 to [If Not 
ContactingSite Then PopupMenu 
mnuPUBase, , , , mnuPU(16)] so a 
default menu item is shown in systray 
popup menu
HTH,
</wqw>
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/17/2002 2:13:11 PM:MrBobo
Good idea Vlad, your suggestion has 
been implemented. Thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/18/2002 4:51:21 AM:Vlad Vissoultchev
speaking of optimization you can use 
Brow.Navigate "about:" & 
Replace(getTicker, vbCrLf, " ") instead 
of createing temp .htm file.
i can't 
point lines in frmTicker because it's 
really scattered in the 
code.
HTH,
</wqw>
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/18/2002 9:25:24 AM:M a t t = H a l l
Excellently executed idea! Just one 
thing i object to however; regarding 
the bbdowner.exe concept. Rather than 
saving to the registry, use a command 
line, after all thats what they are 
for! You can contain multiple variables 
in one string by using a split 
character and a sub to extract the 
data. I have a sub i coded myself 
sitting on my computer if you want 
it.
5/5
-[DS]Dark_Side
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/20/2002 4:46:16 AM:M a t t = H a l l
You could even blag it and use Winsock 
to establish a connection with the 
program, that way you can easily tell 
if the arbituary program (bbdowner.exe) 
is running. And this would mean 
PSCMonitor would work un-compiled in 
the design 
environment!
-[DS]Dark_Side
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/29/2002 5:29:29 PM:Vlad Vissoultchev
for a simple in-process framework check 
out 
http://www.planet-source-code.com/vb/scr
ipts/ShowCode.asp?txtCodeId=36373&lngWId
=1
HTH,
</wqw>
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/1/2002 7:08:35 PM:Xsan
I cant find the exe file.it has problem 
when running
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/1/2002 10:14:43 PM:MrBobo
Have a look at the file 
Instructions.txt. The source code for 
the BBdowner.exe is in the enclosed zip 
file. Compile this tiny exe file first.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/20/2002 5:01:29 PM:Juha Soderqvist
Good stuff, i now have a dir called 
MrBobo where i have your totally 
excellent code examples. i give this a 5
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/15/2003 11:47:02 AM:Kundan
Simply fantastic!...It was something I 
was looking for since a long time...5 
globes!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.