![]() |
Need some help - enabling checkboxes - Printable Version +- 0Day Forums (https://0day.red) +-- Forum: Coding (https://0day.red/Forum-Coding) +--- Forum: VB.NET (https://0day.red/Forum-VB-NET) +--- Thread: Need some help - enabling checkboxes (/Thread-Need-some-help-enabling-checkboxes) |
Need some help - enabling checkboxes - Drrequirement5 - 03-15-2013 So in my Skype Bot, I'm making a login, and when you login (from a second form) it tells a label on the first form to change. That label has a text changed event, that when happens, declares the Skype declaration, and then starts listening to the messages you get. Before I did this, in Form1_Load, it worked perfectly fine, but when I have this in the label text change event, it doesn't work. I can't enable anything either (Checkboxes or buttons). And I know it's getting to the voids because I have message boxes show to show how far the code has gotten. It just doesn't do anything except message boxes. I've also tried simply enabling the stuff and making the skype declaration in the text changed event, and that doesn't work either. Text Changed Event: Hidden Content Enable Event: Hidden Content TurnOn Event: Hidden Content RE: Need some help - enabling checkboxes - parody921763 - 03-16-2013 There's not enough information here to help. Does turnon() fire? Have you seen that each of these methods respond to that event call? Why is listfriends() commented out? Hidden Content Looks kind of bulky though, what about a groupbox and some loops? :huh: RE: Need some help - enabling checkboxes - quirksmhugpy - 03-16-2013 I thought you meant like on the windows folders. Recently the folders on my desktop and folders have lost their check boxes. They where quite convenient. Now since they've dissappeared, I must ctrl click them to select more than one. RE: Need some help - enabling checkboxes - sloth584 - 03-16-2013 Quote:(03-16-2013, 04:41 AM)Johnny Wrote: This is a coding forum (Visual Basic & .NET Framework), so I'm not sure why you'd think that... :huh: RE: Need some help - enabling checkboxes - biopsychologistjry - 03-16-2013 Quote:(03-16-2013, 04:09 AM)cxS Wrote: There is enough information, turnon does fire, yet Skype never attaches. listfriends just takes all your friends and puts there info in a listbox, that doesn't work either, that was commented out from before. Quote:(03-16-2013, 04:41 AM)Johnny Wrote: You can re-enable them in Folder Options, or if you're on Windows 8, the View tab. RE: Need some help - enabling checkboxes - grammarians222887 - 03-16-2013 Not really, post your full code and lets see how you have things laid out and where the methods are. I haven't used the Skype class before, so I don't know that much about it. Is it the event handler you're having issues with? RE: Need some help - enabling checkboxes - Mrseladangs316 - 03-16-2013 Quote:(03-17-2013, 12:49 AM)cxS Wrote: It's not just the Skype handler, it's the checkboxes too. Neither work. So it doesn't have anything to do with Skype, that's juat a reaction to it. Let's put our focus on the checkboxes, by the code I have in the thread, it should work, but it doesn't. Which is what I'm wondering about. RE: Need some help - enabling checkboxes - Mrdidodecahedron85 - 03-16-2013 I'm confused.. So User_TextChanged() fires, but it only assigns password, username, turnon() fires, and the MessageBox shows? And when turnon() is fired, how do you know that it is firing? I don't get it, you said MessageBox, but the MessageBox is in the catch? This seems odd. As I said, lets see how you have everything laid out. Quote:by the code I have in the thread, it should work, but it doesn't. If it doesn't work then it shouldn't work. Are you mutli-threading anything? RE: Need some help - enabling checkboxes - Mrkellner8 - 03-16-2013 Quote:(03-17-2013, 12:57 AM)cxS Wrote: I have enable(); in there as well, which is where the textbox is, the textbox shows, so I know it's firing, but the checkboxes don't enable. It looks like it works, I don't see why not, but it doesn't. There's no multi-threading. RE: Need some help - enabling checkboxes - bier50447 - 03-16-2013 Quote:(03-17-2013, 02:04 AM)cxS Wrote: Sorry about that, meant checkboxes, not textboxes. |