Buy Real Estate, Homes in Fort Mill and Rock Hill South Carolina


This is a shameless plug to assist my wife in getting higher ranking for her website.

If you have the time please Bookmark the following two websites in your DIGG or Delicious accounts.
Your help would be much appreciated.




Thanks
Larry & Carol Meadows

Enable RDP RWW on XP SP3 mstscax.dll msrdp.ocx

After upgrading to Windows XP SP3 / Service Pack 3 you will need to enable the

Microsoft RDP Client Control or the Microsoft Windows Terminal Service

Start Microsoft Internet Explorer

  1. Click on Tools -> Internet Options -> Manage add-ons
  2. Or click on Click on Tools -> Internet Options -> Programs tab - Select Manage add-ons
  3. Highlight Microsoft Terminal Service ActiveX control, which is most likely set to disabled. 
  4. Select Enabled  then click OK
  5. Close all open versions of Internet Explorer.
  6. Restart Internet Explorer.

If your Code is still not working, please see the article below

RDP RWW Remote Desktop Remote Web Workplace SP3

RDP RWW Remote Desktop Remote Web Workplace SP3

There seems to be some confusion around the web about the Microsoft Service Pack 3 and RWW and RDP update.

Lots or people are thinking that Microsoft did something to break the RDP / RWW ( web components ) for Remote Desktop Web Component.

The fact is that Microsoft didn't really break the objects they just replaced them with a New Component and New Object Model.

This is an example of the classic / XP SP2 and below.

function ConnectRDPClassic(sServerName,sDomain,sUserId,sPassword,sStartProgram )
{

   var resWidth = screen.width;
   var resHeight = screen.height;

   MsRdpClient = document.getElementById("MsRdpClient");
   MsRdpClient.FullScreen = true;
   MsRdpClient.DesktopWidth = resWidth;
   MsRdpClient.DesktopHeight = resHeight;
   MsRdpClient.Width = resWidth;
   MsRdpClient.Height = resHeight;
     
   MsRdpClient.server = sServerName;
   MsRdpClient.Domain = sDomain;
   MsRdpClient.UserName = sUserId;
   MsRdpClient.AdvancedSettings.ClearTextPassword=sPassword;
  
   if (sStartProgram=='')
           sStartProgram = '\"C:\\Windows\\system32\\notepad.exe\" \';

   MsRdpClient.SecuredSettings.StartProgram = sStartProgram;
   MsRdpClient.Connect();
}

Below is an example of executing the latest version of the RDP / RWW client.

This is how you would use the new version of RDP / RWW.

Note that I am using unescape on the sRDPFIle test like this unescape(sRDPFile);

I actually passed the RDP file contents to this function the data is url encoded why does it have to be this way im not totally sure but it works like a champ. If you need an example let me know.

Also note

function ConnectRDP61(sServerName,sDomain,sUser,sPassword,sRDPFile)
{

   var resWidth = screen.width;
   var resHeight = screen.height;

   //Get Pointer to Object to Execute
   MsRdpClient = document.getElementById("MsRdpClient");
   MsRdpClient.FullScreen = true;
   MsRdpClient.DesktopWidth = resWidth;
   MsRdpClient.DesktopHeight = resHeight;
   MsRdpClient.Width = resWidth;
   MsRdpClient.Height = resHeight;
  
   //Device redirection options
   MsRdpClient.AdvancedSettings2.RedirectDrives     = false;
   MsRdpClient.AdvancedSettings2.RedirectPrinters   = true;
   MsRdpClient.AdvancedSettings2.RedirectPorts      = false;
   MsRdpClient.AdvancedSettings2.RedirectSmartCards = false;
  
   //Set Settings and passed RDP File Content
   MsRdpClient.MsRdpClientShell.PublicMode = false;  
   MsRdpClient.MsRdpClientShell.RdpFileContents = unescape(sRDPFile);
   MsRdpClient.authenticationlevel = 2;
   MsRdpClient.negotiatesecuritylayer = 1;
   MsRdpClient.promptforcredentials = 0;

   //Set User Credentials
   MsRdpClient.TransportSettings2.GatewayDomain = sDomain;
   MsRdpClient.TransportSettings2.GatewayUsername = sUser;
   //MsRdpClient.TransportSettings2.GatewayPassword = sPassword;


   //Execute the RDP Object
   MsRdpClient.MsRdpClientShell.Launch()

}

Active Reports Dynamic Column Generation for .Net, C#, VB.Net

I have added a new article

Active Reports Dynamic Column Generation for .Net, C#, VB.Net

The article is complete with C# Source Code.

This article also has some sample code on how to BOLD an line of controls in Active Reports.

Have Fun.

Making a Client Customizable ASP.net Gridview

Recently I had a request to change the column header in a gridvew report.

Instead of maintining a buch of custom reports I decided to allow the clients to update their own reports by way of XML

You can read the complete article here and you can see the code example below.

http://www.aboutmeadows.com/articles/making-a-client-customizable-asp.net-gridview.aspx

Click Here to Download Code Sample Now

 

ASP .NET - How to customize web part title bar / WebPart Chrome

Has there ever been anything so hard - but then again so easy?

You would think that this would be easier -

After much research I have come to the conclusion that there is no easy way to just set a property of a WebPart Title area and set the background to use an image.

It looks like to me that Microsoft left out a Property for the title area background image.

You would think that this would be easier - I can almost bet that Microsoft has had numerous request to add it.

I resulted to using a style sheet class

    <style type="text/css">
        .CoolBar {
         background-image :url(images/sweetBar.gif);
        }
    </style>

  <PartTitleStyle CssClass="CoolBar" BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.8em" ForeColor="White" />

Other Links of Interest on Webparts / Web Parts

http://www.phptr.com/articles/article.asp?p=703789&seqNum=2&rl=1

Adding Onclick to an asp.net Wizard Control

Well for anyone who wants to know I wrote up a little article on Adding Onclick to an asp.net Wizard Control Finish Button.

I was able to do this pretty easy with a JavaScript event listener.

It was real easy to do it this way, but I thought it was a pain in the neck because we don't really have access to the server side Finish Button as a property or method that I could find.

It also has an example in C# but it's easy enough to translate to vb.net

Enjoy

Article Here

My First Post

Wow my First Post, I can hardly believe it.

First of all I would like to recommend this Blog system to everyone. It took 5 minutes to upload all of the files and 10 seconds to enable the database. It was that simple!

Check it out at www.subtextproject.com  Also I would like to announce my first article is now online, if you wish to take the time to check it out its called How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

If you have any questions or comments please let me know.
«July»
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678