Browsing articles by " david"
Oct
22

Preventing update to Windows 10 from Windows 7/8.1

By david  //  Technical Tips  //  Comments Off on Preventing update to Windows 10 from Windows 7/8.1

Many Windows 7 and Windows 8.1 users will want to keep their current operating system.
To disable the Windows 10 update notifications, follow these steps.
For a permanent disabling, follow steps 1, 2, and 3.
To leave open the possibility of a future OS upgrade, follow steps 1 and 3, skipping step 2.

1)  Uninstall the following updates through Windows Update, if they have already been downloaded.

For Windows 8.1:
Run these 2 batch files (Administrator rights may be required).
A reboot will be prompted after each KB is uninstalled.

Remove KB3035583
 

Remove KB2976978
Information on KB3035583
Information on KB2976978

 

For Windows 7:
Run these 2 batch files (Administrator rights may be required).
A reboot will be prompted after each KB is uninstalled.

Remove KB3035583
 

Remove KB2952664
Information on KB3035583
Information on KB2952664

 

2)  Apply either group policy updates, or 2 registry updates recommended by Microsoft.
(Download the registry updates hereRegistry Update File)

Microsoft has details of the registry changes here: KB3080351

Keys:
Subkey: HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
DWORD value: DisableOSUpgrade = 1

Subkey: HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
DWORD value: ReservationsAllowed = 0

 

3)  Manually hide updates KB3035583, KB2976978, KB2952664 using the Control Panel.

Hiding Instructions from sevenforums.com

 

 

May
3

DLL Registration – Win32 vs .NET

By david  //  Technical Tips  //  Comments Off on DLL Registration – Win32 vs .NET

There are different methods for registering a Win32-based DLL, versus a .NET DLL. Win32 DLLs were typically created with legacy Visual Studio 6 C++, whereas .NET DLLs are created using Visual Studio 2005 or later.
To register a Win32 DLL, REGSVR32.exe is used. Format: REGSVR32 [dllname]

To register a .NET DLL, REGASM.exe is used. Format: REGASM [dllname]

The REGSVR32.exe tool is located in the library: C:WindowsSystem32
The REGASM.exe tool is located in the library: C:WindowsMicrosoft.NETFrameworkv2.0.50727 (or later versions of the .NET framework)

These Microsoft Links provide additional information regarding the registration tools:
REGASM.exe (Assembly Registration Tool)
https://msdn.microsoft.com/en-us/library/tzat5yw6%28v=vs.110%29.aspx

REGSVR32.exe
https://technet.microsoft.com/en-us/library/bb490985.aspx
https://support.microsoft.com/en-us/kb/249873/

To unregister DLLs:
REGSVR32 [dllname] /u
REGASM [dllname] /unregister

Apr
13

GetVersion API and Windows 10

By david  //  Technical Tips  //  Comments Off on GetVersion API and Windows 10

This document addresses two problems that can be resolved by updating the Application Manifest file for programs that are distributed to post-Vista Windows platforms:
1) The deprecated Windows version numbers returned by GetVersion API calls in Windows 10
2) The annoying Program Compatibility Assistant’s “this program might not have installed correctly” warning messages
PDF Article Here

An example solution manifest file can be found here , or visit the Downloads page on this blog.

Apr
10

Windows SDK Downloads

By david  //  Technical Tips  //  Comments Off on Windows SDK Downloads

Developers using older versions of Visual Studio, may need to download SDKs to author applications compatible with more recent versions of Windows.
The Microsoft links below provide SDKs for Windows 7 / 8 / 8.1:

Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (web setup)

Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (ISO download)

Microsoft Windows SDK for Windows 7 and .NET Framework 4

Windows Software Development Kit (SDK) for Windows 8

Windows Software Development Kit (SDK) for Windows 8.1

List of latest Windows SDK Downloads

List of Windows SDK Archives

Mar
1

Firefox Downgrade and Reinstallation

By david  //  Technical Tips  //  Comments Off on Firefox Downgrade and Reinstallation

About once a year, I go through the steps of completely uninstalling Firefox, deleting associated folders, and reinstalling the browser. This has an amazing impact on the performance of the product.
Even though the settings in Firefox are to not send any information to Mozilla, or retain data, a large number of files are being collected in the AppData folders.

In Firefox version 35, Mozilla added a feature called the “Hello Chat Video Service”, in the form of a button the toolbar. Around the same time, several of my favorite extensions began having compatibility problems with Firefox. To restore functionality from these extensions, I decided to downgrade to a lower version of Firefox.
PDF Article Here

Feb
8

GetVersion API and Windows 8.1

By david  //  Technical Tips  //  Comments Off on GetVersion API and Windows 8.1

This document addresses two problems that can be resolved by updating the Application Manifest file for programs that are distributed to post-Vista Windows platforms:
1) The deprecated Windows version numbers returned by GetVersion API calls in Windows 8.1
2) The annoying Program Compatibility Assistant’s “this program might not have installed correctly” warning messages
PDF Article Here

An example solution manifest file can be found here , or visit the Downloads page on this blog.

Jan
7

Windows 10 Preview on Windows 7/VM Workstation

By david  //  Technical Tips  //  Comments Off on Windows 10 Preview on Windows 7/VM Workstation

To test the technical preview of Windows 10, I followed the instructions at Petri Windows 10 how-to to safely install the preview inside of a Virtual sandbox environment. One important note is to not add Virtual Tools to the VM environment until after Windows 10 has been installed. Otherwise, Windows 10 may encounter problems locating device drivers during the setup phase. Although Petri’s guide refers to Workstation 10, Workstation 11 can be used.

A 30-day trial version of VMWare Workstation can be downloaded here – VMWare Workstation Download Update: VMWare Player may be a better choice for most users, since it isn’t limited to a 30-day period. Download VMWare Player here

The ISO file download from Microsoft for Windows 10 can be downloaded here – Windows 10 Download
Windows 10 Screenprint

Oracle VirtualBox is also available as a VM environment for running Windows 10. My attempts to install the technical preview within VirtualBox, were not successful.

Dec
17

IE9+ – Adjusting Toolbar Button Size

By david  //  Technical Tips  //  Comments Off on IE9+ – Adjusting Toolbar Button Size

One of the items that annoyed me in Internet Explorer 9 / Windows 7, is that the toolbar (CommandBar) is set to appear with small-sized buttons.
PDF Article Here
The listed registry update commands, placed in a .reg file will force IE to:

  • to use large buttons for the current user account
  • To show the toolbar/commandbar, if it currently is not showing
  • To show the menus at the top (File  Edit  View  Favorites  Tools  Help)

The machine settings default to use small buttons.  These can be changed using either the Registry Editor, or via a .reg file.
The Current User settings override the local machine for Internet Explorer.  Internet Explorer has to be restarted, or a New Session selected from the File Menu, before the changes appear.

These are the values to insert in a .reg file, or adjust via REGEDIT.  By setting SmallIcons to zeroes, it causes IE to display the large buttons.

[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerCommandBar]
“SmallIcons”=dword:00000000

[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMINIE]
“AlwaysShowMenus”=dword:00000001
“CommandBarEnabled”=dword:00000001

Dec
16

CHM Challenges with Windows 7

By david  //  Technical Tips  //  Comments Off on CHM Challenges with Windows 7

Microsoft has undergone several phases of security updates on Windows 7, that make it impossible to open a custom .chm file through the Windows Shell, using hh.exe with a passed filename parameter.  This forces the developer to use the ActiveX object version of html help, hhctrl.ocx.
PDF Article Here

Dec
14

Installing VB6 and VS on the same Windows 7 Machine

By david  //  Technical Tips  //  Comments Off on Installing VB6 and VS on the same Windows 7 Machine

This is a list of steps to take if you want to install both a Visual Basic 6 IDE and Visual Studio on a Windows 7 machine. It worked well last year with the 32-bit version of Windows 7. I credit multiple sources with links at the end of the document. Unfortunately, I was not able to make this work with the 64-bit version of Windows 7.   PDF Article Here
There are differences between VB6 Service Pack 5 and VB6 Service Pack 6 – the file editing for sp698ent.stf was not needed, from what I recall.

Archives

Categories