Tekk News

Thursday, April 20, 2006

VB.Net 2003 Bug?

In my dealing with VB.Net 2003, I came across an insteresting problem, and I am thinking that it's a bug. I placed a ListBox on a form, and initialized it via the properties page to have SelectionMode = None. Now, I had some previous code for this ListBox already written before I made this change. One of the lines of code I had was Listbox.SelectedItem = -1, I did this in order to insure that no items were selected. What I didn't realize is that by doing this with the previous setting, that VB.Net would literally hang (freeze). No error to trap, nothing, just hangs. Wonder if I found a bug...


Monday, April 17, 2006

Rich Textboxes

This entry should be short and sweet. I started working with RichTextboxes a few days ago. I never had a need for them before, but I thought it could add a little professional flair to part of my application. Boy I had no idea the work behind getting the editing portion of a RichTextbox working. You have to manually code all of the text styling options yourself. First I have to create all the icons for my Toolbar, then I have to manually append the proper objects to the Toolbar object at run-time. Which then of course means that I had to create AddHandler's for each of the object I added. Then I had to develop the logic to be able to toggle certain "style" features of a selected text area, like Bold, Italic and Underline. What I though was going to be a simple quick glamour addon turned into an irritating and long mini-project. Thankfully, I am almost done.



About Me

Name: Tekk Guy
Country: United States




About Me: I'm that tech guy…you know the one. When things are broken, I fix them. When they don't make sense, I explain them. When nothing is getting done, I do it. When a void occurs, I fill it. When there is silence on the call, I state the necessary. I'm that guy in IT that is relied upon by the competent as the nth tier of support, overlooked by management, and despised by the slackers. An InfoTech professional, aficionado of all things technological. I've been getting my geek on full-time since 1993, and have worked with information technology in some capacity since 1997 including VB 4-6, ASP, .Net, SQL, Java, HTML, ColdFusion, VBS, JS, Crystal Reports, COGNOS and more. I've worked on global scale environments for Fortune 500 companies and as a software engineer for local government agencies. My expertise is in Visual Basic currently in the .Net flavor, and focuses on user applications. I am also currently active in the ASP.Net programming arena, specializing in DotNetNuke Module development, site creation, and administration. Stated simply, if you need to get information from a-to-z, I'm the guy you want to see.


See my complete profile

Archives

March 2006
April 2006
May 2006
September 2006
October 2006
January 2007
July 2009
August 2009
November 2009
February 2010
November 2010
April 2013

Recent Entries




Progamming Links

.Net Rocks!
GotDotNet




Get awesome blog templates like this one from BlogSkins.com