TomGee.us

Print Spooler Error in Windows 7 under Boot Camp

by Tom Gee on Jan.31, 2010, under Boot Camp

BACKGROUND:

A few months ago I installed Windows 7 on my Macbook Pro (13″ Unibody running Snow Leopard).  Yesterday I decided to try and boot into my Win7 Boot Camp partition via VMWare Fusion.  Doing this installed VMWare tools to Windows 7.

PROBLEM:

Today when I booted directly into my Windows 7 partition, I noticed that I couldn’t print anything anymore.

I checked the Event Viewer and found the following error in the System log:

The Print Spooler service terminated unexpectedly.

In the Application section of the Event Viewer, I found the following:

Faulting application name: spoolsv.exe, version: 6.1.7600.16385, time stamp: 0×4a5bd3d1
Faulting module name: TPVMMon.dll, version: 2.0.51.5, time stamp: 0×48359080
Exception code: 0xc0000005
Fault offset: 0×000000000000846e
Faulting process id: 0×1300
Faulting application start time: 0×01caa2aa2c4394d8
Faulting application path: C:\Windows\System32\spoolsv.exe
Faulting module path: C:\Windows\System32\TPVMMon.dll
Report Id: 7188e318-0e9d-11df-9123-895fd79b6e49

Faulting application name: spoolsv.exe, version: 6.1.7600.16385, time stamp: 0×4a5bd3d1Faulting module name: TPVMMon.dll, version: 2.0.51.5, time stamp: 0×48359080Exception code: 0xc0000005Fault offset: 0×000000000000846eFaulting process id: 0×1300Faulting application start time: 0×01caa2aa2c4394d8Faulting application path: C:\Windows\System32\spoolsv.exeFaulting module path: C:\Windows\System32\TPVMMon.dllReport Id: 7188e318-0e9d-11df-9123-895fd79b6e49

The only thing I could attribute the Print Spooler issue to was VMWare Fusion.

I tried uninstalling the VMWare Tools program listed in the Control Panel > Uninstall Program section, but it would not remove.  No errors were displayed, but the program wouldn’t remove from the Programs list.

SOLUTION:

I deleted the following folder (and all related subkeys) from the Registry (via Start > Run > regedit):

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Print\Monitors\ThinPrint Print Port Monitor for VMWare]

1 Comment :, , , , , , , , , , , , , , , , , more...

Lunch at Bento Ya Masako

by Tom Gee on Jan.13, 2010, under Entree

Though I have lived in Upstate NY most of my life, today was the first time I have ever eaten at Bento Ya Masako.  It would be easy to miss this little gem because the only identification that there is a restaurant is a small folding sign on the sidewalk.  Behind the sign is a green door that leads you to the second floor where the “restaurant” is located.  This, in itself, is unique because all other Corning restaurants are on the street-level.

The restaurant had approximately 6-10 tables and behind the counter was the small one-stove kitchen where every dish was made individually by the owners.

Not knowing what to order, I decided to try the Yakiniku Bento which was comprised of spicy beef stir-fried with cooked cabbage, carrot with hijiki, cucumber salad, and rice.

The price was $8 which included free, help yourself, tea.  The serving size was very generous.

Overall, I was very pleased with my lunch at Bento and will definitely be eating there again!  Om nom nom!

Yakiniku Bento

Yakiniku Bento

Leave a Comment :, , , , , , , , , more...

VB.NET: Disable all controls on a form

by Tom Gee on Jan.06, 2010, under Programming, VB.NET

I use this code to cycle through all controls on a form and disable them.  After each control has been disabled, you can then specify individual controls that you wish to be enabled.  This is a handy way to force users to click specific buttons or enter data in specific fields before the rest of the controls on a form become active (enabled).

Private Sub LockControls()
‘ Disable all the controls on the form
Dim
ctrl As Control

For Each ctrl In Me.Controls
ctrl.Enabled = False
Next

Me.txt_Log.Enabled = True ‘ re-enable the log box
Me.progBar.Enabled = True ‘ re-enable the progress bar
Me.lst_ItemGroups.Enabled = True ‘ re-enable the listbox
End Sub

To enable all controls on the form, use the following function:

Private Sub UnlockControls()
‘ Enable all the controls on the form
Dim ctrl As Control

For Each ctrl In Me.Controls
ctrl.Enabled = True
Next
End Sub

‘ Disable all the controls on the form
Leave a Comment :, , , , , , , more...

VB.NET LEFT and RIGHT functions

by Tom Gee on Jan.06, 2010, under Programming, VB.NET

VBA and VB6 developers are used to the familiar LEFT and RIGHT string manipulation functions.  However, VB.NET no longer has these functions built-in. As a result, when I create a new VB.NET application, I create the following two functions which I can then use to replicate the “old” LEFT and RIGHT functionality.

Public Function Left(ByVal Value As String, ByVal Length As Integer) As String
‘ Rereate a LEFT function for string manipulation
If Value.Length >= Length Then
Return Value.Substring(0, Length)
Else
Return
Value
End If
End Function

Public Function Right(ByVal Value As String, ByVal Length As Integer) As String
‘ Recreate a RIGHT function for string manipulation
If Value.Length >= Length Then
Return Value.Substring(Value.Length – Length, Length)
Else
Return
Value
End If
End Function

Leave a Comment :, , , , , , , , more...

How to speed up or slow down a song in Garageband

by Tom Gee on Jan.03, 2010, under Apple, Garageband

Here goes my first video tutorial…

In this example, I will show you how to speed up or slow down an MP3 track using Apple’s Garageband software.

  1. Create a new “Loops” track
  2. Drag the MP3 file into the track pane
  3. Press Control + Alt (Option) + G
    1. Once you do this, the track color will change from orange to purple.
  4. Click on the track
  5. Click the Track Editor button (scissors icon)
  6. Check the Follow Tempo & Pitch checkbox
  7. Select the Project LCD mode (this is the only mode with a Tempo option)
  8. Change the tempo from 120 (default)
    1. To make the song faster, raise the tempo
    2. To make the song slower, lower the tempo

That’s all there is to it!

2 Comments :, , , , , , more...

PeopleSoft: Finding the Navigation Path

by Tom Gee on Dec.17, 2009, under PeopleSoft

When a process name is known:

SELECT DISTINCT
PRCS.PRCSTYPE,
PRCS.PRCSNAME,
PRCS.DESCR,
PAGE.PNLGRPNAME as Component,
‘Home > ‘ || RTRIM(M.MENUGROUP) || ‘ > ‘ || RTRIM(M.MENULABEL) || ‘ > ‘ || RTRIM(ITEM.BARLABEL) || ‘ > ‘ || ITEM.ITEMLABEL as Location
FROM PSMENUDEFN M,
PSMENUITEM ITEM,
PS_PRCSDEFNPNL PAGE,
PS_PRCSDEFN PRCS
WHERE M.MENUNAME = ITEM.MENUNAME
AND ITEM.PNLGRPNAME = PAGE.PNLGRPNAME
AND PAGE.PRCSTYPE = PRCS.PRCSTYPE
AND PAGE.PRCSNAME = PRCS.PRCSNAME
AND PRCS.PRCSNAME = ‘process-name

When a component name is known:

SELECT DISTINCT PRCS.PRCSTYPE , PRCS.PRCSNAME , PRCS.DESCR ,
PAGE.PNLGRPNAME as Component , ‘Home > ‘ || RTRIM(MENU.MENUGROUP) || ‘ > ‘ ||
RTRIM(MENU.MENULABEL) || ‘ > ‘ || RTRIM(ITEM.BARLABEL) || ‘ > ‘ || ITEM.ITEMLABEL as MenuPath
FROM PSMENUDEFN MENU , PSMENUITEM ITEM , PS_PRCSDEFNPNL PAGE , PS_PRCSDEFN PRCS
WHERE MENU.MENUNAME = ITEM.MENUNAMEAND ITEM.PNLGRPNAME = PAGE.PNLGRPNAME
AND PAGE.PRCSTYPE = PRCS.PRCSTYPE
AND PAGE.PRCSNAME = PRCS.PRCSNAME
AND PAGE.PNLGRPNAME = ‘component-name

When a record name is known:

SELECT DISTINCT PFLD.RECNAME ,
PFLD.PNLNAME as Page , ‘Home > ‘ || RTRIM(MENU.MENUGROUP) || ‘ > ‘ ||
RTRIM(MENU.MENULABEL) || ‘ > ‘ || RTRIM(ITEM.BARLABEL) || ‘ > ‘ || ITEM.ITEMLABEL as MenuPath
FROM PSMENUDEFN MENU , PSMENUITEM ITEM , PSPNLGROUP COMP , PSPNLFIELD PFLD
WHERE MENU.MENUNAME = ITEM.MENUNAME
AND ITEM.PNLGRPNAME = COMP.PNLGRPNAME
AND COMP.PNLNAME = PFLD.PNLNAME
AND PFLD.RECNAME = ‘record-name

When a page name is known:

SELECT DISTINCT COMP.PNLNAME as Page , ‘Home > ‘ ||
RTRIM(MENU.MENUGROUP) || ‘ > ‘ || RTRIM(MENU.MENULABEL) || ‘ > ‘ ||
RTRIM(ITEM.BARLABEL) || ‘ > ‘ || ITEM.ITEMLABEL as MenuPath
FROM PSMENUDEFN MENU , PSMENUITEM ITEM , PSPNLGROUP COMP
WHERE MENU.MENUNAME = ITEM.MENUNAME
AND ITEM.PNLGRPNAME = COMP.PNLGRPNAME
AND COMP.PNLNAME = ‘page-name

Source: http://jmcmahon33.blogspot.com/2007/12/finding-menu-path.html

Leave a Comment :, , more...

Chef Boy-r-Gee’s Chicken Alfredo

by Tom Gee on Dec.11, 2009, under Entree

This is, by far, the easiest Alfredo sauce I have ever made and it was very tasty!  I cooked up some linguine as the pasta base and the entree was delicious!

Sauce Ingredients:

  • 1/3-1/2 cup butter (I use Country Crock instead of butter)
  • 1 8oz package of light cream cheese
  • 2/3 cup milk
  • 1 tsp minced garlic
  • 1/3 cup Parmesan sprinkle-cheese

Chicken Ingredients:

  • 2 tbsp extra virgin olive oil
  • 2 boneless/skinless chicken breasts
  • 2 tsp Italian seasoning (contains the following)
    • Thyme
    • Basil
    • Oregano
    • Marjoram
    • Rosemary
    • Savory
    • Parsley
    • Red pepper
    • Garlic

Sauce:

  1. Melt the butter in a medium sauce pan over medium-low heat.
  2. Once melted, add the package of light cream cheese.
    1. Cutting the cream cheese into smaller chunks will help it mix faster.
  3. Once the butter and cream cheese have been blended together (will look thick and creamy), add 2/3 cup milk to the mixture.
  4. Add 1/3 cup Parmesan (sprinkle) cheese.
  5. Add 1 tsp minced garlic
  6. Stir with whisk until everything is blended and smooth
    1. I also added a dash of Parsley to the sauce to give it a bit  color
  7. Remove from heat to thicken, stir occasionally

Chicken:

  1. Cut the chicken breast into thin (approximately 1/4″) slices.
  2. Add 1 tsp (per chicken breast) extra virgin olive oil to pan and warm the oil to medium heat.
  3. Place slices of chicken breast into the heated/oiled pan and sprinkle 1 tsp (per chicken breast) Italian seasoning mixture over the slices.
  4. Cook both sides of each chicken breast slice for approximately 2 minutes (or until fully cooked).

Place a serving size of linguine (or other pasta) on a plate and spin/twist the pasta to form a nest.  Add chicken on top of the nest of pasta and lightly cover with sauce.

Enjoy!  Om nom nom!

Chicken Alfredo

Chicken Alfredo

1 Comment :, , , , , more...

Zombie Nuts – hahaha

by Tom Gee on Dec.10, 2009, under Comedy, Food

Leave a Comment :, , , , more...

More cat om nom noms!

by Tom Gee on Dec.07, 2009, under Comedy, Food

I don’t know why I find this as funny as I do, but maybe you will too. :)

Leave a Comment :, more...

How To Clean Your Filthy Gadgets

by Tom Gee on Dec.07, 2009, under Gadget

Source: http://gizmodo.com/5419737/how-to-clean-your-filthy-gadgets

HDTVs and Monitors

This is the number one cleaning question I get from friends and family, and it’s one of the simplest to answer. HDTVs and monitors are the worst kind of dirt magnets, begging to be touched—by your boss who wants to show you something on your computer screen, by your greasy little cousin who’s getting restless during his umpteenth viewing of Finding Nemo, by your drunk old buddy from college who somehow still thinks it’s funny to grope actresses onscreen on his way to the bathroom—and sitting in total vulnerability: in the case of your LCD screen, within sneezing range; in the case of your flatscreen TV, in your dusty living room.

The tempting, nearly instinctual response to a oily, dusty, mucousy panel of glass or glasslike material is to reach under the sink, grab that bottle of Windex and the paper towels and spray that stuff down. Do not do this. There are some TVs and displays for which Windex will do the job—CRT televisions, for example, and some glass-paneled screens—and if you’ve been using Windex in the past without incident, don’t worry too much. But also, stop.

Spraying any kind of cleaner onto a screen isn’t a great idea. These panels aren’t weatherproof, so if your sprayed solvent runs into the crack between the panel surface and the display bezel, there will be tragedy. Furthermore, Windex is a glass cleaner: a lot of your screens’ outer layers aren’t glass, or have some kind of delicate coating. Ammonia-based cleaners, for example, can microscopically abrade some plastic surfaces, causing your screen to become slightly foggy over time. And for your cleaning tool, paper towels aren’t terrible, but they’re also somewhat risky—screen coatings can be extremely delicate, and paper towels can sometimes be a little rough. Plus, they’re prone to leaving streaks, no matter what liquid you’re using.

So, what’s the trick? Water. Water and a soft, lint-free (ideally microfiber, which is better at picking up greasy smudges) towel. To clean your panel, dampen your cloth and strain it out as best you can—you don’t want any drippage here—then run it, folded, gently across your screen, repeating until the screen has been thoroughly covered and any sticky residue has been removed. (For larger displays, perform cleaning in sections, so as not to let the water dry or collect and run.) Now do the same with a dry cloth, applying slightly more pressure, to lift away the dirt and moisture. Repeat if there are still grease deposits. That’s it! A few bucks for some soft cloths, a little bit of water, and your screen is as good as new.

And those specialty cleaning kits? They do work, for the most part, but they’re not necessary.

TV and Game Controllers

By the time your TV is in need to a deep cleaning, your remote—or your videogame controller—is probably in even worse shape. The kind of dirt a remote gathers is an order of magnitude more disgusting (and more human) than your panel, so you’re not just cleaning, you’re disinfecting. Interestingly enough, the cleaning method isn’t too far from the one above: A damp cloth, with some water. This time, though, you’ll want to throw a little isopropyl alcohol in the mix—a 40/60 booze and water split works—to help disinfect the buttons, and remove the oily brown buildups you can get between buttons. Again, soft cloth is better than paper towels, this time it tends to be a bit better at reaching between buttons than stiff, thin paper. Use wooden toothpicks for reaching into cracks, but nothing harder.

These are unique in that they’re shared gadgets. And shared gadgets are, almost without fail, fantastic vectors for germs. So what I’m saying is, clean them or die.

Cameras

Body: Cleaning your camera body is like cleaning almost any other gadget—a very slightly damp towel will do the trick. (Though be gentle around openings, since point-and-shoot camera guts lurk awfully close to the surface, and any intruding water can wreak serious havoc.)

Lenses: Lenses are dirt magnets, and if they’re dirty, you simply don’t get good pictures. They’re also delicate and expensive, so you can’t just reach in there with a paper towel and be done with it. Lens cleaning kits are available at every camera store, and include a light cleaning solution and microfiber cloth. These are safe bets, but don’t spend more than $15 bucks on them. Lens pens also work, but they’re a riskier proposition—there’s such a limited cleaning surface on those things, and I always get the sense that after a few uses, the cleaning element has been sort of tainted.

Again, though, stay safe with this one: Buy a microfiber cloth, and simply rub the lens with a circular motion until all visible smudges are gone. Never apply too much pressure—any dust or dirt on the lens can get picked up in your cloth and scratch your lens—and fold/refold your cloth to ensure you’re using a fresh surface at least once during a lens cleaning.

Two small notes on lenses: Don’t forget the clean the rear glass on any DSLR lens. There’s a lot less surface area there, and since it spends most of its time inside the camera or a locking lens cover it probably won’t be as dirty, so this should take much effort. And if you can, treat each of your DSLR lenses to a UV filter. While this is called a filter, it only block light that humans can’t naturally see, meaning that in most photos, the effect will be generally unnoticeable. (More on that here) Point is, you don’t have much to lose by buying one of the dirt-cheap filters, and it will provide a layer of transparent protection from dirt and scratches over your lenses at all times. And since they’re flat and thin, they’re easier to clean than convex lenses.

UPDATE: I’ve gotten a couple of emails from photo pros about this, and I think it bears mentioning: Before rubbing your lenses, it’s good practice to blast them with a little air. Air pumps (like the one mentioned in the following subsection) and canned air will do the job, as will, in a bind, your lungs. The thinking here is that you should remove any potentially abrasive particles from the lens before rubbing it, so as not to drag them around, causing permanent damage. —Thanks, Jody and Ned!

Sensors: Point-and-shoot and bridge camera users don’t have to worry about this, but DSLR users, who provide a chance for dirty to enter their camera bodies every time they change a lens, may need to clean a sensor one day. It’s not as scary as it sounds!

First of all, you’ll never have to actually clean a sensor, since DSLR sensors all have some manner of filter, either IR or UV, built in. But still, the surface is delicate, so you’ll want to be cautious. Most cameras include some kind of sensor-cleaning function in their software; since most sensor taint is comprised of a stray speck of dust or two, a quick, severe vibration will usually do the trick.

If that doesn’t work, and your photos are showing persistent, faded, unmoving spots in every photo, it’s time for phase II: air. For this, I defer to Ken Rockwell:

After 17,000 shots I finally got a speck on my D70. Remember I also change lenses a lot. The Shop Vac wasn’t enough. This time I used an ear syringe (blower bulb) from the drug store which you can get here. I put the D70 on BULB and pounded the bulb with my fist to create a jarring blast of air. That worked.

Rockwell advises to use an ear syringe; I’d say go with a purpose-design lens blower, since they’re still only about $10, and you’ll get better results without running the risk of pulverizing your DSLR’s guts while trying to get muscle enough airflow through a hard rubber earwax remover.

Beyond built-in sensor cleaning and a few blasts of air, there are plenty more methods for cleaning a sensor, but they’re all risky to varying degrees. Unless you’re supremely confident (and careful) it may be best to leave this one to the guys are your local camera shop, assuming you still have one. A ruined sensor, in most cases, is a ruined camera, so tread carefully.

Laptops

Screen grime is the most common cleaning problem with laptops, and with the display cleaning section of this guide, we’ve got that covered. That said, laptops collect filth in a variety of other ways, and they can get real microbial, real fast.

To clean a typical keyboard—that is, a non-chiclet design—you’ve got three steps to try. First, use a damp cloth with the aforementioned 40/60 alcohol/water mixture, turn off the laptop, and run it across the keys. Fold it a few times and use the edge to reach between the keys. You can use this same cloth to clean the rest of your laptop as well, excluding the screen, but including the touchpad. If that doesn’t do the trick, and you can spot some dust or hair in between keys, it’s time for some canned air. You can pick this stuff up at most big box electronics stores or online for $10 or less, and using it is as simple as tilting your laptop sideways, and blowing air in the cracks.

If this doesn’t work, it’s time to start popping off keys. Since you’re disassembling a keyboard that really isn’t meant to be taken apart, there’s a definite inherent risk here, but the results are practically guaranteed to be good. Here’s an extremely thorough guide, if you’re game for it. To give you an idea of what this entails, there’s a point in this tutorial at which all your laptop’s keys are swirling in a cereal bowl full of soapy water. It’s gruesome.

Another problem area for laptops is fans, air intake vents and heatsinks. These all stand in the pathway between outside air and your processor, which needs said air to keep cool. Any blockage can cause your laptop to run hot, your fans to run high, and consequently, your battery to run low. Disassembly instructions will vary from laptop to laptop, and typically will involve removing your entire keyboard. Once you’ve done this, though, removing the dust is a matter of blasting with air, scraping with a clean toothbrush or even just wiping with your finger. It’s not about total cleanliness here, it’s about clearing your computers’ windpipe.

Another helpful trick: Those white, last-gen MacBooks have a disgusting tendency to accumulate a beige (then brown, then black) residue where users’ palm touch the laptop. This discoloration is more of a stain than a buildup, so you can’t fix it with water or alcohol. The fix? Acetone. Seriously, the best way to wipe that crap off is with nail polish remover.

Desktops

We’ve covered how to clean most of the external pieces of a laptop already: any plastic surface gets a moist wipe-down; keyboards get compressed air. That’s it! Your desktop is sparking clean! This feels so good! Now slide of your desktop’s side panel, and weep. If you’ve had your desktop for more than a few months, and particularly if you keep it in a carpeted room, it’s probably an absolute horror show.

The first thing to do is, you guess it, pull out that microfiber cloth. Wipe down every surface that’s finished, which is to say covered in rubber (wires) painted (the inside of the case, and the plastic shell of an internal optical drive, or the decorated exterior of a video card) or inert (the blades of a fan, or the exterior of your heatsink). You can slightly dampen the cloth to help pick up dust from the corners of the case, but your probably don’t need to, and it’s best to keep this a dry operation, beginning to end. Next, whop out that can-o-air, and have at it. Pay special attention to dust buildup areas, like the heatsinks on your processor and video card, and the fan inside your power supply. This will likely cause some dust to resettle elsewhere, so you may need to repeat your wipedown/blow process once more. Again—cleaning the inside of your tower is less about maintaining a spotless appearance than it is making sure dirt, dust and hair buildup won’t negatively affect your computer’s performance, so don’t get too anal about it, cosmetically speaking.

[image via]

Cellphones and Media Players

Cellphones, iPods and other media players are designed to be pocketed, so you can be a little rough on them during the cleaning process. A very slightly damp cloth or paper towel will remove whatever fingerprint or residue your shirt or jeans won’t.

As much as these gadgets are intended to live in pockets, they have an irritatingly high number of places for dust to hide itself. Cellphones have keypads, or, increasingly, sets up buttons at the base of a touchscreen or on the sideof the handset, all of which give dirt a place to accumulate. The grilles over cellphones’ mics and speakers is another refuge for sludge, and they’re totally immune to simple wipedowns. For this, you’ve got to go one step further. Luckily, you’ve probably got all the supplies you need in your house already.

Wooden toothpicks and old toothbrushes help reach into cracks and crevices, like those around buttons or running around the perimeter of some display panels. (Samsung and HTC are particularly guilty of leaving spaces in places like that.)

Sometimes, as in the case of the tiny little mic/speaker grilles on some phones, you don’t want to push dirt in, but rather pull it out. For those situations, lay a strip of scotch tape over the afflicted area, run your finger over it a few times, and pull it off. If that doesn’t work, upgrade to duct tape—though you’ll want to be a bit more gentle with that, since applying too much pressure can leave adhesive on your device, which is a pain to wipe off.

1 Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...