Results 1 to 22 of 22

Thread: Problem with .ocx files after installation

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Problem with .ocx files after installation

    ok.. ive made a little game in vb..
    and theres a problem with .ocx files
    after i installed it on pc's except mine..
    it sez sumthing like "your button.ocx is out of date"

    please help..

    heres my setup if you like to check...

    clegeo(demo)
    Last edited by rave08; Jul 19th, 2006 at 07:35 AM.

  2. #2
    Addicted Member
    Join Date
    Mar 2006
    Posts
    178

    Re: Problem with .ocx files after installation

    Can you type in a way where I don't want to scratch my eyes out.

    If you downloaded button.ocx from somewhere, try and find a newer version.

  3. #3
    Hyperactive Member ..:RUDI:..'s Avatar
    Join Date
    Aug 2005
    Location
    Yorkshire, England! c0d: Da Vinci
    Posts
    344

    Re: Problem with .ocx files after installation

    yay is this made to take the *mick* ?



    My Personal Home | MageBB Home | Elders Online
    Yes, Noteme is my father.

  4. #4
    Hyperactive Member ..:RUDI:..'s Avatar
    Join Date
    Aug 2005
    Location
    Yorkshire, England! c0d: Da Vinci
    Posts
    344

    Re: Problem with .ocx files after installation

    Oh and Inno Setup 5 as a compiler ?? Nice!



    My Personal Home | MageBB Home | Elders Online
    Yes, Noteme is my father.

  5. #5
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Problem with .ocx files after installation



    ok..
    1) as David said.. type like a normal human. 1337 is 14M3.


    2) Get a better hosting site...

    3) NO ONE will ever install a setup.exe especially from someone we dont know.. actually ANY exe for that matter.
    if you want help with this issue. zip the entire project source code and attach it here.
    do not include any exe's in it. just the source
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    Quote Originally Posted by Static


    ok..
    1) as David said.. type like a normal human. 1337 is 14M3.


    2) Get a better hosting site...

    3) NO ONE will ever install a setup.exe especially from someone we dont know.. actually ANY exe for that matter.
    if you want help with this issue. zip the entire project source code and attach it here.
    do not include any exe's in it. just the source
    but my problem is in the .ocx file i made...
    after i install my program on other computer.. and run it...
    it sez.. "something.ocx is out of date"
    i dunno why.. but it works fine in my computer...

    sorry for the inhuman text..

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    Quote Originally Posted by davidbishton
    Can you type in a way where I don't want to scratch my eyes out.

    If you downloaded button.ocx from somewhere, try and find a newer version.
    sorry for the texts..
    nope.. ive made the button.ocx..
    i think its the way i compile it.. i dunno..
    but it works fine in my pc..

  8. #8
    Hyperactive Member ..:RUDI:..'s Avatar
    Join Date
    Aug 2005
    Location
    Yorkshire, England! c0d: Da Vinci
    Posts
    344

    Re: Problem with .ocx files after installation

    U M3AN U ACTUALY MAED TEH BUTON.OCX!11!!1 LOL FIEL???!!?!!?!! LOL ENIT Y?!!?!!!?!!?!!?? LOL

    I'm sorry...

    Why did you make the button.ocx file? I mean, what's wrong with the normal buttons??



    My Personal Home | MageBB Home | Elders Online
    Yes, Noteme is my father.

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    Quote Originally Posted by ..:RUDI:..
    U M3AN U ACTUALY MAED TEH BUTON.OCX!11!!1 LOL FIEL???!!?!!?!! LOL ENIT Y?!!?!!!?!!?!!?? LOL

    I'm sorry...

    Why did you make the button.ocx file? I mean, what's wrong with the normal buttons??
    uuhhmm.. coz im new in vb.. and i like to practice making my own .ocx's
    ive made one so that i can make the background of the button a picture..
    and it moves... ahaha...!

  10. #10
    Hyperactive Member ..:RUDI:..'s Avatar
    Join Date
    Aug 2005
    Location
    Yorkshire, England! c0d: Da Vinci
    Posts
    344

    Re: Problem with .ocx files after installation

    wow new to VB and you can do that?? Well done!

    If you send us the source, including the button.ocx (Not any EXE files) we will be able to help you more



    My Personal Home | MageBB Home | Elders Online
    Yes, Noteme is my father.

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

    Re: Problem with .ocx files after installation

    Yes, please link to or upload your source code and no executables. No one will run or install anything without knowing what it actually does by reveiwing its code and being able to compile it themselves.
    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

  12. #12

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    there yah go.. my source code..
    .exe free.. tanx!

    http://rapidshare.de/files/26365414/geoLit.zip.html

  13. #13
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with .ocx files after installation

    Put Option Explicit at the top of each form, module and class. You have things missing and undefined. How is this project working anyway. I got errors on loading 2 forms. What installer are you using to packaging this?

    What is b3
    VB Code:
    1. b3.FileName = App.Path & ("\Sounds\vocalSound\error.wav")

    Here is what you use in your project:

    ; ------------------------
    ; References
    ; ------------------------

    ; Visual Basic For Applications - (MSVBVM60.DLL)
    ; Standard OLE Types - (OLEPRO32.DLL)
    ; OLE Automation - (STDOLE2.TLB)
    ; Microsoft DAO 3.51 Object Library - (DAO350.DLL)
    ; Microsoft ActiveX Data Objects 2.0 Library - (msado20.tlb)
    ; Microsoft Data Binding Collection - (MSBIND.DLL)
    ; Microsoft Data Formatting Object Library - (MSSTDFMT.DLL)
    ; Microsoft Data Report Designer v6.0 - (MSDBRPTR.DLL)
    ; Microsoft Data Environment Instance 1.0 - (MSDERUN.DLL)
    ; Microsoft ActiveX Data Objects 2.8 Library - (MSADO15.DLL)


    ; --------------------------
    ; Components
    ; --------------------------

    ; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
    ; Microsoft Common Dialog Control 6.0 (SP6) - (Comdlg32.ocx)
    ; blushButtonMove - (blushButtonMove00.ocx)
    ; Microsoft DataGrid Control 6.0 (SP6) (OLEDB) - (MSDATGRD.OCX)
    ; blushButton00 - (blushButton00.ocx)

  14. #14
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with .ocx files after installation

    You have many problems. Why are both your component ocx's named usercontrol1 ucMenu?

  15. #15

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    Quote Originally Posted by randem
    Put Option Explicit at the top of each form, module and class. You have things missing and undefined. How is this project working anyway. I got errors on loading 2 forms. What installer are you using to packaging this?

    What is b3
    VB Code:
    1. b3.FileName = App.Path & ("\Sounds\vocalSound\error.wav")

    Here is what you use in your project:

    ; ------------------------
    ; References
    ; ------------------------

    ; Visual Basic For Applications - (MSVBVM60.DLL)
    ; Standard OLE Types - (OLEPRO32.DLL)
    ; OLE Automation - (STDOLE2.TLB)
    ; Microsoft DAO 3.51 Object Library - (DAO350.DLL)
    ; Microsoft ActiveX Data Objects 2.0 Library - (msado20.tlb)
    ; Microsoft Data Binding Collection - (MSBIND.DLL)
    ; Microsoft Data Formatting Object Library - (MSSTDFMT.DLL)
    ; Microsoft Data Report Designer v6.0 - (MSDBRPTR.DLL)
    ; Microsoft Data Environment Instance 1.0 - (MSDERUN.DLL)
    ; Microsoft ActiveX Data Objects 2.8 Library - (MSADO15.DLL)


    ; --------------------------
    ; Components
    ; --------------------------

    ; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
    ; Microsoft Common Dialog Control 6.0 (SP6) - (Comdlg32.ocx)
    ; blushButtonMove - (blushButtonMove00.ocx)
    ; Microsoft DataGrid Control 6.0 (SP6) (OLEDB) - (MSDATGRD.OCX)
    ; blushButton00 - (blushButton00.ocx)
    uhmm.. ok... b3 is a multimedia player.. but since im sending you all my source code.. i take away the sounds and a lot of forms.. and im using inno setup 5! sorry.. but ive made that program a long time a go.. tanx anyway!

  16. #16

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    Quote Originally Posted by randem
    You have many problems. Why are both your component ocx's named usercontrol1 ucMenu?
    hhmm.. sorry.. but its my first time creating my own activex component..
    so i really dont know how to change that..

  17. #17

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    heres my error...

    Run-time error '372':

    Failed to load control 'userControl1' from blushButtonMove00.ocx.
    Your version of blushButtonMove00.ocx may be outdated.
    Make sure you are using the version of the control that was provided with your application.

    pls help..!

  18. #18
    Hyperactive Member ..:RUDI:..'s Avatar
    Join Date
    Aug 2005
    Location
    Yorkshire, England! c0d: Da Vinci
    Posts
    344

    Re: Problem with .ocx files after installation

    userControl1 cannot be specified in the OCX, take a look and see that it's present!



    My Personal Home | MageBB Home | Elders Online
    Yes, Noteme is my father.

  19. #19

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    Quote Originally Posted by ..:RUDI:..
    userControl1 cannot be specified in the OCX, take a look and see that it's present!
    well.. it works fine in MY pc..
    but i dont know why it wont work on others..
    hhmm...

  20. #20
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with .ocx files after installation

    You are not compiling in binary Compatibility, that could be one problem.

  21. #21

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Problem with .ocx files after installation

    Quote Originally Posted by randem
    You are not compiling in binary Compatibility, that could be one problem.
    uhhmm.. i dunno what u min..
    how can i do that..?

  22. #22
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with .ocx files after installation

    Project->blushbutton Properties->Component

    Select binary compatibility

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