Hello!!! @RayDoyle45
Reinstall DirectX.
1. Go to C:\Program Files (x86)\Origin Games\Battlefield H\__Installer\directx\redist
2. Find a file named DXSETUP.exe, Right click on it and select Run As Adminstrator. Install it, and it should have updated your DirectX installation.
3. Restart your computer
4. Try to launch and play the game.
Make sure your drivers are updated.
Be sure that you've disabled Ad Blocking software (For an example AdBlocker) in your browser and be sure that you are using the latest version of Adobe Flash.
For Battlefield on PC, Enable the following online ports on your connection:
TCP: 80, 443, 9988, 20000-20100, 22990, 17502, 42127
UDP: 3659, 14000-14016, 22990-23006, 25200-25300
For specific instructions on how to open your ports, please visit http://www.portforward.com/ or contact your router manufacturer.
Also see this EA Help article for information on opening TCP or UDP ports: http://help.ea.com/en/article/opening-tcp-or-udp-ports-for-connection-issues/
Are you running the game as Administrator?
Go to the Origin games folder (C:\Program Files (x86)\Origin Games\Battlefield H) and find BfH.exe. Right click it and go to Properties, then Compatability and tick the box next to Run this as Adminstrator.
Do the same with BFH_x86.exe as well.
Now you can try playing the game.
Reinstall C++ redistributables.
1. Go to C:\Program Files (x86)\Origin Games\Battlefield H\__Installer\vc\vc2012Update3\redist
2. Right Click on vcredist_x64.exe and choose Run As Adminstrator then follow onscreen prompts.
Good luck!