Results 1 to 12 of 12

Thread: odd problem to a specific computer

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    39

    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.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    39

    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.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  5. #5

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    39

    Re: odd problem to a specific computer

    copied the exe over

  6. #6
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    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
    Chris

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  8. #8

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    39

    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.

  9. #9

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    39

    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

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  11. #11

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    39

    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.

  12. #12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width