Here is a function I wrote to check and see if a field exists in a table or not: ''' <summary> ''' Checks to see if a field exists in table or not. ''' </summary> ''' <param name="tblName">Table name to check in</param> ''' <param name="fldName">Field name to check</param> ''' <param name="cnnStr">Connection String to connect to</param> ''' <returns></returns... ''' <remarks></remarks... Public Function DoesFieldExist(ByVal tblName ......
Here is a function I wrote to check if a table exists in database or not: ''' <summary> ''' Checks to see if a table exists in Database or not. ''' </summary> ''' <param name="tblName">Table name to check</param> ''' <param name="cnnStr">Connection String to connect to</param> ''' <returns>Works with Access or SQL</returns> ''' <remarks></remarks... Public Function DoesTableExist(ByVal tblName As String, ByVal cnnStr As String) As Boolean ......
We all drop and use Rich Text Boxes control in our VB apps. It is a rich control (hence the name RichTextBox), with many options to format text. However, all options have to be used through coding in the background. I have also worked with RTBs in several different applications, so I wrote this small extended control for the RichTextBox that displays a toolbar on top, with some common options that the user can perform. One cool option that I added is the spell check option. So instead of dropping ......
I was perplexed for days with a weird scenario. If I maximized my MDI child form, after browsing through a few forms, it would start displaying multiple control boxes on top. I searched for a solution for a while, but no luck. Found this article, which describes almost the same problem but no response: http://www.tech-archive.net... Maybe this guy will come across this post and it might help him (after 4 years! =) Anyway, the fix is actually ......