Fix: The trust relationship between this workstation and the primary domain failed

April 28th, 2016 by Kristy No comments »

Found this great blog post that easily explains how to fix “The trust relationship between this workstation and the primary domain failed error”. I’ve experienced this error when restoring a Virtual machine in Hyper-V.

Thank you to Thomas Balkeståhl and his blog post located here

signature

WordPress Post Signature

February 18th, 2013 by Kristy No comments »

Thanks to a post on wpmu.org I found how to add a signature to a WordPress post by adding script in the functions.php file.

 

add_filter('the_content','add_signature');
function add_signature($text) {

global $post;

if($post->post_type == 'post') $text .= '<div class="signature">
<img src="http:/yoursite.com/wp-content/themes/yourtheme/images/signature.png" alt="signature" />
</div>';

return $text;
}

They also suggested the following if you need to tweak the placement of the signature.

div.signature img {
padding: 5px;
}
signature

Recovering Word Document from Dragon.DRA file

January 16th, 2013 by Kristy No comments »

You can recover a dictated Word document from a .dra file.   Simply start the dragon application and open DragonPad.  Use DragonPad to open the .dra file.  The contents of DragonPad can then be copied into a word document.

signature

Move/Recover Offscreen Window

December 16th, 2012 by Kristy No comments »

I am reposting information I found on a social.technet.microsoft.com  forum:

Dave Bishop posted……Windows 7 has a cool new feature that should help.  Click the icon in the taskbar to ensure that the program has focus. Then hold down the Windows key and press the right-arrow a few times. That should move the window across your screens and eventually bring it back onto the screen that is still active.

“if I could” posted a solution for Windows XP

To “move” a window from offscreen, do the following:

  1. Click the application in question on the task bar (needs to have focus and be in a restored state)
  2. Move your cursor above the task bar until the thumbnail image appears
  3. Right-click on the thumbnail image (you will be presented with the option menu, one of which is “Move”)
  4. Select the “Move” option
  5. Left-click-hold on the desktop and drag the window into view
signature

Crystal Reports in .net 4 windows application

December 25th, 2011 by Kristy No comments »

Ran into issues with my application not compiling due to the following error:

“Could not load file or assembly ‘file:///C:Program FilesSAP BusinessObjectsCrystal Reports for .NET Framework 4.0CommonSAP BusinessObjects Enterprise XI 4.0win32_x86dotnet1crdb_adoplus.dll’ or one of its dependencies. The system cannot find the file specified.”

Thanks to a post on msdn’s forum I found the following fix:

1. Make sure your project framework is set to 4.0 framework, not the client

2. Add this to the config file:

<startup useLegacyV2RuntimeActivationPolicy=”true”>
<supportedRuntime version=”v4.0″ sku=”.NETFramework,Version=v4.0″/>
</startup>

3.  When distributing the app be sure to include the  appname.config.exe file

 

signature

Internet Explorer 9 Toolbars

December 25th, 2011 by Kristy No comments »

To access options, such as Send Page by Email you must first enable the command bar:

Enable the Command bar:

·        Press Alt + V on your keyboard

·        Click Toolbars

·        Click Command bar

 

Then to Send Page/Link by e-mail:

·        Click Page

·        Click applicable option

 

Thank you to answers.microsoft.com for this information.

signature

Create XML file from SQL Data

November 14th, 2010 by Kristy No comments »

Thanks to an article on SQLAuthority.com I found a quick and easy way to create an XML file from data in a sql database.  I adapted his article and came up with this example.

select ( Select * from table for XML PATH(‘SAMPLEXML’),
TYPE
)
Form XML Path(”),
Root(‘XMLNODENAME’)
Go

signature

WSUS Force Update

October 4th, 2010 by Kristy No comments »

If you have a domain with WSUS running  you will want to know how to force the detection of updates.

From the command line type: wuauclt /detectnow

signature