Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP app working perfectly in win98, but not NT unless VB is installed!

Status
Not open for further replies.

HotMadras

Programmer
Apr 20, 2001
74
GB
A colleague has written a program which simply transfers a specified file to a specified location via ftp. It uses api calls to handle the ftp transfer and has no dependencies other than the vb runtimes. It works perfectly on any win98 system we've tested it on, but not on NT systems unless (and here's the crux of it) you install VB6, in which case it works perfectly. As soon as you remove VB6 again (because it really shouldn't be necessary, I think we can all agree), it stops working.

I'm tearing my hair out with this one. Does anyone know of a reason for this ludicrous behaviour?
 
Have you tried the package and deployment wizard? Does that throw up anything that you didn't expect re dependant files or how about using the package and deployment wizard on your NT system
 
Neither approach turned up anything new, unfortunately. I thought we had avoided dependency hell by not (apparently) having any. It seems I was wrong. :(
 
There are six files which PDW adds to every package:

File Name - Registration
AsycFilt.dll - None
ComCat.dll - DLLSelfRegister
MSVBVM60.dll - DLLSelfRegister
OleAut32.dll - DLLSelfRegister
OlePro32.dll - DLLSelfRegister
StdOle2.tlb - TLBRegister

I use Setup Factory, not the PDW but I always include W98SE versions of the above files with option to only replace if existing version is same or older. I would check all these files are present on the NT machine.

Paul Bent
Northwind IT Systems
 
The application has to run from a command line, without any forms. It uses some api stuff found on planetsourcecode.com. If I get chance I'll find it and post it here, but that's not what's causing the problem as it's VB itself that makes the vital difference between this program working and not.

Paul, when I get to work I'll try what you suggest. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top