Web Design & Application Development

Keyboard Not Working Due to Missing Or Corrupt Drivers (Code 39)

      December 16th, 2010

After trying to install VMWare Player on my Windows Vista PC. All of which failed every time. I ran their uninstall clean exe. Which resets the registry based on the things that tried to be installed. After a reboot, I HAD NO KEYBOARD!

The keyboard would work in the bios section, but as soon as I got to the Windows login page, the keyboard stopped working. Not even in Safe Mode would the keyboard work.

After freaking out for a good 20 minutes and cursing VMWare for messing up my main PC. I was able to login to Windows Vista by using the help menu on the login screen. There is a checkbox for Enable Virtual Keyboard. THANK GOODNESS for that.

After login and seeing the error in the Devise Manager. I tried to uninstall and reinstall the Keyboard drivers but nothing worked. Any keyboard I plugged into the PC, USB or PS/2 did not matter, nothing was working.

After to bit of Googling I found this awesome blog post that save me time, money and fixed the problem.

Keyboard Not Working Due to Missing Or Corrupt Drivers (Code 39) – By Ryan T Adams

Visual Studio 2008: Debugging JavaScript in a UserControl

      December 10th, 2010

In Visual Studio 2008, you can not set a break point within a usercontrol / .ascx. But you can still debug your JavaScript code.

Make sure you uncheck Disable Script Debugging in Internet Explorer. Add the word debugger within your JavaScript code. Run the page and it will hit debugger line and prompt you with either the Built-In Debugger or you can use Visual Studio IDE. Now you can step through your code.

[codesyntax lang="java"]
function ValidateClientSizeComment() {
debugger
var clientSizeComment = document.getElementById(“<%= txtClientSizeComment.ClientID %>”).value.length;
if (clientSizeComment >= 50) {
var myVal = document.getElementById(‘<%= cvClientSizeComment.ClientID %>’);
ValidatorEnable(myVal, false);
}
}
[/codesyntax]

Plugin upgrade Failed in WordPress Using IIS 7 Windows 2008

      August 4th, 2010

I found a good article that explains how to fix this.

Rickey Whitworth’s Blog

I Cannot Sign into Windows Live Messenger

      July 30th, 2010

For some reason on my Windows XP machine. Windows Live Messenger was not letting me log in. I was getting error 80072efd. It was telling me something about not being able to load contact list. Here is what I did to solve the problem.

In Windows XP,

a.     Click Start, click Run, type cmd , and then click OK.

b.     At the command prompt, type ipconfig /flushdns , and then press ENTER. This command flushes all the DNS entries that have been cached.

c.      Try to sign in to Windows Live Messenger.

eBay Seller Tip: This item cannot be accessed error

      July 2nd, 2010

Using the eBay Turbo Lister is an easier way to upload your items to your eBay account. If you hve a lot, like I do, it can save you a ton of time.

However at times it can be a pain. Like for example, lets say you have an item that sold over 90 days ago. You now have the item in stock and a ready to upload it again. But you get this error message from Turbo Lister.

“This item cannot be accessed because the listing has been deleted, is a Half.com listing, or you are not the seller”

I’m not sure how the application is saving the data but its there so just upload the damm thing!

Here is the work around.

  1. First click and open the item and Save As Template
  2. Go to Inventory -> Templates and click on the item
  3. Then select Add to Upload
  4. A pop up box will appear and click Go Upload
  5. Now its in your Waiting To Upload queue
  6. Select the item
  7. Click the arrow next to Upload all and then select Upload Selected
  8. You get another red error message but ignore and click Upload Now

Done!

Make sure you go back and review the item you uploaded to make sure there aren’t any errors in your listing.

Even if there are, at least you didn’t have to retype the whole thing over again.

You can view my store here http://stores.ebay.com/ShoppersHideout

SQL Tip: Display Bogus or Fake Column in SQL

      June 2nd, 2010

So here is the issue i was having.

I have a Union All select statement. I want to display both blogs posts and content posts in the same dataset. The problem is that these are separated into different tables.

When I’m using the dataset how do I know where the row came from? Was it tbl_Content or tbl_Blog? I need to know this if I want to point the user to the right page.

Here is the answer.

[codesyntax lang="sql"]

SELECT TOP 250 *
FROM
(SELECT tbl_Post.POST_ID, tbl_Post.POST_MESSAGE, tbl_Post.DATE_CREATED, tbl_Blog_Post.BLOG_ID AS ID, 'blog' AS coltype
FROM tbl_Post INNER JOIN
tbl_Blog_Post ON tbl_Post.POST_ID = tbl_Blog_Post.POST_ID
UNION ALL
SELECT tbl_Post.POST_ID, tbl_Post.POST_MESSAGE, tbl_Post.DATE_CREATED, tbl_Content_Post.CONTENT_ID AS ID,'content' AS coltype
FROM tbl_Post INNER JOIN
tbl_Content_Post ON tbl_Post.POST_ID = tbl_Content_Post.POST_ID) AS PostView

ORDER BY DATE_CREATED DESC

[/codesyntax]


I created a fake column called ‘coltype’ and set it to display blog or content in the returning Union All statement.

How to Download Images from an Outlook Email that is Not an Attachment

      May 12th, 2010

When a client sends me an email with an image for a project.  It usually comes to me as a file attachment within Outlook. I can easily right click on the attachment, download to my PC and I'm on my way.

On occasion these images are embedded in the email and are not attachments. By right clicking on the image and selected copy does nothing. Here is a simple way to get around the problem.

Open the e-mail message and under the Message tab, select Other Actions -> View in Browser. This would open your mail inside the default web browser as a regular HTML web page and you can right-click to save an embedded picture.

Windows Home Server: Restore deleted files in shared folder

      April 20th, 2010

Say your like me and have deleted some music by accident from your Windows Home Server Music Share. How do you get it back?

You can retrieve it from Shadow Copies.  Right click on the Music share
and select Properties.  You should see a tab that says Previous
Versions.  Select a day/time folder when the song was there and click Open.  It will show you how the network share was at the time it was
created.  Then just copy the songs from there.

I knew I set these things up for a reason.

How to advertise on a specific website using Google Adwords

      April 13th, 2010

Here are the steps to advertise on a specific website using Google Adwords.

  1. Create a Google Adwords account.
  2. Login -> Campaigns -> New Campaign
    1. Campaign  Name  “Campaign {website name}
    2. Google1
    3. Budget: $5.00
    4. Save & Continue
  3. Create ad group is where you create the ad that appears on the website
    1. In the placement section type in the website you want to advertise on or search for it.
    2. Default bid and Managed placements bid $0.10 to start is good
    3. Save

Now your ad is ready to to appear on the website of your choice.

If you have any questions or problems setting this us. Please email us at info@cm3solutions.com. We are always glad to help.

ASP.Net Web Service: The test form is only available for requests from the local machine.

      December 22nd, 2009

You create a very cool ASP.Net Web Service on your local machine. You are ready to show the world, you deploy it on the server. Then you get the following message "The test form is only available for requests from the local machine. " Here is what you need to fix that.

Open the web config file and add the following, you will be able to access the form outside of the localhost:

<configuration>
    <system.web>
    <webServices>
        <protocols>
            <add name="HttpGet"/>
            <add name="HttpPost"/>
        </protocols>
    </webServices>
    </system.web>
</configuration>