Home >> Code Snippets
|Disable Right Click Popup Menu||Version: VB6|
|Author: Nikunj Bhatt||Submitted: 8/5/2008||Views: 14712|
|This is can be used for many type of controls, mainly for textbox, to make the user unable to open the right click popup menu.
User will need only an extra Timer control for this. No need for SendMessage, Hooking or any other API.
Put a Timer control ...more>>|
|Disable EFFECT of Right Click Popup Menu||Version: VB6|
|Author: Nikunj Bhatt||Submitted: 8/5/2008||Views: 8169|
|This a method of disabling the EFFECT of right click popup menu, for mainly Textbox like controls.
My earlier method was by using a timer control which actually disables the right click menu for a subtle time. Now this is by using a Label and this just d ...more>>|
|Number to Text conversion||Version: VB6|
|Author: Dinesh G||Submitted: 4/25/2008||Views: 15928|
|This function converts number to text in the range 0.00 to 999999999.99
|How to make content of RichTextBox unselectable||Version: VB6|
|Author: Yash Bhardwaj||Submitted: 4/8/2008||Views: 10032|
|In many situations, if you want to display some text in your application and side-by-side you want to prevent the user from copying the content. One way to implement this use label, but label do not support the formatting of the text and RTF formats. So i ...more>>|
|Editing MSFlexGrid in vb6||Version: VB6|
|Author: Gaurish Salunke||Submitted: 4/5/2008||Views: 21208|
|As you all know that by default we cannot write in MSFlexgrid. In order to edit the records in MSFlexgrid we need to explicitly write a code.
This is how it works.
We drop a text box on the form. Now whenever we click on any of the cells in the gri ...more>>|
|File Folder Hirerchy to XML||Version: VB.NET 2003|
|Author: Ajay||Submitted: 2/23/2008||Views: 9702|
|This code generates an XML file in the given directory with contents same as Explorer hierarchy. It also displays the files size and change date including folders description like Number of files or folders.
It can be used when you want to make a CD/D ...more>>|
|midReturn||Version: VB.NET 2003|
|Author: MacLeod Broad||Submitted: 2/8/2008||Views: 8874|
|Return the substring between two strings. For Example: the phrase "The cow likes to eat green grass in the field."
midReturn("to eat "," grass", ""The cow likes to eat green grass in the field.")
Would return "green"
|Work With OracleDependency||Version: VB 2005|
|Author: Gehan Fernando||Submitted: 2/7/2008||Views: 10946|
| 'With the introduction of Oracle Database 10g Release 2, you have a new option that addresses the
'Limitations inherent in previous approaches to dealing with changing data: database change notification.
'When you use database change notificati ...more>>|
<< Previous Page 12 of 66 Next >>
|Author: MacLeod Broad||Submitted: 1/15/2008||Views: 7716|
|Replaces a single line of a file. Perfect for making changes to ini files, cfg files, text files, etc... If the file is empty it returns Error 62 and if the line number you want to replace is out of bounds then it returns Error 32202.
Usage example: Cal ...more>>|
Go to page: 12 13 14 15 16 17 ...