Reload the Changes in an lmhosts File Without Rebooting the System
From the command prompt, type: nbtstat -R This will reload the lmhosts file, and you won’t have to reboot the system for the changes to take affect.
From the command prompt, type: nbtstat -R This will reload the lmhosts file, and you won’t have to reboot the system for the changes to take affect.
Before starting, add the Microsoft DAO 3.51 Object Library Reference. Private Sub Form_Load() Dim WkSp As Workspace Dim dB As Database ‘Define the file .MDW where are the users and
You can use the ‘With … End With’ statements if you are using VBScript 5.0 or later. It helps to improve performance. This runs slower: PersonObj.FirstName = “Sandeep”PersonObj.LastName = “Gain”PersonObj.City
Oracle DBA’s can run this query to terminate sessions if users are inactive for more than certain time period for any Security/Performance reasons. select s.username “User”, s.osuser “OS User”, s.sid
Use Environ var. This Works Only on Windows NT and 2000. Me.Label1 = “Temp Dir – ” & Environ$(“temp”) Me.Label2 = “Sys Dir – ” & Environ$(“windir”) &IIf(Len(Environ$(“OS”)), “SYSTEM32”, “SYSTEM”)
MSVC has a small, but annoying bug with the scope of variables defined in “for” loops. For example, the following fragment is valid C++, but will not compile on MSVC:
Normally, when you allocate an array using new or malloc in VC++, you can only see the first element when you look at the variable in the watch window. To
Many of the C runtime functions have direct equivalents in the Win32 application programming interface (API). However, when you use C-Runtime functions, you need to have C-Runtime startup code and
Loops (for, while, do..while) are used often in code?especially nested loops. Eventually, you need to exit the loop by using a “break” statement. However, if you are inside of a