In a laptop? Probably not without opening it up. Almost all desktop wifi cards have standard antenna ports though, you just unscrew them and attach a new one like this one.
It's either the wireless PCI card you got was crappy, or wherever your desktop sits gets bad wireless signal for whatever reason. If it's the latter you could get something like this to put the wifi antenna somewhere that gets better signal without having to move your computer.