Results 1 to 8 of 8

Thread: Distribution problems

  1. #1

    Thread Starter
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692

    Distribution problems

    I'm trying to get a program i made to my girlfriend, and she keeps getting access violations on the following files:

    mscomctl.ocx
    msvcrt.dll
    scrrun.dll

    She's also having problems registering the following files:

    msado25.tlb
    msadox.dll
    msiro.dll

    Now I was thinking it could be a cross-platform problem. I'm running Windows XP, she's running Windows ME. Could this be the problem?

  2. #2
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236
    It shouldn't be a problem if you're using P & D or Inno Script. The installation should look for the files its trying to install and check to see which files are newer.
    Last edited by Keithuk; Dec 5th, 2004 at 09:27 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.

  3. #3

    Thread Starter
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692
    Why would she be getting access violations?

    And now that I think of these registration problems, I happen to know that there's a command in Windows (regsvr if I'm not mistaken) that can help her manually register these files. I just can't remember offhand how it's used.

  4. #4
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Start > Run and:

    regsvr32 "My Computer/Blah Blah/TheDLL.dll"

    to unregister

    regsvr32 /u "My Computer/Blah Blah/TheDLL.dll"

    I have a program that will do this programamatically if you like

  5. #5
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236
    Here is a reg file that will allow you to register any dll or ocx on your system. Just run the reg file and right-click on any dll/ocx and select register or unregister. Not sure if it works, I haven't tried it, I use ActiveX Manager.

    The other way to register any dll/ocx is to make a short-cut for regsvr32.exe and place it in your SendTo folder. Then just right-click on any dll/ocx and SendTo the name of the short-cut.

    The file was downloaded of here.
    Attached Files Attached Files
    Last edited by Keithuk; Dec 5th, 2004 at 09:28 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.

  6. #6

    Thread Starter
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692
    Originally posted by Keithuk
    Here is a reg file that will allow you to register any dll or ocx on your system. Just run the reg file and right-click on any dll/ocx and select register or unregister. Not sure if it works, I haven't tried it, I use ActiveX Manager.

    The other way to register any dll/ocx is to make a short-cut for regsvr32.exe and place it in your SendTo folder. Then just right-click on any dll/ocx and SendTo the name of the short-cut.

    The file was downloaded of here.
    Thanks. I'll give this to my gf and see if she can't register the files that way.

  7. #7

  8. #8

    Thread Starter
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692
    Originally posted by MartinLiss
    You really should first try to create an installation package.
    This is how she's getting access violations. I made the install package with the P&D wizard.

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