|
-
Feb 14th, 2006, 10:08 AM
#1
Thread Starter
Member
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.
-
Feb 14th, 2006, 10:17 AM
#2
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?
-
Feb 14th, 2006, 10:27 AM
#3
Thread Starter
Member
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.
-
Feb 14th, 2006, 10:31 AM
#4
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?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 14th, 2006, 10:36 AM
#5
Thread Starter
Member
Re: odd problem to a specific computer
-
Feb 14th, 2006, 10:43 AM
#6
Re: odd problem to a specific computer
 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
-
Feb 14th, 2006, 10:44 AM
#7
Re: odd problem to a specific computer
 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?
-
Feb 14th, 2006, 11:04 AM
#8
Thread Starter
Member
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.
-
Feb 14th, 2006, 12:55 PM
#9
Thread Starter
Member
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
-
Feb 14th, 2006, 01:00 PM
#10
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?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 14th, 2006, 01:31 PM
#11
Thread Starter
Member
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.
Last edited by wooonelly; Feb 14th, 2006 at 01:38 PM.
-
Feb 14th, 2006, 01:55 PM
#12
Re: odd problem to a specific computer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|