Browsing articles in "Technical Tips"
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.

May
30

Outlook-friendly sender name in SMTP headers

By david  //  Technical Tips  //  Comments Off on Outlook-friendly sender name in SMTP headers

When receiving SMTP emails from the mainframe with a “from” address claimed to be on the Outlook Server, Outlook may have a difficult time connecting the profile and providing the contact information in the original email.

The following solution has worked best. The name should be enclosed in quotes, followed by a space and then the bracketed email address of the sender.

“Last, First I”   <first.last@companyname.com>

To use the IBM example at Using batch SMTP command in TSO utilities as a starting point,
 the sender’s email address would be inserted on the From line below:

MAIL FROM:
RCPT TO:
RCPT TO:
DATA
Date: Thur, 26 Mar 92 21:48:57 EST
From: “Last, First I”   <first.last@companyname.com>
To:
Cc: Subject: update

 

Jan
31

Retaining HTML formatting in Dynamic Outlook Emails

By david  //  Technical Tips  //  Comments Off on Retaining HTML formatting in Dynamic Outlook Emails

One of the challenges when dynamically modifying emails created from Outlook templates, is retaining the original html formatting of the template itself.
This article discusses how to retain the original html formatting of the template, when additional text is added. The example code uses Visual Basic 6, but the concepts are applicable to other languages accessing Microsoft Outlook through the COM environment.
PDF Article Here

Jan
23

Simple WHOHAS routine

By david  //  Technical Tips  //  Comments Off on Simple WHOHAS routine

When another user has locked the file that you want to use, a simple way to identify that user is via a “WhoHas” program.

Every shop uses the same basic routine, which invokes the GQSCAN macro. The GQSCAN requests a scan of the GRS (Global Resource Serialization) queues to locate which user(s) already have a specific file (resource) allocated to them by the operating system.

Click here to view WHOHAS source code

Jan
21

Unicode in Batch Email Messages

By david  //  Technical Tips  //  Comments Off on Unicode in Batch Email Messages

Unicode Symbols can be used in Email subject lines, messages, and in some cases, other fields. This article discusses ways to use these symbols in batch generated messages.
PDF Article Here

Dec
24

SVC 99 Example Program

By david  //  Technical Tips  //  Comments Off on SVC 99 Example Program

This program will receive username, program name, and job name through register 1 linkage.
A SVC 99 dynamic file allocation is then made to write these values out to an output record.
The disposition is that of DISP=(MOD,CATLG).

Click here to view DSNMODIF source code

Archives

Categories