odd problem to a specific computer
I have an .exe created from VB 6.0, it works on four computers but not on one. The program creates a new folder in a specific location with subfolders. It is supposed to create 5 subfolders with each folder being the users' names. On the one computer it only creates that users name.
Should look like this:
MainFolder\
\Bob
\Joe
\Alfred
\Donkeyboy
\Hidalgo
This is what shows up on everybody's but Bob's computer.
His (Bob's) looks like this:
Mainfolder\
\Bob
I logged onto his computer with the admin account and it does not work. Obviously it is something on HIS computer because the other four computers work fine. I updated the .net framework 1.1 on his computer(advised from someone else) but this did nothing.
Any ideas would be appreciated.
Re: odd problem to a specific computer
Can you create the folders manually?
I ask because I'm wondering if there is something preventing the folder creation no matter what you do.
PS: What does the .NET framework have to do with a VB6 program?
Re: odd problem to a specific computer
Yes, i can create the folders manually. I checked the permissions and they seem to be in order. That is why I am stumped. And I don't know what .NET framework has to do with VB. That is just what someone told me.
Re: odd problem to a specific computer
If your writting VB6 code then you dont need the FrameWork as that is specifically for writting .NET code.
Did you create a setup package and install your app on the other computer or did you just copy the exe over?
Re: odd problem to a specific computer
Re: odd problem to a specific computer
Quote:
Originally Posted by RobDog888
If your writting VB6 code then you dont need the FrameWork as that is specifically for writting .NET code.
Did you create a setup package and install your app on the other computer or did you just copy the exe over?
Yes thats true.
What error message are you getting? The problem is that the computer does not have the Visual Basic 6 runtime files. Which is the VB6 version of the '.NET Framework'. You can get the vb runtimes here:
http://www.a-softtech.com/Free/VBRun...B6Runtime.html
Chris
Re: odd problem to a specific computer
Quote:
Originally Posted by wooonelly
copied the exe over
But, you got no errors when you ran the program...it just won't create the folders?
What about other functionality in the program? Does it do everything else it is supposed to do except the folder create?
Re: odd problem to a specific computer
Thanks for the help so far, I am unable to get on the computer until later this morning or this afternoon. I will try the setup package and installing the files. I will let you know what happens. Thanks again for the help.
Re: odd problem to a specific computer
I used a setup package and installed it, I downloaded the run files. Didn't work.
I do get this error:
-2147024894(80070002):
method '~' of object '~' failed
Re: odd problem to a specific computer
Do you have any error trapping in your app? Particularily the Form_Load procedure? How far does your app load/run?
Re: odd problem to a specific computer
The app runs completely. I get the error at the very end after I do everything.
When you run the exe it
1.asks if you want to create a new job folder or search existing job folders, I select create new,
2.select customer, from drop down list
3.Enter job number
That's it. It creates the job folder in a specific location and has subfolders for 5 different people specific to them, ie. their names are the names of the folders.
Re: odd problem to a specific computer