VB6 Application Cannot Access to Mapped Drives

Problem : User open window dialog to pick a file on mapped drive, but the user cannot browse to the drive.

Solution : configure the EnableLinkedConnections registry value

Error regsvr32 TortoiseSVNSCC.dll

I run regsvr32 TortoiseSVNSCC.dll on Vista, but it fails and Windows shows this message :

Microsoft(C) Register Server has stopped working

A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is available.

Then “Problem Report and Solutions” window appear.
===========================================

The solution I try :
run this file TortoiseSVNSCC.reg using regedit

Disable Automatic Hidden Shares

I don’t know the reason, why Windows always automatically create hidden shares to the local disk drives and some user’s folders. The shares are normally accessed via \\\c$ and \\\d$ depending on the drive letter.

To disable this condition,
1. open registry editor, Start | Run, type regedit and press Enter.
2. find key [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\
Parameters]
3. Create a new DWORD value for ‘AutoShareWks’ and ‘AutoShareServer’. Set the value to equal ‘0’. If the values already exist then modify them to equal ‘0’.
4. restart the computer.
^_^

How to Faster Windows Vista Copy File Without Long Calculating Time

I experience poor slow copy file performance over the network in Windows Vista. After i googling, i found that “Remote Differential Compression” may cause of that.

Remote Differential Compression is a Windows feature introduced in Windows Server 2003 and is available on all later versions of Windows. This Windows feature is enabled by default in Windows Vista.

Remote Differential Compression (RDC) allows data to be synchronized with a remote source using compression techniques to minimize the amount of data sent across the network. RDC is different from patching-oriented differencing mechanisms, such as Binary Delta Compression (BDC), that are designed to operate only on known versions of a single file. BDC requires the server to have copies of all versions of the file, and differences between each pair of versions are precomputed so that they can be distributed efficiently from a server to multiple clients.

So to fasten, try follow this steps,

First, turn off “Remote Differential Compression”, go to Control Panel | Turn Windows features on or off, then find and uncheck “Remote Differential Compression”.

Next step, open a command prompt and type,

netsh interface tcp set global rss=disabled
netsh interface tcp set global autotuninglevel=disabled

Final step, restart computer

Show hidden folder in Windows

Yesterday, I called by friend complained that folder in the computer can not even show after edit option in the “folder option” | “show hidden files and folders”.

So here some solution i found after googling,

– open registry using regedit
– find key “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
change “Hidden” key value to 1
– test it, if folder can’t show yet
find key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
Advanced\Folder\Hidden\SHOWALL

change “CheckedValue” key value to 1
– check again, if can’t show yet
try to unregister two .dll file from “Start” | “Run”
type regsvr32 /i browseui.dll, press OK
type regsvr32 /i shell32.dll, press OK
– after above step, the computer should show hidden folder
if it can’t show, maybe your computer had been infected by some virus.
Use antivirus to scan and fix your operating system to normal condition

(^_^)

Recommended Add-on for Firefox

firefox add-onsIMHO, these are my recommended add-on for firefox
1. ColorfulTabs, Colors every tab in a different color and makes them easy to distinguish while beautifying the overall appearance of the interface
https://addons.mozilla.org/en-US/firefox/addon/1368

2. Flagfox, Displays a country flag depicting the location of the current website’s server and provides quick access to detailed location and webserver information
https://addons.mozilla.org/en-US/firefox/addon/5791

3. Adblock Plus, Ever been annoyed by all those ads and banners on the internet that often take longer to download than everything else on the page? Install Adblock Plus now and get rid of them
https://addons.mozilla.org/en-US/firefox/addon/1865

4. Sothink Web Video Downloader, A simple, clean and easy-to-use FREE Firefox extension for video download and Flash download
https://addons.mozilla.org/en-US/firefox/addon/6541

5. Fasterfox Lite, Performance and network tweaks for Firefox, without the Prefetching.
https://addons.mozilla.org/en-US/firefox/addon/9148

If anyone have other opinions, please share….

Disable Automatic Hidden Shares (Windows NT/2000/XP)

Windows automatically create hidden shares to the local disk drives.
The shares are normally accessed via \\server\c$ and \\server\d$ depending on the drive letter.
If it disabled now, but when the computer restart, the sharing will automatic enabled.

To stop that open your registry using regedit,
1. Find the key
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters]

2. Create a new DWORD value “AutoShareServer” for NT server or “AutoShareWks” for NT Workstation

3. Then set the value to 0 = disable shares, if the value 1 = enable

4. Restart Windows and the automatic shares should not be created.

Folder Options-Show hidden files and folders not function

Here some fix to restore “Show hidden files and folders” to work as usual,

1. Click “Start” -> “Run…” (or press Windows key + R)

2. Type “regedit” and click “Ok”.

3. Find key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced)

4. In the right hand area, double click “hidden” and change the value to 1

5. Find key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL

6. In the right hand area, double click “CheckedValue” and change the value to 1.

If it isn’t, create a new key called “CheckedValue” as a DWORD (hexadecimal) with a value of 1.

The “Show hidden files & folders” should now work normally. 🙂

If it doesn’t work, please download new update of your antivirus and scan your system completely.

Install Realtek HD Audio Driver Failure!

I cannot play song in my computer. When i check driver, the property give this message “The drivers for this device are not installed. (Code 28)”. If i re-install the driver, it fail. The Installshield runs for quite a long time, extracting many files and it is almost at the end of a progress bar when it fails.  One error code announced is 0xE0000227, Install Realtek HD Audio Driver Failure!

Then i googgling and found AUD_ALLOS_XP_VISTA_5377_PV_REALTEK.EXE (Microsoft UAA Bus for High Definition Audio sound card).  Before i install, i clear all driver on my computer that related to High Definition Audio Bus Driver then after i install it,i have my computer play songs.

error 2114: The Server service is not started

Suddenly, my share folder didn’t share files so I go to:
Computer Management > Shared folders > Shares , but i receive this error message:

The following error occurred while reading the
list of shares for Windows clients:
Error 2114: The Server service is not started.

To fix it, try start  go to Administrative Tools > Services > Server, then click Start Service to start it.

Task Scheduler Error 1717: The interface is unknown

Check Event Log and Remote Procedure Call services are started.
Both of these services needed to be run in order to start the Task Scheduler service.
Also make sure that account that run Task Scheduler have password.
Task Scheduler will not work for accounts that do not have passwords.

HotKeys

Windows Hotkeys

Ctrl + Escape or Win: Display start menu.
Shift + F10 or AppsKey: Display context menu.
Win       : Display start menu
Win + E: Open Windows Explorer.
Win + F: Open Find Dialog.
Win + M: Minimize all windows.
Win + R: Open Run dialog.
Win + U: Open Utility Manager dialog.
Win + V: Open Switch Desktop Manager page (if Desktop Manager installed).
Win + Shift + M: Undo minimize all windows.
Win + D: Toggle minimize all windows.
Win + B (XP only): Activate system tray. Arrow keys select, Enter double-clicks, and AppsKey or Shift + F10 right-clicks.
Win + L (XP Only): Locks keyboard. Similar to Lock Workstation.
Win + F or F3: Open Find dialog. (All Files) F3 may not work in some applications which use F3 for their own find dialogs.
Win + Control + F: Open Find dialog. (Computers)
Win + F1: Open Windows help.
Win + Pause: Open System Properties dialog.
Win + Tab: Cycle through taskbar buttons. Enter clicks, AppsKey or Shift + F10 right-clicks.
Win + Shift + Tab: Cycle through taskbar buttons in reverse.
Alt + Tab: Display CoolSwitch. More commonly known as the AltTab dialog.
Alt + Shift + Tab: Display CoolSwitch; go in reverse.
Alt + Escape: Send active window to the bottom of the z-order.
Alt + Shift + Escape: Activate the window at the bottom of the z-order.
Alt + F4: Close active window; or, if all windows are closed, open shutdown dialog.
Shift while a CD is loading: Bypass AutoPlay.
Ctrl + Alt + Delete or Ctrl + Alt + NumpadDel (Both NumLock states): Invoke the Task Manager or NT Security dialog.
Ctrl + Shift + Escape (XP Only): Invoke the task manager. On earlier OSes, acts like Ctrl + Escape.
Printscreen: Copy screenshot of current screen to clipboard.
Alt + Printscreen: Copy screenshot of current active window to clipboard.
Print : captures full screen to clipboard.
Alt + Print : captures active window to clipboard.
Ctrl + Alt + Down Arrow: Invert screen. Untested on OSes other than XP.
Ctrl + Alt + Up Arrow: Undo inversion.

Key Commands for the Command Prompt

F1 / right arrow: Repeats the letters of the last command line, one by one.
F2: Displays a dialog asking user to “enter the char to copy up to” of the last command line
F3: Repeats the last command line
F4: Displays a dialog asking user to “enter the char to delete up to” of the last command line
F5: Goes back one command line
F6: Enters the traditional CTRL+Z (^z)
F7: Displays a menu with the command line history
F8: Cycles back through previous command lines (beginning with most recent)
F9: Displays a dialog asking user to enter a command number, where 0 is for first command line entered.

Generic

Ctrl + C or Ctrl + Insert: Copy.
Ctrl + X or Shift + Delete: Cut.
Ctrl + V or Shift + Insert: Paste/Move.
Ctrl + N: New… File, Tab, Entry, etc.
Ctrl + S: Save.
Ctrl + O: Open…
Ctrl + P: Print.
Ctrl + Z: Undo.
Ctrl + A: Select all.
Ctrl + F: Find…
Ctrl + F4: Close tab or child window.
Ctrl + F6: Switch to the next MDI child window.
Alt + Minus: Dislay the system menu of an MDI child window. Same as clicking the icon on the menubar (if the child window is maximized).
F1: Open help.
F11: Toggle full screen mode.
Alt or F10: Activate menu bar.
Alt + Space: Display system menu. Same as clicking the icon on the titlebar.
Escape: Remove focus from current control/menu, or close dialog box.

Generic Navigation

Tab: Forward one item.
Shift + Tab: Backward one item.
Ctrl + Tab: Cycle through tabs/child windows.
Ctrl + Shift + Tab: Cycle backwards through tabs/child windows.
Enter: If a button’s selected, click it, otherwise, click default button.
Space: Toggle items such as radio buttons or checkboxes.
Alt + (Letter): Activate item corresponding to (Letter). (Letter) is the underlined letter on the item’s name.
Ctrl + Left: Move cursor to the beginning of previous word.
Ctrl + Right: Move cursor to the beginning of next word.
Ctrl + Up: Move cursor to beginning of previous paragraph. This and all subsequent Up/Down hotkeys in this section have only been known to work in RichEdit controls.
Ctrl + Down: Move cursor to beginning of next paragraph.
Shift + Left: Highlight one character to the left.
Shift + Right: Highlight one character to the right.
Shift + Up: Highlight from current cursor position, to one line up.
Shift + Down: Highlight from current cursor position, to one line down.
Ctrl + Shift + Left: Highlight to beginning of previous word.
Ctrl + Shift + Right: Highlight to beginning of next word.
Ctrl + Shift + Up: Highlight to beginning of previous paragraph.
Ctrl + Shift + Down: Highlight to beginning of next paragraph.
Home: Move cursor to top of a scrollable control.
End: Move cursor to bottom of a scrollable control.

Generic File Browser

Arrow Keys: Navigate.
Shift + Arrow Keys: Select multiple items.
Ctrl + Arrow Keys: Change focus without changing selection. “Focus” is the object that will run on Enter. Space toggles selection of the focused item.
(Letter): Select first found item that begins with (Letter).
BackSpace: Go up one level to the parent directory.
Alt + Left: Go back one folder.
Alt + Right: Go forward one folder.
Enter: Activate (Double-click) selected item(s).
Alt + Enter: View properties for selected item.
F2: Rename selected item(s).
F7: New folder.
Ctrl + NumpadPlus: In a Details view, resizes all columns to fit the longest item in each one.
Delete: Delete selected item(s).
Shift + Delete: Delete selected item(s); bypass Recycle Bin.
Ctrl while dragging item(s): Copy.
Ctrl + Shift while dragging item(s): Create shortcut(s).

In tree pane, if any:
Left: Collapse the current selection if expanded, or select the parent folder.
Right: Expand the current selection if collapsed, or select the first subfolder.
NumpadAsterisk: Expand currently selected directory and all subdirectories. No undo.
NumpadPlus: Expand currently selected directory.
NumpadMinus: Collapse currently selected directory.

Accessibility

Right Shift for eight seconds: Toggle FilterKeys on and off. FilterKeys must be enabled.
Left Alt + Left Shift + PrintScreen: Toggle High Contrast on and off. High Contrast must be enabled.
Left Alt + Left Shift + NumLock: Toggle MouseKeys on and off. MouseKeys must be enabled.
NumLock for five seconds: Toggle ToggleKeys on and off. ToggleKeys must be enabled.
Shift five times: Toggle StickyKeys on and off. StickyKeys must be enabled.

Microsoft Natural Keyboard with IntelliType Software Installed

Win + L: Log off Windows.
Win + P: Open Print Manager.
Win + C: Open control panel.
Win + V: Open clipboard.
Win + K: Open keyboard properties.
Win + I: Open mouse properties.
Win + A: Open Accessibility properties.
Win + Space: Displays the list of Microsoft IntelliType shortcut keys.
Win + S: Toggle CapsLock on and off.

Remote Desktop Connection Navigation

Ctrl + Alt + End: Open the NT Security dialog.
Alt + PageUp: Switch between programs.
Alt + PageDown: Switch between programs in reverse.
Alt + Insert: Cycle through the programs in most recently used order.
Alt + Home: Display start menu.
Ctrl + Alt + Break: Switch the client computer between a window and a full screen.
Alt + Delete: Display the Windows menu.
Ctrl + Alt + NumpadMinus: Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing Alt + PrintScreen on a local computer.
Ctrl + Alt + NumpadPlus: Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PrintScreen on a local computer.

Internet Explorer

Shift + MWheelUp: Back
Shift + MWheelDown: Forward

Mozilla Firefox 1.x

Ctrl + Tab or Ctrl + PageDown: Cycle through tabs.
Ctrl + Shift + Tab or Ctrl + PageUp: Cycle through tabs in reverse.
Ctrl + (1-9): Switch to tab corresponding to number.
Ctrl + N: New window.
Ctrl + T: New tab.
Ctrl + L or Alt + D or F6: Switch focus to location bar.
Ctrl + Enter: Open location in new tab.
Shift + Enter: Open location in new window.
Ctrl + K or Ctrl + E: Switch focus to search bar.
Ctrl + O: Open a local file.
Ctrl + W: Close tab, or window if there’s only one tab open.
Ctrl + Shift + W: Close window.
Ctrl + S: Save page as a local file.
Ctrl + P: Print page.
Ctrl + F or F3: Open find toolbar.
Ctrl + G or F3: Find next…
Ctrl + Shift + G or Shift + F3: Find previous…
Ctrl + B or Ctrl + I: Open Bookmarks sidebar.
Ctrl + H: Open History sidebar.
Escape: Stop loading page.
Ctrl + R or F5: Reload current page.
Ctrl + Shift + R or Ctrl + F5: Reload current page; bypass cache.
Ctrl + U: View page source.
Ctrl + D: Bookmark current page.
Ctrl + NumpadPlus or Ctrl + Equals (+/=): Increase text size.
Ctrl + NumpadMinus or Ctrl + Minus: Decrease text size.
Ctrl + Numpad0 or Ctrl + 0: Set text size to default.
Alt + Left or Backspace: Back.
Alt + Right or Shift + Backspace: Forward.
Alt + Home: Open home page.
Ctrl + M: Open new message in integrated mail client.
Ctrl + J: Open Downloads dialog.
F6: Switch to next frame. You must have selected something on the page already, e.g. by use of Tab.
Shift + F6: Switch to previous frame.
Apostrophe (‘): Find link as you type.
Slash (/): Find text as you type.

BBCode (This forum’s posting)

While text is selected:
Alt + B: Format text in bold.
Alt + I: Format text in italics.
Alt + U: Format text as underlined.
Alt + Q: Format text as a quote.
Alt + C: Format text as code.
Alt + L: Format text as a list.
Alt + O: Format text as an ordered list.
Alt + P: Format url as a hotlinked image.
Alt + W: Format url as a hyperlink.

GMail

Must have “keyboard shortcuts” on in settings.
C: Compose new message.
Shift + C: Open new window to compose new message.
Slash (/): Switch focus to search box.
K: Switch focus to the next most recent email. Enter or “O” opens focused email.
J: Switch focus to the next oldest email.
N: Switch focus to the next message in the “conversation.” Enter or “O” expands/collapses messages.
P: Switch focus to the previous message.
U: Takes you back to the inbox and checks for new mail.
Y: Various actions depending on current view:
Has no effect in “Sent” and “All Mail” views.
Inbox: Archive email or message.
Starred: Unstar email or message.
Spam: Unmark as spam and move back to “Inbox.”
Trash: Move back to “Inbox.”
Any label: Remove the label.

X: “Check” an email. Various actions can be performed against all checked emails.
S: “Star” an email. Identical to the more familiar term, “flagging.”
R: Reply to the email.
A: Reply to all recipients of the email.
F: Forward an email.
Shift + R: Reply to the email in a new window.
Shift + A: Reply to all recipients of the email in a new window.
Shift + F: Forward an email in a new window.
Shift + 1 (!): Mark an email as spam and remove it from the inbox.
G then I: Switch to “Inbox” view.
G then S: Switch to “Starred” view.
G then A: Switch to “All Mail” view.
G then C: Switch to “Contacts” view.
G then S: Switch to “Drafts” view.