If your sharing a folder on a vista machine from Windows 98 that has a program inside it, then you may get the message that it cannot find files, as you wont have access to the system32 folder on Vista.
My advice is to create a new user on vista and log in with that over the network, but first, give that user account admin rights for these the folder you want, plus the C drive.