Weather List 2.0
Average Rating: 8
Yours: -1
File Size: 1.78MB
Downloads Today: 0 Downloads Total: 2182

Weather List 2.0

Updated Jul 10, 2009 by Vad_M


First Previous Page 1 of 2 Next Last
hallv5
Comment #1 Sunday, June 15, 2008 6:48 AM
Very nice. Neat idea.
butch123
Comment #2 Sunday, June 15, 2008 6:54 AM
Very nice work...  
zakai1369
Comment #3 Sunday, June 15, 2008 8:54 AM
Cool. Great job
sAARGe
Comment #4 Sunday, June 15, 2008 10:55 AM
This is fantastic .....   
Vad_M
Comment #5 Sunday, June 15, 2008 2:56 PM
Thank you my Friends! I hope this widget will show you a new way of using Microsoft ActiveX controls in DesktopX that considerably expand its scope.   
The1Warlock
Comment #6 Sunday, June 15, 2008 5:39 PM
WOW! Very nice!  
RomanDA
Comment #7 Sunday, June 15, 2008 5:41 PM
again amazing stuff.. i need to spend about a week looking at this to see how i can make use of it in DX. you are soooo good!
Vad_M
Comment #8 Sunday, June 15, 2008 6:08 PM
i need to spend about a week looking at this to see how i can make use of it in DX
You may do everything you want! For example: file explorers, data lists, etc...

The only problem - ImageList doesn't work with png-files and doesn't support 32-bit color (may be this is because of Stardock that forgot to add this option)... So you'll need to draw lots of icons in *.bmp format for each of your projects if you want to use 24-bit images.

Good luck with DesktopX!   
StephanA
Comment #9 Monday, June 16, 2008 10:54 AM
Excellent! How do I change to metric units?   
Vad_M
Comment #10 Monday, June 16, 2008 11:35 AM
Thank you Stephan!

Hmmm... This is template widget so it hasn't any adjustments.

However you may do this manually:

1. Open widget in DesktopX Builder

2. Right click on DX Builder icon in the system tray and select List Objects. Then find the WeatherIcon object in the list, right click on it and select Edit Script.

3. Go to RegEdit and look at the value of key: HKEY_CURRENT_USER\Control Panel\International\LocaleName

4. Then open the WeatherIcon script and find this code:

Sub Object_OnScriptEnter
On Error Resume Next
Dim slc,stm
If IsNumeric("2.0") Then sep = "." Else sep = ","
wfdall = "" : wfdimp = ""
'AUTO DETECTING YOUR LOCAL SETTINGS
Set objShell = CreateObject("WScript.Shell")
slc = objShell.RegRead("HKEY_CURRENT_USER\Control Panel\International\LocaleName")
stm = objShell.RegRead("HKEY_CURRENT_USER\Control Panel\International\sTimeFormat")
Set objShell = nothing
If instr(stm,"tt") > 0 Then mode = "12" Else mode = "24"
Select Case LCase(slc)
Case "ru-ru","YOUR LANGUAGE" '<== enter your language code from the registry here
lang = "Russian|ru" : tempID = "SI" : tu = Chr(176)&"C" : pressID = "SI" : pu = "mmHg" : windID = "SI" : wu = "m/s" : du = "km"
Case "en-gb","en-uk","YOUR LANGUAGE" '<== or here...
lang = "English|gb" : tempID = "SI" : tu = Chr(176)&"C" : pressID = "SI" : pu = "mbar" : windID = "SI" : wu = "km/h" : du = "km"
Case Else
lang = "English|us" : tempID = "US/IMP" : tu = Chr(176)&"F" : pressID = "US/IMP" : pu = "inHg" : windID = "US/IMP" : wu = "mph" : du = "mi"
End Select
Set slc = nothing : Set stm = nothing
End Sub

5. After that close the script and press "Apply" button. Then save a project as a DX object (or as a widget). Now it will show your data in the metric units.

Best Regards.

P.S. As well you may tell me what is your default language. I'll add the necessary changes into the script and send you the widget by E-mail.
DigitalCHET
Comment #11 Monday, June 16, 2008 3:52 PM
Great work once again, Vad.

Looking at your creations makes me wish I had the time and skill to create something better than a zoomer in DX.
excel57
Comment #12 Monday, June 16, 2008 8:46 PM
Hello Vad I really enjoyed all of your widgets but I am having a problem with the weather list 2.0 after I open it up all I have is an empty box there are no views, what do I need to do to get all the views to show up. Using XP3
Vad_M
Comment #13 Tuesday, June 17, 2008 4:48 AM
Did you see anything on the left part of widget or these both lists are empty? If you see the TreeView on the left part just select any Region/Country and widget will work. In the other case I think that you have not the necessary Microsoft ActiveX objects installed!

To check this please run DesktopX Builder and create New Object.
Press "New" button.
Press "Script" tab.
Select "ActiveX Control" --> "Select control".
Look at the list of controls and try to find these three items in it:
1. Microsoft ImageList Control, version 6.0
2. Microsoft ListView Control, version 6.0
3. Microsoft TreeView Control, version 6.0

You need to update your system if you have not one of these controls!
StephanA
Comment #14 Tuesday, June 17, 2008 8:46 AM
Hi Vad, I tried as you instructed, however, on my first attempt I could only find WeatherImage and no WeatherIcon in sight. If you would be so kind, please add the necessary changes and email to me a metric version in English language to stephaleksisATmsnDOTcom. Please only do it when you have some free time and many thanks in advance.   
Vad_M
Comment #15 Tuesday, June 17, 2008 8:59 AM
Hmmm... This is very, very strange!   

Ok. I'll send e-mail for you in a minute.
excel57
Comment #16 Tuesday, June 17, 2008 9:56 AM
Hi Vad, Thank you for the reply, I have all the necessary activeX objects installed. I have no views in the left or right sections of the widget, pressing the buttoms has no effect.
Vad_M
Comment #17 Tuesday, June 17, 2008 10:24 AM
This is much strange!

You need to press a button in a two cases:
1. When label text is: "Get Weather Forecast"
2. When label text is: "Change Location"
In the other cases you just need to press (select) items in the lists.

Please send me the screenshot of your desktop by e-mail. I need see what happens with the widget on your computer after its loading.
Dan Dunn
Comment #18 Tuesday, June 17, 2008 12:07 PM
This doesn't work for me. I get a window, called "Location Settings" with two blank panels and a button on the bottom called "Select a Region." The close button works great though, thanks for that! DD
Vad_M
Comment #19 Tuesday, June 17, 2008 12:26 PM
I can't understand why you didn't read the text on the top of this page?...

THIS IS NOT A WIDGET FOR USING! THIS IS ONLY A SCRIPT EXAMPLE WHICH MAY REQUIRE ADJUSTMENT FOR SOME COMPUTER SYSTEMS. I MADE THIS TO HELP PEOPLE LEARN THE DESKTOPX SCRIPTING BUT NOT FOR GETTING THE WEATHER FORECAST.

If you need the Weather Forecast go here: WWW Link
WebGizmos
Comment #20 Saturday, June 21, 2008 5:33 AM
Vad....you never cease to amaze!

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading files.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!

Featured DesktopX Widgets

Popular DesktopX Widgets

Top DesktopX Widgets Skinners

Yesterday  |   Last 30 Days  |   All Time
1. RedneckDude 3469
2. Doubird 634
3. romanda 506
4. lovely62 491
5. _Martin_ 362
6. Tiggz 280
7. adni18 241
8. neophil78 233
9. Chasbo 188
10. Vad_M 184
11. Richard Mohler 160
12. Frogboy 127
13. BoXXi 116
14. buzzh58 106
15. jaidaksghost 106



walnut2