Results 1 to 11 of 11

Thread: problem with my program

Hybrid View

  1. #1
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: problem with my program

    Win2k/XP have the basic VB6 RunTime files installed as standard, Win9x/ME don't. They won't normally have any additional dll/ocx's. Put these in the Windows\System folder and you should register them, but it should work without doing this.

    I've made apps for WinXP and just put the ocx's in the Windows\System32 folder without registering them and it works perfectly.
    Last edited by Keithuk; Oct 1st, 2005 at 08:47 AM.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,364

    Re: problem with my program

    ok my friend is using windows 2000 and his system32 is in

    C:\WINNT\system32

    he put the mswncock.ocx in there and when he open my program he gets

    Run Time Error'76': Path not Found
    and he is using the D:\ not C:\

  3. #3
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: problem with my program

    Thats an error in your app not the ocx.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,364

    Re: problem with my program

    Quote Originally Posted by Pouncer
    ok my friend is using windows 2000 and his system32 is in

    C:\WINNT\system32

    he put the mswncock.ocx in there and when he open my program he gets

    Run Time Error'76': Path not Found
    and he is using the D:\ not C:\
    but now i told my friend to make a folder called windows in his c drive, and then a folder called system32 and put the ocx on system32, he open my program and it now works...

    but this is very time consuming to make the folders manually for the user if they dnt exists

  5. #5
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: problem with my program

    Quote Originally Posted by Pouncer
    but now i told my friend to make a folder called windows in his c drive, and then a folder called system32 and put the ocx on system32, he open my program and it now works...

    but this is very time consuming to make the folders manually for the user if they dnt exists
    If you use the P&D Wizard, Inno, or other setup program to create a set of installation files, and the have the people install your program, you won't have those problems.

  6. #6
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: problem with my program

    Quote Originally Posted by Pouncer
    but now i told my friend to make a folder called windows in his c drive, and then a folder called system32 and put the ocx on system32, he open my program and it now works...

    but this is very time consuming to make the folders manually for the user if they dnt exists
    this is where installation concepts helps you............through it u can automatically create such folders n register your control.............though u have to try before actully distributing, even that install file!!!
    Show Appreciation. Rate Posts.

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