Posts

Fixing Dymo SDK problems with VB.net apps

Image
I have a VB.net ClickOnce application that I developed years ago and when I went to update it, I ran into all kinds of problems with the Dymo SDK Framework.
Here are some of the things that I did to fix my errors.

Error number one was "Object reference not set to an instance of an object" every time I would bring up the print dialog box to choose the Dymo printer.
This would happen when I loaded this object in VB.net:
DYMO.Label.Framework.Framework.GetPrinters

What was happening is that I didn't include all the dll files in my application.
All the dll files you need are installed with the Dymo Label application in this framework folder:
C:\Program Files (x86)\DYMO\DYMO Label Software\Framework

These dll files are not included with the SDK download.  The SDK is just samples and documentation.

I'm not sure if I needed all the dll files, but I decided to cover my bases and just grab them all since they are small.
The dll files you don't see added were rejected when I did the …

Office 2019 - Changes to corporate installations

This time around it looks like Microsoft is changing the Office 2019 installation to use the technology that Office 365 has been using to roll out office. It's nice to see the methods for installation rolled together and I like the option for downloading directly from Microsoft.  Less traffic on my servers and WAN links if they can use the internet to pull down the files.

When I went to download the installation files from VLSC I was suprised to find just setup.exe and a few xml files.  After a few tweaks to the xml installer files I found it really easy to use.

I just created batch files to launch the different flavors of Office 2019, here is an example of the batch file:
@echooff setup /configure Office2019-Standard-x64.xml Here are examples of my xml files to install both Standard and Pro Plus Volume License versions of Office 2019 in x64 and 32 bit flavors.
I'm using a KMS server, so I don't need to have the keys in these files.

32 Bit Pro Plus, remove old Office
<C…

Mail Recover Center (MRC) in Atlanta, GA

If the post office ever looses your package, God help you.
My $400 video card has been lost for 3 months.
In that time, they can still track it, but they seem to be too stupid to use the tracking number to figure out how to return it to the sender (me).
If you find the dead links on USPS that point to this internal only site:
http://blue.usps.gov/purchase/assetmgnt/am_mrc_welcome.htm (This link is no good outside of the USPS network)

You can instead fill out the form at the actual site I found after a month of searching:
This is the site for the Mail Recover Center (MRC) in Atlanta, GA
https://amps.usps.gov/mpsa/lst I don't know why they make it so hard to find.

How to setup Google Authenticator 2FA with a Watchguard SSL VPN Client for FREE!

Image
My goal for the last year has been to figure out how to turn on 2FA (two factor authentication) for our WatchGuard SSL VPN Clients.  I found that Wright SMS2 worked best, so that is what I will document here.  Most of what I talk about here may also apply to other firewalls too.




The WatchGuard firewall supports 2FA with the Mobile VPN for SSL client, but your Radius server has to do the work.  You can find details about the WatchGuard support here.

So what are the options for getting Google Authenticator to work with WatchGuard for free?

OpenVPN - This was complicated to setup and would have to replace the WatchGuard VPN.  I had too many problems getting this to work and setup was complicated for the users who would have to remove the WatchGuard VPN and install the OpenVPN client.

FreeRadius - This sounded promising, but the Google Authenticator plugin was not well documented and I gave up getting it to support both Active Directory and Google Authenticator at the same time.  It seems tha…

Setup a 2016 Nano Server for Hyper-V on a Dell Internal Dual SD Module (IDSDM)

Here are my notes that I used to get Nano server running on a Dell R730 with SD Cards.
The part number for the Internal Dual SD Module (IDSDM) is PMR79 or 330-BBCN
http://www.dell.com/en-us/shop/dell-internal-dual-sd-module-card-reader-sd-for-poweredge-r430-r630-r730-r730xd-t430-t630/apd/330-bbcn/storage-drives-media
It has dual 16GB SD Cards Dell DP/N: 037D9D

Preparing your management PC/server (Or install the latest RSAT tools for Build 1607 or newer on Win10)
Install-WindowsFeature -Name RSAT-Hyper-V-Tools, Hyper-V-Tools, Hyper-V-PowerShell, RSAT-Clustering, RSAT-Clustering-MGMT, RSAT-AD-PowerShell -Verbose

You will need the ADK and Nano Server Image Builder.  
There is an intro to the Image builder and links to that and the ADK here:
https://blogs.technet.microsoft.com/nanoserver/2016/10/15/introducing-the-nano-server-image-builder/

Create your Nano server USB stick so you can install Nano on bare metal.
You can make an ISO for use with a Virtual console like iDrac too.
The first part of the…

Fix Boeing Portal setting for Internet Explorer IE11

Image
The Boeing Supplier Portal stopped working for us after Boeing made a change on 10/5/2016.
The Boeing Portal support team was able to help a little, but they have no documentation on how your IE11 should be setup to access their Exostar and Boeing Portal sites.
Some of the errors we were seeing were a black page after we clicked on the Boeing Portal link in the Exostar MAG page and then some people would get to the portal but then get a login screen any time they clicked on a link, like the REDARS/EID Drawing search window.

There also seems to be a new requirement to setup security questions.  For people with problems this page may come up over and over.

For the record, we are running x64 Windows 10 Enterprise with Prizm Plugin 10.3

Here are the things we had to do in order to get full Portal access to work again.

Close all your IE Browser Windows
Open one new IE Browser Window
Go to TOOLS – INTERNET OPTIONS
Under BROWSING HISTORY – Click DELETE

Check ALL boxes Except for Passwords reset and th…

Silent upgrade batch file for CATIA V5-6R2016

Here is my silent upgrade batch file for CATIA V5-6R2016 This blog is going to wrap some lines and sometimes screw up the quotes, so double check all that.
@echo off echo Install CATIA 2016 silently - (x64 bit Windows) echo Based on the supported "Distributing the Software in Compressed Form" method. REM Install CATIA and all Service packs on a clean PC and then zip them up. REM - Ed Hammond 9.28.2016 Skills Inc. ed@skillsinc.com REM - Copy this file to the local PC and run as Administrator REM Set the variable for the UNC location on the server where the CATIA installers are stored  set CATIAINSTALLERS=\\MYSERVER\FILE SHARE\CATIA\CATIA R2016 REM --------------------------- REM -- Install Catia Base REM start "" /wait "%CATIAINSTALLERS%\CATIA R2016\V5-6R2016.CATIA_P3.win_b64.1-1\CATIA_P3.win_b64\1\WIN64\startb.exe" -newdir -noreboot -all  REM --------------------------- REM -- Install VBA REM msiexec /q /i "%CATIAINSTALLERS%\CATIA R2016\V5-6R2016.CATIA_P3.win_b64…