Sunday, October 31, 2010

vb6 sendkeys error(Windows 7)

in windows 7 or beta version of vista vb6 sendkeys gives error 70 Permission in IDE 1) Run Vb6 as administrator 2) Create Module in Your Project and add following code to avoid IDE Crash Public Sub Sendkeys(text$, Optional wait as boolean=false) Set wshshell=createobject("wscript.shell") wshshell.Sendkeys text,wait set wshshell=Nothing end Sub and now you can use sendkeys in IDE like sendkeys "{Tab}" Thanks

Friday, January 22, 2010

add Register/Unregister to context menu

To add Register / Unregister menu to context menu of DLL and Ocx file follow the steps below 1. Click on start --- Run 2. Type Notepad and press Enter 3. copy following text in notepad and save file as "anyname.reg" 4. Then double click on file it will ask you confirmation for merging values in registry. click ok. Now right click on any dll or ocx file you will fing new menu register and unregister REGEDIT4 ; This adds the ability to Right-Click on a .dll or .ocx ; and get the Register / UnRegister options. ; ========== ; .DLL files ; ========== [HKEY_CLASSES_ROOT\.dll] "Content Type"="application/x-msdownload" @="dllfile" [HKEY_CLASSES_ROOT\dllfile] @="Application Extension" [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command] @="regsvr32.exe /u \"%1\"" ; ========== ; .OCX files ; ========== [HKEY_CLASSES_ROOT\.ocx] @="ocxfile" [HKEY_CLASSES_ROOT\ocxfile] @="OCX" [HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command] @="regsvr32.exe /u \"%1\"" ; End

Change default location of the Desktop folder.

With this setting, you can change the default location/path of the "Desktop" folder. Upon changing the path, all subsequent files will be saved at the new location. The desktop is the main workspace in a windows user interface. It is the screen area that immediately appears after logging in. Program shortcuts and commonly used files and folders are usually saved on the desktop. Though, this section appears to be an open area, the contents saved on the screen are basically stored in the "desktop" folder on your system. This setting enables you to change the default location/path of the "desktop" folder. Steps: 1. go to start > run, enter 2. "regedit" and Navigate to the keys listed below. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Value Name: Desktop Data Type: REG_SZ (String Value) double-click the value name "desktop" under "shell folders" and "user shell folders" keys respectively, to define a new path in their value data fields for your "desktop" folder. Refresh view of your computer for the changes to take effect. Note: after changing the path, you have to copy all the files and folders saved at the old desktop location to the new location. Then, youll have your existing desktop files and folders at the new location. All subsequent files will be saved at the new location by default. When editing the registry it is highly recommended to run a quick scan for optimization

Howto add recovery console to boot menu

To recover your operating system when your computer does not start correctly or does not start at all, you may want to install and use the Windows Recovery Console. this method of system recovery for advanced users only. You can install the Recovery Console on your computer to make it available if you cannot restart Windows. You can then select the Recovery Console option from the list of available operating systems during startup. Install the Recovery Console on important servers and on the workstations of IT personnel. This article describes how to install the Recovery Console to your Microsoft Windows XP-based computer. To install the Recovery Console, you must be logged on as an administrator. Although you can run the Recovery Console by starting directly from the Windows XP CD, it is generally more convenient to set it up as a startup option on your startup menu. To install the Recovery Console, follow these steps: 1. Insert the Windows XP CD into the CD-ROM drive. 2. Click Start, and then click Run. 3. In the Open box, type d:\i386\winnt32.exe /cmdcons where d is the drive letter for the CD-ROM drive. In the case of 'Microsoft Windows XP Professional x64 Edition, type d:\amd64\winnt32.exe /cmdcons where d is the drive letter for the CD-ROM drive. 4. A Windows Setup Dialog Box appears. The Windows Setup Dialog Box describes the Recovery Console option. To confirm the installation, click Yes. 5. Restart the computer. The next time that you start your computer, "Microsoft Windows Recovery Console" appears on the startup menu.

Wednesday, December 23, 2009

low cost Network Print Server

Hi Plz find the article and Convert an old PC (386 or 486 or Pentium) to a Network Print Server this will turn your old pc into floppy base print server. Very Nice article.

Change Default RDP Port XP

Change Default RDP Port (Windows System) By default, Windows listening on port 3389 f0r RDP (Remote Desktop Protocol), hence it has becomes a favor for attacker. You can change the default port by modifying registry values. Follow the instructions below 1. Start Registry Editor. 2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber 3. On the Edit menu, click Modify, and then click Decimal. 4. Type the new port number, and then click OK. 5. Quit Registry Editor Applies To Microsoft Windows XP Professional Microsoft Windows XP Professional x64 Edition Microsoft Remote Desktop Connection Client for Windows 1.0 Microsoft Windows Remote Desktop Connection for Macintosh

Welcome to Qtechinfo

Hi Everyone I had Created this blog basically for sharing Knloedge. Everyone is welcome to share the things on my blog