got a Christmas treeview... but when I turn on the switch nothing seems to happen... any ideas what could be wrong?
-tg
Printable View
got a Christmas treeview... but when I turn on the switch nothing seems to happen... any ideas what could be wrong?
-tg
You mean like this one, but more Christmassy?
http://www.filebuzz.com/software_scr...w_outliner.gif
As for the problem, did you check in Battle Programming 2011? I'm sure there's an article in it about christmas trees.
Are you sure the tree is plugged in?
Did you try individual branches to see if one of them is out? I've had trees where if one branch was out, the entire tree didn't work.
baja - no, I'm using the tree from the secular tool box... it's more green than that... And I did look in the battle book... for all the wealth of knowledge in there, this was one area it was lacking.
hack - I see the branches, but no plug... I got the lights addon... several of them... do I need to reference them?
man, this is all so confusing...
-tg
Yes, of course. Just like any other tree object they need to be instanced.
(I'm assuming you using the Christmas.Tree class correct?) Tryvb.net Code:
Imports System.Christmas.Tree Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles Button1.Click Dim myLights As New TreeLights If myLights.On = True Then MessageBox.Show("Deck The Halls") Else MessageBox.Show("Deck The Tree Salesman") End If End Sub End Class
My boss wants flashing lights! Please help!
Hack - that helped... except they weren't new lights, but old ones from last year... so I had to pass in the Attic.Container(contentType.Decorations) to the constructor... bleh... now some work, some dont...
Need to test the bulbs to see which one is busted....
-tgCode:For Each Light as C7Bulb In Strand.Lights
If not Light.Works Then
Strand.Lights.Swap(Light, new Light(colorRandom))
End If
Next
Dear customer,
we value your decision to buy out Christmas Treeview and are sorry to hear that you are having trouble with it. We have dispatched a service person to your location to resolve the problem. He will be there promptly. This is his picture:
http://profile.ak.fbcdn.net/hprofile..._2812609_n.jpg
P.S: Please note that the tank top is not part of the company uniform.
Well I hope he doesn't arrive shirtless or worse.
I believe the lights are actually a linked list. If one of the links is broken or invalid, electrons won't be able to parse the entire list.