Friday, January 21, 2011

32-bit programs calling 64-bit utilities may not work.

I recently saw a 32-bit program calling a 64-bit utility on the OS which was failing.

The 64-bit util worked perfectly if the user ran it but not if the user ran it via the call from the 32-bit program.

The 32-bit program was a compiled Wise script.  Making calls out to 32-bit equivalents of the 64-bit programs was fine.  The theory was that the 32-bit program was causing a problem by possibly trying to run the 64-bit program in 32-bit mode/process.

Monday, January 17, 2011

Blank Microsoft Visual Basic Error occurs during Excel launch

This error was encountered during an first time Excel launch where addins had been prewritten into the users registry.  Excel launched and carried out the first time launch items such as confirming the User Name but then stalled with this error.  Some other articles have also referred this type of event happening when addins that worked under 2003, are tried in Excel 2007.  Which was true in this case as well.  The cause, therefore, appears to be the contents of the addins rather than the mechanism for configuring them for the user (the packaging).  Addins in this case were Bloomberg and Bloomberg TSAPI.  The workaround is as simple has having any of the office applications launch before Excel or launching Excel before the applications are installed and configured for the user.
Also found on this subject
http://social.answers.microsoft.com/Forums/en-US/officeprog/thread/562433ed-5365-4c2f-8a48-b68540821403
http://techrepublic.com.com/5208-3513-0.html?forumID=102&threadID=333274

Monday, January 10, 2011

Windows Live Messenger in the system tray on W7

For some reason Windows Live Messenger on W7 does not operate from the system tray by default.  To make it do this set the C:\Program Files\Windows Live\Messenger\msnmsgr.exe to XPSP3 compatibility mode.

Tuesday, January 4, 2011

Reuters 3000 Xtra Installations

Reuters 3000 Xtra has a good installation configuration and management system called Reuters Desktop Management Consolde (RDMC).  rdmc.exe is the launchable program that can provide access to the interface.    The RDMC.exe can be used to export settings in an XML file.  This file can then be used with the MSI installation command line as a configuration input.  Refer to the RDMC help file and other documentaion for the options pertaining to silent installs and/or mass deployments.

Monday, November 22, 2010

PCA Go figure

Program Compatibility Assistant
I'd love to post an good explaination on this one but I haven't found one.  The best I've got is:

Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

Name:
Path to exe            - Type REG_SZ

Data
VISTARTM         - This is the PCA mode to use. RUNASADMIN can also be used where necessary.

Setting the path to an exe with VISTARTM will stop PCA popping up and annoying you.

You can try this if you like - good luck
http://msdn.microsoft.com/en-us/library/bb756937.aspx

IE Zone Configuration

Key:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\subject.com

Name
*       - Type REG_DWORD this denotes all sites under the domain e.g. http://www.subject.com/

Data
2       - Zone to enter the site into e.g. 2 

Data options are
0 - My computer
1 - Intranet
2 - Trusted
3 - Internet
4 - Restricted

Thursday, November 4, 2010

Common TCP/IP ports

 https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

9 Wake On Lan

20 FTP

21 FTP

22 SSH secure logins

23 Telnet

25 SMTP

53 DNS

67 BOOTP server

68 BOOTP client

69 TFTP

80 HTTP

88 Kerberos

110 POP

115 Simple File Transfer Protocol

119 Network News Transfer Protocol

135 Microsoft Endpoint Mapper DCOM, DHCP, DNS, WINS

137-9 NetBIOS

143 IMAP

161-2 SNMP

389 LDAP     636 LDAP over TLS/SSL

443 HTTPS

445 AD SMB

465 Secure SMTP

863 DNS over TLS

989-990 FTPS over TLS/SSL

992 Telnet over TLS/SSL

993 IMAP over TLS/SSL

995 POP over TLS/SSL

1433 SQL

1434 SQL Monitor

1494 Citrix ICA

1801 Microsoft Message Queuing

3306 MySQL

3389 RDP

3478-81 MS Teams

5985 Powershell Windows Remote Management Service WINRM-HTTP

5986 WINRM-HTTPS