Recommended Posts

I wrote this to display weather info and to alert me when it rains and such. Works outside the US too (try putting in your city name).

Let me know what you think of it, and if you have any problems; I've tested it on 2K & XP, but I've no 98 boxes so I've not tested it on that. For Vista you need to install the .NET framework 1.1 (Vista only includes 2.0/3.0), and set the compatibility mode to Windows Sever 2003.

Note that you need the .NET framework or you'll get weird errors on startup.

download .net framework

I had originally decided to write it when I neglected to realize it was raining and went to class, only to get soaked because I didn't have time to go back up and get my jacket. I figured it'd be handy to have balloon tips when it rains and such; ironically it took me forever to get that to work, because of the way that the .net framework handles tray icons; you can't just use the standard Win API stuff and send your window handle, because the tray icons have their own hidden windows. Anyway it was originally written in VB, then I rewrote it in C# for the hell of it, and made the UI much more efficient (it used to be a lot bigger, although the weather.com links sort of negated my improvements in that area); then I figured, since most of my college goes home for the weekend, it'd be pretty handy to have the weather information for both locations (home & school). It's the first actual application I've written, and the first time I'd used .NET, C#, and full-fledged VB (I'd previously used the latter with scripting and ASP, which is why I originally started writing it in VB, a decision which I later regretted, since I didn't realize that C# was just as easy but without the handholding...all I'd written before were QBASIC programs (I had some pretty kick-ass QB stuff back in the day), and then console programs in C++ and Java, as well as a Java app (both for CS class))...for everything else, I figured "why reinvent the wheel"...but I'm pretty sure this is the only weather program that displays balloon tip alerts when it starts raining (and so on), and I think they're pretty damn cool. Plus the interface is nice and efficient, and it's not riddled with banner ads and all sorts of cluttered crap.

I know it does up a lot of memory when it's not minimized :pinch: ; that's just how the framework works. C# was easy enough to pick up, but muddling through full-fledged C++ for something like this is sorta overkill (but I may end up doing it anyway :D). But I think of it this way: when you're looking at the full weather information, it's probably not going to be when you're in the middle of playing a game or things like that; you'll have it minimized when you're doing intensive stuff, and when it's minimized it takes up very little memory. That and the fact that I have ample RAM. I guess. *shrug*

Updates (it's getting too long to keep the full list since the beginning):

--use the autoupdate feature to keep track (easier that way)

You can see many screenshots at the homepage: http://www.ic.sunysb.edu/stu/msowul - go to "Projects" and then "WeathAlert"

Download now!

post-88-1087235503.jpg

Edited by darkmark327
Link to comment
https://www.neowin.net/forum/topic/175813-weatheralert/
Share on other sites

@slap--i've tested it on plain windows server without issue, i don't know why it doesn't like TS; it doesn't really need special rights, just write access to its directory & registry key (& web access, but lack of that won't make it crash).

@insane kiwi--actually it does for some places, try yours

@magoo--i know! i dont' know why that happens, i wish it could take up the low memory always...when you minimize it and restore it is still low; it must be the framework, I suspect it's all the hidden windows they use for the controls...I know it's inefficient, but I don't feel like rewriting it in straight MFC/ATL C++, it'd be a pain.

Note that I discovered that the temp alerts don't work; I've updated the download to fix it. I've also made a few other small improvements, like the minimize to tray (it no longer minimizes & restores, but rather just hides). I should start a changelog i suppose. Let me know if you have any other problems, and thanks for the support.

Edited by darkmark327
Link to comment
https://www.neowin.net/forum/topic/175813-weatheralert/#findComment-2247628
Share on other sites

I might add- i dont know if you can sort this- although its got vvvv low memory use when in the tray minimized, when maximized (for me) its running ~ 17 meg - quite high for this kind of app.

It's how the framework handles memory. It reserves itself some until another app needs it. It will release that memory as soon as something else calls for it.

Link to comment
https://www.neowin.net/forum/topic/175813-weatheralert/#findComment-2260730
Share on other sites

Just tried it on my neighbors machine. Looking good. Won't put it on mine though as I will have nothing to do with .netframework stuff. At least, not until absolutely necessary.

Out of curiousity, any particular reason why you're avoiding the framework?

Here's a ss, which is actually larger than the download of the program itself.

Next version (compliant with weather.com's requirements) out soon. As you can see, they make me include attribution to them and links that they provide. It's not terribly intrusive, and it lets me use their XML feed for free, so I can't complain. In any event, it would be nice if all the links they give me actually worked; the "pollen reports" link just shows a blank page, lol...their loss :rolleyes:

edit: weird how the upper right corner is squared off, since it's actually rounded on my actual windows.

post-88-1087006219.png

Edited by darkmark327
Link to comment
https://www.neowin.net/forum/topic/175813-weatheralert/#findComment-2263965
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Not such a great deal, Ultimate, which gives you full 5080 features is $181.99 CAD per month, that's $2183.88 per year, I can buy the 5080 for $1809.99 CAD, then it goes up to $279.99 per month after the first billing cycle. Typical cloud rental, costs more than buying the hardware.
    • Wow, spoken like a true blind hater, you don't even provide arguments. Please, go check my comment above to @seacaptain and you'll find out why what you say doesn't make sense in this context...
    • Get used to this, with AI tooling now uncovering new vulns and getting them exploitable far faster than has ever been possible before software is going to need to be updated far more frequently. Back in the day it may take reseachers weeks or months to do what AI can now do in hours. Once its a threat is discovered it's weaponsized far more quickly, meaning you simply can't be waiting 2, 3, 4 weeks to deploy a patch, it needs to be patched immediately. Going to be interesting handling this in the enterprise space where traditionally patching has been steady, but very staged (and rightly so up until now), that is going to have to change.
    • You don't need to "close all browser sessions constantly" or wait for updates to install. The updates download in the background while you use the browser, without interrupting you, they install automatically the next time you launch the app. And they install very fast (depending on your storage speeds, of course), you have to wait at most 2-3 extra seconds, if any. Seems like you haven't used Edge in a loooooooong time...
    • Segra 1.6.0 by Razvan Serea Segra is a free, open-source OBS-powered game recorder offering fast gameplay capture, instant clips, AI highlights, deep game integration, and seamless uploads—perfect for gamers, streamers, and content creators. Lightweight, fast, zero bloat. Segra key features: Automatic Game Recording: Begin capturing gameplay the moment your game launches, with zero manual setup. Instant Clipping: Save important moments instantly using a customizable hotkey—perfect for highlights, montages, or quick shares. Segra AI Highlights: Let Segra automatically detect kills, assists, deaths, and key events to generate polished highlight reels without manual editing. Gameplay Uploads: Upload recordings and clips directly to Segra.tv for fast sharing and cloud access. Deep Game Integration: Enjoy advanced game-data tracking across hundreds of supported titles, enabling smart highlight generation and stat-informed clipping. High-Performance Capture: Record up to 4K at 144 FPS using OBS-powered technology with minimal performance impact, supporting NVENC, AMD VCE, and custom quality controls. Segra Editor: Edit recordings easily with timeline controls, segment management, and event-based navigation to build the perfect clip. Customization Options: Adjust hotkeys, output formats, storage paths, codecs, capture quality, and performance settings for a tailored recording experience. Segra 1.6.0 changelog: Recording: Added HDR support. Grand Theft Auto: Added game integration for deaths (FiveM and RAGE MP supported). Highlights: Added customizable padding for highlights. Replay Buffer: Added a shockwave visual effect when a replay buffer clip is saved. Audio: Increased the maximum sound effects volume from 100% to 200%. Hotkeys: Fixed hotkeys not triggering while unrelated keys were held. Installer: Added code signing to verify publisher identity, branded the installer, and reduced OS security warnings. OBS: Updated the supported OBS version to 32.1.2. Download: Segra 1.6.0 | 74.4 MB (Open Source) View: Segra Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      PsYcHoKiLLa
      175
    3. 3
      +Edouard
      163
    4. 4
      Steven P.
      86
    5. 5
      ATLien_0
      79
  • Tell a friend

    Love Neowin? Tell a friend!