Results 1 to 10 of 10

Thread: Am I legally allowed to distribute any .ocx files with my prog?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Am I legally allowed to distribute any .ocx files with my prog?

    Am I legally allowed to distribute any .ocx files with my prog?

    If not, how would my prog work on someone elses comp?

    EDIT: Here is my setup, these are ones i am suspicious about

    this was made in inno script

    ; begin VB system files
    ; (Note: Scroll to the right to see the full lines!)
    Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\Package\Support\stdole2.tlb"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
    Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\Package\Support\msvbvm60.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\Package\Support\oleaut32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\Package\Support\olepro32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\Package\Support\asycfilt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
    Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\Package\Support\comcat.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
    ; end VB system files
    Source: "C:\Documents and Settings\Owner\Desktop\MHX Antivirsu PRO 3.3\MHXAntivirus33PRO.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Owner\Desktop\MHX Antivirsu PRO 3.3\COMCT232.OCX"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Owner\Desktop\MHX Antivirsu PRO 3.3\COMCTL32.OCX"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Owner\Desktop\MHX Antivirsu PRO 3.3\MSCOMCT2.OCX"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Owner\Desktop\MHX Antivirsu PRO 3.3\MSCOMCTL.OCX"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Owner\Desktop\MHX Antivirsu PRO 3.3\MSWINSCK.OCX"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Owner\Desktop\MHX Antivirsu PRO 3.3\RICHTX32.OCX"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Documents and Settings\Owner\Desktop\MHX Antivirsu PRO 3.3\SYSINFO.OCX"; DestDir: "{app}"; Flags: ignoreversion
    Last edited by Justin M; Aug 3rd, 2008 at 09:36 PM.

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

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    The OCX files are fine as MS actually has a redistributable package for them too. They want them to be distributable to support their development community and increase the useage of Visual Studio.

    The dlls look ok too. Usually if you use a third party component you should check but the controls that come with VB6 and SP-6 are freely redistributable.
    http://support.microsoft.com/kb/197298
    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

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    alrighty,

    now I have winhttp.dll but i dont think i can redistribute that.

    If I can't, and my prog uses it.. how can they get my prog to work?

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

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    What is the winhttp.dll one? I dont see it in your list
    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
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    I took it out of my list its from my windows/system32

  6. #6
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    See Is winhttp.dll re-distributable?

    Note that for VS6 (or VB6) the redist.txt document is in: C:\Program Files\Microsoft Visual Studio

    VB6 controls are not freely redistributable. A redist license is granted to licensed developers as part of the general development license for VS6/VB6. Packages like those linked above are for updating or replacing lost or damaged component files when a legal VB6 application is installed, they are not a grant of free use.

    Of course with each tick of the clock I imagine Microsoft cares less and less now.


    I'd worry more about your packager technology. If I read it correctly that script seems to say to dump those components into the application directory. Wrong!

    Check each library's .DEP file and:

    C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\VB6DEP.INI

    These contain information on the proper default installation targets for most standard libraries.

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

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    Well yes of course you need to have a legal copy of VS/VB in order to legitimately redistribute them. I dont think we are talking about some other IDE using them etc.
    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

  8. #8
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    Quote Originally Posted by RobDog888
    Well yes of course you need to have a legal copy of VS/VB in order to legitimately redistribute them. I dont think we are talking about some other IDE using them etc.
    I agree it seems like an idiotic nit to pick. However we got caught with our hand in the cookie jar once because somebody was using the MSComm control from Excel using a registry hack to install a developer license key pirated from VB6.

    There are sites out there still giving this "tip" out but Microsoft put a stop to most of them.

  9. #9

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    Well we don't have to worry about illegitimate copies of VB


    But I don't see how you guys could get in trouble for helping someone who did something they should not have. Its not like you guys knew what he was doing.

  10. #10
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Am I legally allowed to distribute any .ocx files with my prog?

    Oh, I was talking about something going on at work. The "we" above was the company I was working for.

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